@dooherceg/material-react-table 4.1.5 → 4.1.8

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/README.md CHANGED
@@ -263,10 +263,73 @@ Or let `MaterialReactServerTable` own the fetch-on-mount config loading entirely
263
263
  columns,
264
264
  initialState: { pagination: { pageIndex: 0, pageSize: 25 } },
265
265
  })}
266
+ loadData={async ({ pagination, sorting, filters }) =>
267
+ api.loadPeople({
268
+ offset: pagination.pageIndex * pagination.pageSize,
269
+ limit: pagination.pageSize,
270
+ sorting,
271
+ filters,
272
+ }) // returns { data: Person[], rowCount: number, hasNextPage?: boolean }
273
+ }
274
+ muiTableContainerProps={{ sx: { maxHeight: '70vh' } }}
266
275
  saveState={(state) => api.saveTableState(state)}
267
276
  />
268
277
  ```
269
278
 
279
+ ### Server pagination modes
280
+
281
+ `MaterialReactServerTable` and `MaterialReactServerTableInstance` default to
282
+ classic pagination (`paginationMode="pages"`). To enable infinite scrolling,
283
+ pass `paginationMode="infinite"`. Give the table a bounded height (for example,
284
+ `muiTableContainerProps={{ sx: { maxHeight: '70vh' } }}`) so its container can
285
+ scroll. Row virtualization is enabled by default in this mode.
286
+
287
+ Infinite scrolling automatically chooses the **smallest page-size option that
288
+ covers one visible view**. The available row area is the container height
289
+ minus the table header/footer. Row height is measured from rendered data rows. Before data is available,
290
+ density (37/53/69 px) or `rowVirtualizerOptions.estimateSize` supplies an initial
291
+ estimate; real measurements correct it afterward. For 28 visible rows and options
292
+ `[10, 25, 50, 100]`, every request fetches 50 rows.
293
+
294
+ There is no batch-size label or manual selector in infinite mode. Options come from
295
+ `config.rowsPerPageOptions` (or `muiPaginationProps.rowsPerPageOptions`). If
296
+ all options are smaller than the view, the largest is used and subsequent
297
+ requests fill any remaining space. Unmeasurable containers temporarily use
298
+ the configured page size.
299
+
300
+ Both virtualized and ordinary tables use `onScroll` and a single container
301
+ `ResizeObserver` for loading. Density/viewport changes that select a different
302
+ size restart loading at page zero. All requests use the same active size and
303
+ the backend continues to use `pageIndex * pageSize`, without an extra offset.
304
+ In `pages` mode the existing manual rows-per-page selector remains available.
305
+ Scrolling within 200 px of the bottom requests the next page. Pages are appended by stable row `id`, with duplicate
306
+ IDs updated in place. The server must provide either an accurate `rowCount` or
307
+ `hasNextPage` (`rowCount: 0` is allowed when the total is unknown). Loading stops
308
+ on the last page, an empty response, or a page that adds no new IDs. Short
309
+ viewports are filled automatically. Concurrent page requests are prevented.
310
+
311
+ Changing filters, sorting, page size, newly visible columns, or calling
312
+ `refetch()` clears loaded pages and restarts at the top. Older responses are
313
+ ignored. Failed requests keep already loaded rows and show a retry action;
314
+ retry requests the same page. Newly loaded rows preserve selection by ID.
315
+ CRUD inserts retain all loaded rows rather than trimming to one page.
316
+
317
+ Infinite scrolling is optional:
318
+
319
+ ```tsx
320
+ <MaterialReactServerTable<Person>
321
+ paginationMode="infinite"
322
+ loadConfig={loadConfig}
323
+ loadData={loadData}
324
+ saveState={saveState}
325
+ />
326
+ ```
327
+
328
+ Omit `paginationMode` (or pass `"pages"`) to keep page navigation and the
329
+ rows-per-page selector. Plain `MaterialReactTable` and `useServerTableState`
330
+ retain their existing pagination behavior. In infinite mode the `pagination` passed to `loadData` is the backend
331
+ request cursor; the table displays all loaded rows together, not one UI page.
332
+
270
333
  ## Styling and Theming
271
334
 
272
335
  - `mrtTheme` accepts either a static `Partial<MRT_Theme>` or a function of the ambient MUI `Theme`, for MRT-specific colors (e.g. pinned/selected row backgrounds).
package/dist/index.d.ts CHANGED
@@ -460,6 +460,7 @@ interface MRT_Localization {
460
460
  rowCount: string;
461
461
  search: string;
462
462
  select: string;
463
+ selection: string;
463
464
  selectAllOnAllPages: string;
464
465
  selectAllOnCurrentPage: string;
465
466
  selectedCountOfRowCountRowsSelected: string;
@@ -568,6 +569,8 @@ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<MRT_TableFeatures
568
569
  options: MRT_StatefulTableOptions<TData>;
569
570
  refs: {
570
571
  actionCellRef: RefObject<HTMLTableCellElement | null>;
572
+ autoSizeColumnIdsRef: RefObject<Set<string>>;
573
+ autoSizedColumnWidthsRef: RefObject<Record<string, number>>;
571
574
  bottomToolbarRef: RefObject<HTMLDivElement | null>;
572
575
  editInputRefs: RefObject<Record<string, HTMLInputElement> | null>;
573
576
  allSelectableRowIdsRef: RefObject<string[]>;
@@ -705,7 +708,11 @@ interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends
705
708
  staticRowIndex?: number;
706
709
  }) => ReactNode;
707
710
  /**
708
- * If `layoutMode` is `'grid'` or `'grid-no-grow'`, you can specify the flex grow value for individual columns to still grow and take up remaining space, or set to `false`/0 to not grow.
711
+ * Allows columns without an explicit size/width or user sizing to fill
712
+ * available space in grid layouts. Defaults to enabled for these columns;
713
+ * false/0 disables growth, true/default uses an equal growth weight of 1, and
714
+ * a positive number supplies a custom weight. Explicit sizes, user resizing,
715
+ * and pinned columns always take precedence over growth.
709
716
  */
710
717
  grow?: boolean | number;
711
718
  /**
@@ -871,7 +878,7 @@ type MRT_TreeRowReorderEvent<TData extends MRT_RowData> = {
871
878
  table: MRT_TableInstance<TData>;
872
879
  targetRow: MRT_Row<TData> | null;
873
880
  };
874
- type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-pin' | '__check__' | 'mrt-row-spacer';
881
+ type MRT_DisplayColumnIds = 'actions' | 'mrt-row-actions' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-pin' | '__check__' | 'mrt-row-spacer';
875
882
  type MRT_GetRowId<TData extends MRT_RowData> = (originalRow: TData, index: number, parentRow?: MRT_Row<TData>) => string;
876
883
  /**
877
884
  * `columns` and `data` props are the only required props, but there are over 170 other optional props.
@@ -1542,13 +1549,15 @@ declare module '@tanstack/react-table' {
1542
1549
 
1543
1550
  declare const getColumnId: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => string;
1544
1551
  declare const getAllLeafColumnDefs: <TData extends MRT_RowData>(columns: MRT_ColumnDef<TData>[]) => MRT_ColumnDef<TData>[];
1552
+ declare const getAutoSizeCandidateColumnIds: <TData extends MRT_RowData>(columnDefs: MRT_ColumnDef<TData>[]) => Set<string>;
1545
1553
  declare const prepareColumns: <TData extends MRT_RowData>({ columnDefs, tableOptions, }: {
1546
1554
  columnDefs: MRT_ColumnDef<TData>[];
1547
1555
  tableOptions: MRT_DefinedTableOptions<TData>;
1548
1556
  }) => MRT_DefinedColumnDef<TData>[];
1549
1557
  declare const reorderColumn: <TData extends MRT_RowData>(draggedColumn: MRT_Column<TData>, targetColumn: MRT_Column<TData>, columnOrder: MRT_ColumnOrderState) => MRT_ColumnOrderState;
1550
1558
 
1551
- declare function defaultDisplayColumnProps<TData extends MRT_RowData>({ header, id, size, tableOptions, }: {
1559
+ declare function defaultDisplayColumnProps<TData extends MRT_RowData>({ columnSpecificDefaults, header, id, size, tableOptions, }: {
1560
+ columnSpecificDefaults?: Partial<MRT_DisplayColumnDef<TData>>;
1552
1561
  header?: keyof MRT_Localization;
1553
1562
  id: MRT_DisplayColumnIds;
1554
1563
  size: number;
@@ -1557,33 +1566,49 @@ declare function defaultDisplayColumnProps<TData extends MRT_RowData>({ header,
1557
1566
  declare const showRowPinningColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1558
1567
  declare const showRowExpandColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1559
1568
  declare const showRowActionsColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1560
- declare const showRowSelectionColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1561
1569
  declare const showRowNumbersColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1562
1570
  declare const showRowSpacerColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1563
1571
  declare const getLeadingDisplayColumnIds: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => MRT_DisplayColumnIds[];
1564
1572
  declare const getTrailingDisplayColumnIds: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => MRT_DisplayColumnIds[];
1565
1573
  /** The internal ID used by TanStack Table for the row-selection checkbox column */
1566
1574
  declare const CHECKBOX_DISPLAY_COLUMN_ID = "__check__";
1575
+ declare const getColumnMenuLabel: <TData extends MRT_RowData>(column: MRT_Column<TData>, localization: Pick<MRT_Localization, "selection">) => string;
1576
+ declare const ACTIONS_DISPLAY_COLUMN_ID = "actions";
1577
+ declare const getRowActionsCell: <TData extends MRT_RowData>() => Pick<MRT_ColumnDef<TData>, "Cell">;
1578
+ /** Render row actions in the supplied column, preserving its layout and metadata. */
1579
+ declare const decorateRowActionsColumn: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>, tableOptions: MRT_DefinedTableOptions<TData>) => MRT_ColumnDef<TData>;
1580
+ declare const columnsIncludeRowActions: <TData extends MRT_RowData>(columnDefs: MRT_ColumnDef<TData>[]) => boolean;
1567
1581
  /**
1568
- * Builds the default columnPinning state so that the checkbox column
1569
- * is always the first start-pinned column when row selection is enabled.
1570
- * The checkbox is pinned for sticky positioning only — its visual styles are
1571
- * intentionally overridden in style.utils.ts to match center column appearance.
1572
- * Any user-supplied start-pinned column IDs are kept, but appended after the
1573
- * checkbox so they never appear before it.
1582
+ * The Cell/Header pair every `__check__` column renders — shared by the
1583
+ * auto-injected row-select column (getMRT_RowSelectColumnDef) and any column
1584
+ * a consumer supplies directly under this reserved id (see
1585
+ * decorateCheckboxSelectionColumn below), so both stay visually and
1586
+ * behaviorally identical.
1574
1587
  */
1575
- declare const getDefaultColumnPinningState: <TData extends MRT_RowData>(tableOptions: MRT_DefinedTableOptions<TData>, existingColumnPinning?: {
1576
- start?: string[];
1577
- end?: string[];
1578
- }) => {
1579
- start: string[];
1580
- end: string[];
1581
- };
1588
+ declare const getCheckboxSelectionCellAndHeader: <TData extends MRT_RowData>(tableOptions: MRT_DefinedTableOptions<TData>) => Pick<MRT_ColumnDef<TData>, "Cell" | "Header">;
1589
+ /**
1590
+ * `__check__` is reserved: MRT always knows how to render a column by this
1591
+ * id as the row-selection checkbox — supplied directly in the consumer's
1592
+ * own columns array, e.g. a column converted 1:1, size/minSize/sortable and
1593
+ * all, from an external data source that happens to use this id for its own
1594
+ * selection column. `enableColumnActions`/`enablePinning` default to true
1595
+ * (matching every other display column's own baseline) unless the
1596
+ * consumer's own column def says otherwise; Cell/Header/columnDefType are
1597
+ * always forced, to route through the same display-column render path.
1598
+ * `displayColumnDefOptions['__check__']`, same as every other display
1599
+ * column, always has the final say, able to override any of it.
1600
+ */
1601
+ declare const decorateCheckboxSelectionColumn: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>, tableOptions: MRT_DefinedTableOptions<TData>) => MRT_ColumnDef<TData>;
1602
+ /**
1603
+ * Whether the consumer's own columns already include a `__check__` column —
1604
+ * when true, MRT must not also auto-inject its own (enableRowSelection would
1605
+ * otherwise create a second column under the same reserved id).
1606
+ */
1607
+ declare const columnsIncludeCheckboxSelection: <TData extends MRT_RowData>(columnDefs: MRT_ColumnDef<TData>[]) => boolean;
1582
1608
  /**
1583
1609
  * Forces mrt-row-expand to a fixed slot in columnOrder: right after the
1584
1610
  * checkbox column when row selection is enabled, otherwise the very first
1585
- * column. Not configurable — mirrors how getDefaultColumnPinningState
1586
- * forces the checkbox column itself to the front of columnPinning.start.
1611
+ * column. This slot is independent of column pinning.
1587
1612
  */
1588
1613
  declare const normalizeRowExpandColumnOrder: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>, columnOrder: string[]) => string[];
1589
1614
  declare const getDefaultColumnOrderIds: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>, reset?: boolean) => string[];
@@ -1657,6 +1682,8 @@ declare const MRT_AdvancedFilters: <TData extends MRT_RowData>({ table, }: MRT_A
1657
1682
 
1658
1683
  type MaterialReactServerTableInstanceProps<TData extends MRT_RowData> = Partial<MRT_TableOptions<TData>> & {
1659
1684
  config: MRT_TableConfig<TData>;
1685
+ /** Defaults to pages; opt into infinite scrolling explicitly. */
1686
+ paginationMode?: 'infinite' | 'pages';
1660
1687
  loadData: (currentState: MRT_TableState<TData>) => Promise<MRT_TableData<TData>>;
1661
1688
  saveState: (state: MRT_TableState<TData>) => Promise<void>;
1662
1689
  getAllSelectableRowIds?: (props: {
@@ -1892,10 +1919,11 @@ interface MRT_TableHeadRowProps<TData extends MRT_RowData> extends TableRowProps
1892
1919
  }
1893
1920
  declare const MRT_TableHeadRow: <TData extends MRT_RowData>({ columnVirtualizer, headerGroup, table, ...rest }: MRT_TableHeadRowProps<TData>) => react.JSX.Element;
1894
1921
 
1895
- interface MRT_SelectAllMenuProps<TData extends MRT_RowData> {
1922
+ interface MRT_SelectAllMenuItemsProps<TData extends MRT_RowData> {
1896
1923
  table: MRT_TableInstance<TData>;
1924
+ closeMenu: () => void;
1897
1925
  }
1898
- declare const MRT_SelectAllMenu: <TData extends MRT_RowData>({ table, }: MRT_SelectAllMenuProps<TData>) => react.JSX.Element;
1926
+ declare const MRT_SelectAllMenuItems: <TData extends MRT_RowData>({ table, closeMenu: handleClose, }: MRT_SelectAllMenuItemsProps<TData>) => react.JSX.Element;
1899
1927
 
1900
1928
  interface MRT_SelectCheckboxProps<TData extends MRT_RowData> extends CheckboxProps {
1901
1929
  row?: MRT_Row<TData>;
@@ -2097,4 +2125,4 @@ interface MRT_TopToolbarProps<TData extends MRT_RowData> {
2097
2125
  }
2098
2126
  declare const MRT_TopToolbar: <TData extends MRT_RowData>({ table, }: MRT_TopToolbarProps<TData>) => react.JSX.Element;
2099
2127
 
2100
- export { type Action, type ActionRowRenderContext, type ActionToolbarRenderContext, CHECKBOX_DISPLAY_COLUMN_ID, type ColumnType, type ColumnTypeResolver, type CreateDeleteActionOptions, type CreateEditActionOptions, type CreateExportActionOptions, type CustomOnDeleteActionContext, type CustomOnEditActionContext, type CustomOnExportActionContext, type DeleteActionRowRenderContext, type DeleteActionToolbarRenderContext, type DeleteConfirmationConfig, type DistributiveOmit, type DropdownOption, type ExportActionRowRenderContext, type ExportActionToolbarRenderContext, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, type MRT_ActiveExportsState, MRT_AdvancedFilters, type MRT_AdvancedFiltersProps, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_BottomToolbarProps, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnActionMenuProps, type MRT_ColumnDef, type MRT_ColumnHelper, type MRT_ColumnOrderState, MRT_ColumnPinningButtons, type MRT_ColumnPinningButtonsProps, type MRT_ColumnPinningState, type MRT_ColumnResizingState, type MRT_ColumnSizingState, type MRT_ColumnVirtualizer, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DisplayColumnDef, type MRT_DisplayColumnIds, MRT_ExpandAllButton, type MRT_ExpandAllButtonProps, MRT_ExpandButton, type MRT_ExpandButtonProps, type MRT_ExpandedState, type MRT_ExportDefinition, type MRT_ExportFileResponse, type MRT_ExportParams, MRT_ExportsToolbar, type MRT_ExportsToolbarProps, type MRT_FilterOperator, type MRT_FilterOperatorDefinition, type MRT_FilterOperatorEditComponentProps, type MRT_FilterOperatorValueShape, type MRT_FilterRule, type MRT_FiltersLogicOperator, type MRT_FiltersState, type MRT_FormActionButtonRenderProps, type MRT_FormAdditionalField, type MRT_FormAdditionalFieldRenderProps, type MRT_FormCallbackProps, type MRT_FormConfig, type MRT_FormCustomAction, type MRT_FormFieldConfig, type MRT_FormFieldEntry, type MRT_FormFieldRenderProps, type MRT_FormRenderEntry, type MRT_FormSectionConfig, type MRT_GetRowId, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_IconColumnDef, type MRT_Icons, type MRT_IconsListEntry, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_ModalPosition, MRT_NewEntryForm, MRT_NewEntryFormActions, MRT_NewEntryFormActionsContext, type MRT_NewEntryFormActionsContextValue, type MRT_NewEntryFormActionsProps, type MRT_NewEntryFormProps, MRT_NewEntryFormProvider, type MRT_NewEntryFormProviderProps, MRT_NewEntryModal, type MRT_NewEntryModalOverrides, type MRT_NewEntryModalProps, type MRT_NewEntryModalState, type MRT_NonIconColumnDef, MRT_PaginationBoundsEffect, type MRT_PaginationBoundsEffectProps, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowManipulationInput, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowReorderingSelectionState, type MRT_RowSelectionState, type MRT_RowVirtualizer, type MRT_SavedFilter, type MRT_SavedFilters, MRT_SelectAllMenu, type MRT_SelectAllMenuProps, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, MRT_SelectionCountBadge, type MRT_SelectionCountBadgeProps, MRT_ShowHideColumnsButton, type MRT_ShowHideColumnsButtonProps, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_ShowHideColumnsMenuItemsProps, type MRT_ShowHideColumnsMenuProps, type MRT_SortFn, MRT_SortingFns, type MRT_SortingOption, type MRT_SortingState, type MRT_StatefulTableOptions, MRT_Table, MRT_TableBody, MRT_TableBodyCell, type MRT_TableBodyCellProps, MRT_TableBodyCellValue, type MRT_TableBodyCellValueProps, type MRT_TableBodyProps, MRT_TableBodyRow, MRT_TableBodyRowPinButton, type MRT_TableBodyRowPinButtonProps, type MRT_TableBodyRowProps, type MRT_TableConfig, MRT_TableContainer, type MRT_TableContainerProps, type MRT_TableData, MRT_TableDetailPanel, type MRT_TableDetailPanelProps, MRT_TableFooter, MRT_TableFooterCell, type MRT_TableFooterCellProps, type MRT_TableFooterProps, MRT_TableFooterRow, type MRT_TableFooterRowProps, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellColumnActionsButton, type MRT_TableHeadCellColumnActionsButtonProps, MRT_TableHeadCellGrabHandle, type MRT_TableHeadCellGrabHandleProps, type MRT_TableHeadCellProps, MRT_TableHeadCellResizeHandle, type MRT_TableHeadCellResizeHandleProps, MRT_TableHeadCellSortLabel, type MRT_TableHeadCellSortLabelProps, type MRT_TableHeadProps, MRT_TableHeadRow, type MRT_TableHeadRowProps, type MRT_TableInstance, MRT_TableLoadingOverlay, type MRT_TableLoadingOverlayProps, type MRT_TableOptions, MRT_TablePagination, type MRT_TablePaginationProps, MRT_TablePaper, type MRT_TablePaperProps, type MRT_TableProps, type MRT_TableState, type MRT_Theme, MRT_ToggleDensePaddingButton, type MRT_ToggleDensePaddingButtonProps, MRT_ToggleRowActionMenuButton, type MRT_ToggleRowActionMenuButtonProps, MRT_ToolbarAlertBanner, type MRT_ToolbarAlertBannerProps, MRT_ToolbarDropZone, type MRT_ToolbarDropZoneProps, MRT_ToolbarInternalButtons, type MRT_ToolbarInternalButtonsProps, MRT_TopToolbar, type MRT_TopToolbarProps, type MRT_TreeRowReorderEvent, type MRT_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactServerTable, type MaterialReactServerTableProps, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type OnDeleteActionContext, type OnEditActionContext, type OnExportActionContext, type Prettify, RHF_FormProvider, type RHF_FormProviderProps, type UseServerTableStateOptions, type UseServerTableStateReturn, type Xor, buildDefaultValues, createDeleteAction, createEditAction, createExportAction, createMRTColumnHelper, createRow, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getColumnId, getDefaultColumnOrderIds, getDefaultColumnPinningState, getIsAllPagesSelectionActive, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getTrailingDisplayColumnIds, groupFieldsBySection, normalizeRowExpandColumnOrder, prepareColumns, reorderColumn, resolveFormFields, showRowActionsColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSelectionColumn, showRowSpacerColumn, sortByOrder, toAdditionalRenderEntries, toColumnRenderEntries, useMRT_ColumnVirtualizer, useMRT_NewEntryFormActions, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };
2128
+ export { ACTIONS_DISPLAY_COLUMN_ID, type Action, type ActionRowRenderContext, type ActionToolbarRenderContext, CHECKBOX_DISPLAY_COLUMN_ID, type ColumnType, type ColumnTypeResolver, type CreateDeleteActionOptions, type CreateEditActionOptions, type CreateExportActionOptions, type CustomOnDeleteActionContext, type CustomOnEditActionContext, type CustomOnExportActionContext, type DeleteActionRowRenderContext, type DeleteActionToolbarRenderContext, type DeleteConfirmationConfig, type DistributiveOmit, type DropdownOption, type ExportActionRowRenderContext, type ExportActionToolbarRenderContext, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, type MRT_ActiveExportsState, MRT_AdvancedFilters, type MRT_AdvancedFiltersProps, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_BottomToolbarProps, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnActionMenuProps, type MRT_ColumnDef, type MRT_ColumnHelper, type MRT_ColumnOrderState, MRT_ColumnPinningButtons, type MRT_ColumnPinningButtonsProps, type MRT_ColumnPinningState, type MRT_ColumnResizingState, type MRT_ColumnSizingState, type MRT_ColumnVirtualizer, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DimensionsDef, type MRT_DisplayColumnDef, type MRT_DisplayColumnIds, MRT_ExpandAllButton, type MRT_ExpandAllButtonProps, MRT_ExpandButton, type MRT_ExpandButtonProps, type MRT_ExpandedState, type MRT_ExportDefinition, type MRT_ExportFileResponse, type MRT_ExportParams, MRT_ExportsToolbar, type MRT_ExportsToolbarProps, type MRT_FilterOperator, type MRT_FilterOperatorDefinition, type MRT_FilterOperatorEditComponentProps, type MRT_FilterOperatorValueShape, type MRT_FilterRule, type MRT_FiltersLogicOperator, type MRT_FiltersState, type MRT_FormActionButtonRenderProps, type MRT_FormAdditionalField, type MRT_FormAdditionalFieldRenderProps, type MRT_FormCallbackProps, type MRT_FormConfig, type MRT_FormCustomAction, type MRT_FormFieldConfig, type MRT_FormFieldEntry, type MRT_FormFieldRenderProps, type MRT_FormRenderEntry, type MRT_FormSectionConfig, type MRT_GetRowId, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_IconColumnDef, type MRT_Icons, type MRT_IconsListEntry, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_ModalPosition, MRT_NewEntryForm, MRT_NewEntryFormActions, MRT_NewEntryFormActionsContext, type MRT_NewEntryFormActionsContextValue, type MRT_NewEntryFormActionsProps, type MRT_NewEntryFormProps, MRT_NewEntryFormProvider, type MRT_NewEntryFormProviderProps, MRT_NewEntryModal, type MRT_NewEntryModalOverrides, type MRT_NewEntryModalProps, type MRT_NewEntryModalState, type MRT_NonIconColumnDef, MRT_PaginationBoundsEffect, type MRT_PaginationBoundsEffectProps, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowManipulationInput, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowReorderingSelectionState, type MRT_RowSelectionState, type MRT_RowVirtualizer, type MRT_SavedFilter, type MRT_SavedFilters, MRT_SelectAllMenuItems, type MRT_SelectAllMenuItemsProps, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, MRT_SelectionCountBadge, type MRT_SelectionCountBadgeProps, MRT_ShowHideColumnsButton, type MRT_ShowHideColumnsButtonProps, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_ShowHideColumnsMenuItemsProps, type MRT_ShowHideColumnsMenuProps, type MRT_SortFn, MRT_SortingFns, type MRT_SortingOption, type MRT_SortingState, type MRT_StatefulTableOptions, MRT_Table, MRT_TableBody, MRT_TableBodyCell, type MRT_TableBodyCellProps, MRT_TableBodyCellValue, type MRT_TableBodyCellValueProps, type MRT_TableBodyProps, MRT_TableBodyRow, MRT_TableBodyRowPinButton, type MRT_TableBodyRowPinButtonProps, type MRT_TableBodyRowProps, type MRT_TableConfig, MRT_TableContainer, type MRT_TableContainerProps, type MRT_TableData, MRT_TableDetailPanel, type MRT_TableDetailPanelProps, MRT_TableFooter, MRT_TableFooterCell, type MRT_TableFooterCellProps, type MRT_TableFooterProps, MRT_TableFooterRow, type MRT_TableFooterRowProps, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellColumnActionsButton, type MRT_TableHeadCellColumnActionsButtonProps, MRT_TableHeadCellGrabHandle, type MRT_TableHeadCellGrabHandleProps, type MRT_TableHeadCellProps, MRT_TableHeadCellResizeHandle, type MRT_TableHeadCellResizeHandleProps, MRT_TableHeadCellSortLabel, type MRT_TableHeadCellSortLabelProps, type MRT_TableHeadProps, MRT_TableHeadRow, type MRT_TableHeadRowProps, type MRT_TableInstance, MRT_TableLoadingOverlay, type MRT_TableLoadingOverlayProps, type MRT_TableOptions, MRT_TablePagination, type MRT_TablePaginationProps, MRT_TablePaper, type MRT_TablePaperProps, type MRT_TableProps, type MRT_TableState, type MRT_Theme, MRT_ToggleDensePaddingButton, type MRT_ToggleDensePaddingButtonProps, MRT_ToggleRowActionMenuButton, type MRT_ToggleRowActionMenuButtonProps, MRT_ToolbarAlertBanner, type MRT_ToolbarAlertBannerProps, MRT_ToolbarDropZone, type MRT_ToolbarDropZoneProps, MRT_ToolbarInternalButtons, type MRT_ToolbarInternalButtonsProps, MRT_TopToolbar, type MRT_TopToolbarProps, type MRT_TreeRowReorderEvent, type MRT_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactServerTable, type MaterialReactServerTableProps, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type OnDeleteActionContext, type OnEditActionContext, type OnExportActionContext, type Prettify, RHF_FormProvider, type RHF_FormProviderProps, type UseServerTableStateOptions, type UseServerTableStateReturn, type Xor, buildDefaultValues, columnsIncludeCheckboxSelection, columnsIncludeRowActions, createDeleteAction, createEditAction, createExportAction, createMRTColumnHelper, createRow, decorateCheckboxSelectionColumn, decorateRowActionsColumn, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getAutoSizeCandidateColumnIds, getCheckboxSelectionCellAndHeader, getColumnId, getColumnMenuLabel, getDefaultColumnOrderIds, getIsAllPagesSelectionActive, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getRowActionsCell, getTrailingDisplayColumnIds, groupFieldsBySection, normalizeRowExpandColumnOrder, prepareColumns, reorderColumn, resolveFormFields, showRowActionsColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSpacerColumn, sortByOrder, toAdditionalRenderEntries, toColumnRenderEntries, useMRT_ColumnVirtualizer, useMRT_NewEntryFormActions, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };