@addsign/moje-agenda-shared-lib 1.0.2 → 1.0.3

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.
@@ -22097,7 +22097,10 @@ function DataTableServer({
22097
22097
  clearable: true,
22098
22098
  className: " px-0",
22099
22099
  placeholder: "Filtr",
22100
- rounded: true
22100
+ rounded: true,
22101
+ disabled: Object.keys(
22102
+ filters || {}
22103
+ ).includes(String(filterParam))
22101
22104
  },
22102
22105
  JSON.stringify(mergedFilters)
22103
22106
  ) : filterType === "dateRange" ? /* @__PURE__ */ jsx(
@@ -22118,7 +22121,10 @@ function DataTableServer({
22118
22121
  clearable: true,
22119
22122
  className: " px-0 py-0 ",
22120
22123
  placeholder: "Filtr",
22121
- rounded: true
22124
+ rounded: true,
22125
+ disabled: Object.keys(
22126
+ filters || {}
22127
+ ).includes(String(filterParam))
22122
22128
  },
22123
22129
  JSON.stringify(mergedFilters)
22124
22130
  ) : /* @__PURE__ */ jsx(
@@ -22131,7 +22137,9 @@ function DataTableServer({
22131
22137
  ),
22132
22138
  type: filterType,
22133
22139
  value: (mergedFilters == null ? void 0 : mergedFilters[String(filterParam)]) || "",
22134
- disabled: !!(filters == null ? void 0 : filters[String(filterParam)]),
22140
+ disabled: Object.keys(
22141
+ filters || {}
22142
+ ).includes(String(filterParam)),
22135
22143
  clearable: true,
22136
22144
  className: " min-w-[100px] px-0 ",
22137
22145
  rounded: true,