@addsign/moje-agenda-shared-lib 2.0.5 → 2.0.7
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/components/datatable/DataTableServer.js +5 -3
- package/dist/components/datatable/DataTableServer.js.map +1 -1
- package/dist/components/datatable/types.d.ts +1 -0
- package/dist/components/ui/Combobox.js +3 -2
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.js.map +1 -1
- package/lib/components/datatable/DataTableServer.tsx +5 -1
- package/lib/components/datatable/types.ts +1 -0
- package/lib/components/ui/Combobox.tsx +6 -0
- package/lib/types.ts +8 -0
- package/package.json +1 -1
|
@@ -22032,9 +22032,11 @@ function DataTableServer({
|
|
|
22032
22032
|
dataPageable.content.map((item) => {
|
|
22033
22033
|
const row = {};
|
|
22034
22034
|
columns.forEach((column) => {
|
|
22035
|
-
var _a2;
|
|
22036
|
-
if (column.
|
|
22037
|
-
row[column.header] = (_a2 = column.
|
|
22035
|
+
var _a2, _b2;
|
|
22036
|
+
if (column.renderXls) {
|
|
22037
|
+
row[column.header] = (_a2 = column.renderXls(item)) == null ? void 0 : _a2.toString();
|
|
22038
|
+
} else if (column.render) {
|
|
22039
|
+
row[column.header] = (_b2 = column.render(item)) == null ? void 0 : _b2.toString();
|
|
22038
22040
|
}
|
|
22039
22041
|
});
|
|
22040
22042
|
return row;
|