react-kd-grid 2.2.2 → 2.2.4
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/GridHeader.d.ts +5 -1
- package/dist/components/GridRows.d.ts +4 -1
- package/dist/components/PaginationControls.d.ts +4 -1
- package/dist/components/SearchToolbar.d.ts +4 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/dateUtils.d.ts +16 -0
- package/package.json +1 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { GridColumn, SortConfig, ActiveFilters, ColumnFilterValue, GridRow } from "../types";
|
|
2
3
|
interface GridHeaderProps {
|
|
3
4
|
pinnedColumns: GridColumn[];
|
|
@@ -29,5 +30,8 @@ interface GridHeaderProps {
|
|
|
29
30
|
onColumnOrderChange: (order: string[]) => void;
|
|
30
31
|
paginationMode?: "client" | "server" | null;
|
|
31
32
|
}
|
|
32
|
-
export declare const GridHeader:
|
|
33
|
+
export declare const GridHeader: React.MemoExoticComponent<{
|
|
34
|
+
({ pinnedColumns, unpinnedColumns, hvPadLeft, hvPadRight, headerHeight, sortConfig, columnFilters, selectable, selectedRows, totalRows, data, onSort, onColumnFilter, onSelectAll, onColumnResize, pinnedKeySet, onColumnPin, groupable, groupedByColumn, onGroupBy, groupedByColumns, onGroupToggle, onAutosizeColumn, onAutosizeAllColumns, onResetColumns, columnOrder, onColumnOrderChange, paginationMode, }: GridHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
displayName: string;
|
|
36
|
+
}>;
|
|
33
37
|
export {};
|
|
@@ -45,5 +45,8 @@ interface GridRowsProps {
|
|
|
45
45
|
}) => void;
|
|
46
46
|
getRowId?: (row: GridRow) => string | number;
|
|
47
47
|
}
|
|
48
|
-
export declare const GridRows: import("react").MemoExoticComponent<
|
|
48
|
+
export declare const GridRows: import("react").MemoExoticComponent<{
|
|
49
|
+
({ data, columns, selectedRows, virtualized, virtualizedRange, rowHeight, selectable, isRowSelectable, onRowSelect, pinnedColumns, hvPadLeft, hvPadRight, rowStyle, globalFilter, onContextMenu, onRowDoubleClick, onRowClick, onCellClick, isCellFocused, isCellSelected, onCellContextMenu, onCellMouseDown, onCellMouseEnter, getRowId, }: GridRowsProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
displayName: string;
|
|
51
|
+
}>;
|
|
49
52
|
export {};
|
|
@@ -11,5 +11,8 @@ interface PaginationControlsProps {
|
|
|
11
11
|
onPageSizeChange: (pageSize: number) => void;
|
|
12
12
|
showNoDataMessage?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const PaginationControls:
|
|
14
|
+
export declare const PaginationControls: import("react").MemoExoticComponent<{
|
|
15
|
+
({ paginationConfig, currentPage, isServerLoading, selectedRowsCount, totalDataLength, filteredDataLength, paginationMode, onPageChange, onPageSizeChange, }: PaginationControlsProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
}>;
|
|
15
18
|
export {};
|
|
@@ -75,5 +75,8 @@ interface SearchToolbarProps {
|
|
|
75
75
|
customLeftContent?: ReactNode;
|
|
76
76
|
customRightContent?: ReactNode;
|
|
77
77
|
}
|
|
78
|
-
export declare const SearchToolbar:
|
|
78
|
+
export declare const SearchToolbar: import("react").MemoExoticComponent<{
|
|
79
|
+
({ globalFilter, filteredDataLength, selectedRowsCount, selectedRows, showExport, showColumnToggle, showBulkActions, columns, columnVisibility, columnFilters, bulkActions, exportOptions, onGlobalFilterChange, onClearFilters, onColumnVisibilityChange, onColumnFilter, onResetColumns, columnOrder, onColumnOrderChange, pinnedColumns, onScrollToColumn, density, onDensityChange, showDensityControl, customLeftContent, customRightContent, }: SearchToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
displayName: string;
|
|
81
|
+
}>;
|
|
79
82
|
export {};
|