@smart-factor/gem-ui-components 0.0.23 → 0.0.24
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
2
|
|
|
3
|
-
type DateColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, Date>, 'type' | 'renderCell'>;
|
|
4
|
-
type DateColumn<T extends GridValidRowModel> = GridColDef<T, Date>;
|
|
3
|
+
type DateColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, Date | undefined>, 'type' | 'renderCell'>;
|
|
4
|
+
type DateColumn<T extends GridValidRowModel> = GridColDef<T, Date | undefined>;
|
|
5
5
|
export declare function getDateColumn<T extends GridValidRowModel>(params: DateColumnParams<T>): DateColumn<T>;
|
|
6
6
|
export {};
|
package/dist/main.js
CHANGED
|
@@ -38918,7 +38918,7 @@ function SI(e) {
|
|
|
38918
38918
|
return {
|
|
38919
38919
|
type: "number",
|
|
38920
38920
|
filterOperators: LR(),
|
|
38921
|
-
renderCell: ({ value: t }) => eS(t)
|
|
38921
|
+
renderCell: ({ value: t }) => eS(t) ? t : "-",
|
|
38922
38922
|
...e
|
|
38923
38923
|
};
|
|
38924
38924
|
}
|