@addsign/moje-agenda-shared-lib 2.0.71 → 2.0.72
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
CHANGED
|
@@ -1561,6 +1561,10 @@ video {
|
|
|
1561
1561
|
.border-t-transparent {
|
|
1562
1562
|
border-top-color: transparent;
|
|
1563
1563
|
}
|
|
1564
|
+
.\!bg-\[\#f3f3f3\] {
|
|
1565
|
+
--tw-bg-opacity: 1 !important;
|
|
1566
|
+
background-color: rgb(243 243 243 / var(--tw-bg-opacity)) !important;
|
|
1567
|
+
}
|
|
1564
1568
|
.\!bg-danger {
|
|
1565
1569
|
background-color: var(--color-danger) !important;
|
|
1566
1570
|
}
|
|
@@ -2158,6 +2162,10 @@ video {
|
|
|
2158
2162
|
.tracking-widest {
|
|
2159
2163
|
letter-spacing: 0.1em;
|
|
2160
2164
|
}
|
|
2165
|
+
.\!text-black {
|
|
2166
|
+
--tw-text-opacity: 1 !important;
|
|
2167
|
+
color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
|
|
2168
|
+
}
|
|
2161
2169
|
.text-accent-foreground {
|
|
2162
2170
|
color: var(--accent-foreground);
|
|
2163
2171
|
}
|
|
@@ -2445,6 +2453,11 @@ video {
|
|
|
2445
2453
|
.opacity-90 {
|
|
2446
2454
|
opacity: 0.9;
|
|
2447
2455
|
}
|
|
2456
|
+
.\!shadow-\[inset_0_2px_0_0_\#525252\] {
|
|
2457
|
+
--tw-shadow: inset 0 2px 0 0 #525252 !important;
|
|
2458
|
+
--tw-shadow-colored: inset 0 2px 0 0 var(--tw-shadow-color) !important;
|
|
2459
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
|
|
2460
|
+
}
|
|
2448
2461
|
.shadow {
|
|
2449
2462
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
2450
2463
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -22378,11 +22378,30 @@ function DataTableServer({
|
|
|
22378
22378
|
setMinWidth,
|
|
22379
22379
|
children: ({ ref }) => {
|
|
22380
22380
|
var _a2, _b2, _c;
|
|
22381
|
+
const hasActiveFilter = (() => {
|
|
22382
|
+
if (!filterParam)
|
|
22383
|
+
return false;
|
|
22384
|
+
const filterValue = mergedFilters == null ? void 0 : mergedFilters[String(filterParam)];
|
|
22385
|
+
const filterValue2 = filterParam2 ? mergedFilters == null ? void 0 : mergedFilters[String(filterParam2)] : null;
|
|
22386
|
+
if (filterType === "select") {
|
|
22387
|
+
return filterValue && filterValue !== "__clear__" && filterValue !== "";
|
|
22388
|
+
}
|
|
22389
|
+
if (filterType === "multi-select") {
|
|
22390
|
+
return Array.isArray(filterValue) && filterValue.length > 0;
|
|
22391
|
+
}
|
|
22392
|
+
if (filterType === "dateRange") {
|
|
22393
|
+
return filterValue && filterValue !== "" || filterValue2 && filterValue2 !== "";
|
|
22394
|
+
}
|
|
22395
|
+
if (filterType === "date" || filterType === "text") {
|
|
22396
|
+
return filterValue && filterValue !== "";
|
|
22397
|
+
}
|
|
22398
|
+
return false;
|
|
22399
|
+
})();
|
|
22381
22400
|
return /* @__PURE__ */ jsxs(
|
|
22382
22401
|
"th",
|
|
22383
22402
|
{
|
|
22384
22403
|
className: `tableHeader relative font-medium text-xs !leading-9 text-left px-3 text-gray-600
|
|
22385
|
-
bg-gray-50 border-t border-b border-gray-200 content-start ${!title && !subtitle ? "border-t-0" : ""} ${sortParam ? " cursor-pointer " : ""}`,
|
|
22404
|
+
bg-gray-50 border-t border-b border-gray-200 content-start ${!title && !subtitle ? "border-t-0" : ""} ${sortParam ? " cursor-pointer " : ""} ${hasActiveFilter ? "!bg-[#f3f3f3] !shadow-[inset_0_2px_0_0_#525252] !text-black" : ""}`,
|
|
22386
22405
|
onClick: () => sortParam ? requestSort(sortParam) : void 0,
|
|
22387
22406
|
"data-cy": "datatable-header-" + id + "-" + String(key),
|
|
22388
22407
|
children: [
|
|
@@ -22527,7 +22546,7 @@ function DataTableServer({
|
|
|
22527
22546
|
filters || {}
|
|
22528
22547
|
).includes(String(filterParam)),
|
|
22529
22548
|
clearable: true,
|
|
22530
|
-
className: "min-w-[100px] px-2 font-normal placeholder-muted-foreground\
|
|
22549
|
+
className: "min-w-[100px] px-2 font-normal placeholder-muted-foreground\n",
|
|
22531
22550
|
placeholder: "Zadejte filtr",
|
|
22532
22551
|
debounceTimeout: 1e3
|
|
22533
22552
|
}
|