mig-schema-table 5.0.12 → 5.0.14

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.
@@ -68,6 +68,11 @@ export declare interface IRenderData {
68
68
  [key: string]: string;
69
69
  }
70
70
 
71
+ export declare interface ISchemaTable {
72
+ getFilteredSortedData: () => IRenderData[] | undefined;
73
+ scrollToIndex: (index: number) => void;
74
+ }
75
+
71
76
  export declare interface ISchemaTableProps<T> {
72
77
  Heading?: default_2.ComponentType<VariableSizeListProps & {
73
78
  setFilterSortColumn?: (sortColumn: string, sortAsc: boolean) => void;
@@ -94,7 +99,7 @@ export declare interface ISchemaTableProps<T> {
94
99
  getRowClassName?: (rowData: T, dataIndex: number, filteredSortedData: IRenderData[]) => string;
95
100
  getRowSelected?: (rowData: T, dataIndex: number) => boolean;
96
101
  getSearchQueryFilterResult?: (rowData: T, searchQuery: string) => boolean;
97
- infiniteLoaderRef?: default_2.LegacyRef<default_3>;
102
+ infiniteLoaderRef?: default_2.RefObject<default_3>;
98
103
  isColumnFilterable?: boolean;
99
104
  isExportable?: boolean;
100
105
  isResizable?: boolean;
@@ -147,7 +152,9 @@ export declare const RESIZER_WIDTH = 3;
147
152
 
148
153
  export declare const SchemaTable: typeof SchemaTable_2;
149
154
 
150
- declare const SchemaTable_2: <T>({ CustomElement, CustomSearchInput, Heading, autoRender, checkedIndexes, config, customElementProps, data, defaultColumnFilters, defaultSortAsc, defaultSortColumn, disabledCheckedIndexes, displayTimezone, enableAutoFocus, enableRowCounter, getRowClassName, getRowSelected, getSearchQueryFilterResult, infiniteLoaderRef, isColumnFilterable, isExportable, isResizable, isSearchable, isSortable, itemCount, loadMoreItems, maxHeight, onRowClick, onRowDoubleClick, onSearchEnter, onTableDataStateChange, rowHeight, schema, searchPlaceholder, setCheckedIndexes, settingsStorageKey, style, translate, useFilterStateHash, variableSizeGridRef, width, }: ISchemaTableProps<T>) => JSX.Element;
155
+ declare const SchemaTable_2: <T>(props: ISchemaTableProps<T> & {
156
+ ref?: default_2.Ref<ISchemaTable>;
157
+ }) => default_2.ReactElement;
151
158
 
152
159
  export declare const Th: typeof Th_2;
153
160