@jielga/tmdatagrid 2.0.0-beta.2 → 2.0.0-beta.3

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/index.d.ts CHANGED
@@ -15,24 +15,41 @@ declare function TMDataGridColumnsPanel(): import("react").JSX.Element;
15
15
  //#region .types-tmp/components/TMDataGridEditActions.d.ts
16
16
  /** What the edit chrome is showing. */
17
17
  type TMDataGridEditActionsState = {
18
- /** Rows with unsaved work: dirty edits, entry rows, and deletion marks. */
18
+ /**
19
+ * Rows in the draft store, which is what Save sends: committed edits,
20
+ * committed entry rows and deletion marks.
21
+ */
22
+ draftCount: number;
23
+ /**
24
+ * Rows still open - edited or entered but not committed, so not part of
25
+ * the save. They stay open across a save.
26
+ */
27
+ openCount: number;
28
+ /**
29
+ * @deprecated Was "everything uncommitted", which Save no longer sends.
30
+ * Reads as `draftCount + openCount`; use whichever you meant.
31
+ */
19
32
  pendingCount: number;
20
33
  /** Whether a submit is in flight. */
21
34
  isSubmitting: boolean;
22
35
  };
23
36
  /** What the edit chrome can do. */
24
37
  type TMDataGridEditActionsActions = {
25
- /** Commits every open row. Resolves `false` when a row stayed open. */
38
+ /** Saves the draft store. Open rows are left alone. */
26
39
  save: () => Promise<boolean>;
27
- /** Drops every draft. */
40
+ /** Submits every open row, committing the ones that validate. */
41
+ commitAll: () => Promise<boolean>;
42
+ /** Drops everything - open form state and the draft store alike. */
28
43
  discard: () => void;
29
44
  };
30
45
  /** The pre-bound pieces of the built-in edit chrome. */
31
46
  type TMDataGridEditActionsControls = {
32
- /** Save, with the pending count, disabled while nothing is pending. */
47
+ /** Save, with the draft count, disabled while the draft store is empty. */
33
48
  Save: () => ReactNode;
34
49
  /** Discard, disabled while nothing is pending. */
35
50
  Discard: () => ReactNode;
51
+ /** The "N rows still being edited" note, or nothing while there are none. */
52
+ OpenRowsNote: () => ReactNode;
36
53
  };
37
54
  /** What {@link TMDataGridEditActionsProps.renderActions} is handed. */
38
55
  type TMDataGridEditActionsSlotArgs = {
@@ -48,7 +65,8 @@ type TMDataGridEditActionsProps = {
48
65
  * <TMDataGrid.EditActions
49
66
  * renderActions={({ state, Controls }) => (
50
67
  * <Group>
51
- * {state.pendingCount > 0 && <Badge>{state.pendingCount}</Badge>}
68
+ * {state.draftCount > 0 && <Badge>{state.draftCount}</Badge>}
69
+ * <Controls.OpenRowsNote />
52
70
  * <Controls.Save />
53
71
  * <Controls.Discard />
54
72
  * </Group>
@@ -59,11 +77,11 @@ type TMDataGridEditActionsProps = {
59
77
  renderActions?: (args: TMDataGridEditActionsSlotArgs) => ReactNode;
60
78
  };
61
79
  /**
62
- * Draft mode's toolbar chrome: Save with the dirty-row count, and Discard.
63
- * Both read the edit store, so they grey out while nothing is dirty and the
64
- * Save spins while a submit is in flight. Works under any `editing.mode` - a
65
- * cellConfirm grid accumulating drafts can offer the same pair - and renders
66
- * nothing while editing is off.
80
+ * Draft mode's toolbar chrome: Save with the draft-store count, Discard, and
81
+ * a note counting rows still open. Save sends the draft store and leaves open
82
+ * rows alone, so it greys out while nothing is committed however much is
83
+ * being typed - the note is what makes those rows visible. Works under any
84
+ * `editing.mode` and renders nothing while editing is off.
67
85
  *
68
86
  * ```tsx
69
87
  * <TMDataGrid.Toolbar>
@@ -368,22 +386,34 @@ type TMDataGridEditState = {
368
386
  columnId: string | null;
369
387
  } | null;
370
388
  /**
371
- * Rows with a live form. In cell mode at most one; in row, cellConfirm and
372
- * draft, as many as the user opened - which rows are editing.
389
+ * Rows with a live form, committed or not - every row the grid is holding
390
+ * work for. A row is *open* (undecided form state) when it is in here and
391
+ * not in {@link committedRowIds}.
373
392
  */
374
393
  openRowIds: ReadonlyArray<string>;
375
394
  rows: Record<string, TMDataGridEditRowProjection>;
376
395
  /**
377
- * Rows being created, not yet in `data`. `confirmed` is draft mode's
378
- * "entered, awaiting Save all": the entry row renders as a value row until
379
- * `begin` re-opens it. Under the immediate modes a confirm commits through
380
- * `onRowAdd` and the entry is dropped, so there it never turns `true`.
396
+ * The draft store's edit slice: existing rows whose form passed its submit
397
+ * and is parked, waiting for `saveDrafts`. A subset of `openRowIds` - the
398
+ * values stay in the row's form, this records which side of the line the
399
+ * row is on. `begin` on one of these takes it back out, into form state.
400
+ *
401
+ * Only draft mode parks; the immediate modes send a commit straight to the
402
+ * consumer and drop the form, so there this stays empty.
403
+ */
404
+ committedRowIds: ReadonlyArray<string>;
405
+ /**
406
+ * Rows being created, not yet in `data`. `committed` is the draft store's
407
+ * add slice: the entry row passed its submit and renders as a value row
408
+ * until `begin` re-opens it. Under the immediate modes a commit adds
409
+ * through `onRowAdd` and the entry is dropped, so there it never turns
410
+ * `true`.
381
411
  */
382
412
  newRows: ReadonlyArray<{
383
413
  tempId: string;
384
- confirmed: boolean;
414
+ committed: boolean;
385
415
  }>;
386
- /** Rows marked deleted under draft mode. */
416
+ /** The draft store's delete slice: rows marked deleted under draft mode. */
387
417
  deletedRowIds: ReadonlyArray<string>;
388
418
  };
389
419
  type ErasedRow = Row<TMDataGridFeatures, TMDataGridRowData>;
@@ -504,15 +534,24 @@ type TMDataGridRowDeleteArgs<TData extends RowData> = {
504
534
  rowId: string;
505
535
  row: Row<TMDataGridFeatures, TData>;
506
536
  };
507
- /** What `submitAll` hands `onEditCommitDrafts` - everything pending at once. */
508
- type TMDataGridEditCommitDraftsArgs<TData extends RowData> = {
509
- /** Every valid dirty existing row. */
537
+ /**
538
+ * The draft store, flushed - what `saveDrafts` hands `onSaveDrafts`. Every
539
+ * committed change at once, so a server can apply it as one transaction.
540
+ * Rows still open (undecided form state) are not in here and stay open.
541
+ */
542
+ type TMDataGridSaveDraftsArgs<TData extends RowData> = {
543
+ /** Every committed edit to an existing row. */
510
544
  rows: Array<TMDataGridEditCommitArgs<TData>>;
511
- /** Every valid new row from the entry block. */
545
+ /** Every committed new row from the entry block. */
512
546
  added: Array<TMDataGridRowAddArgs<TData>>;
513
547
  /** Ids marked deleted while the drafts accumulated. */
514
548
  deleted: Array<string>;
515
549
  };
550
+ /**
551
+ * @deprecated Renamed to {@link TMDataGridSaveDraftsArgs} - the payload is
552
+ * the draft store being saved, not a commit. Removed in a later beta.
553
+ */
554
+ type TMDataGridEditCommitDraftsArgs<TData extends RowData> = TMDataGridSaveDraftsArgs<TData>;
516
555
  /**
517
556
  * The data path a column edits, or `null` for a column that has none.
518
557
  *
@@ -534,6 +573,24 @@ declare function getEditFieldName(column: {
534
573
  }): string | null;
535
574
  /** What Delete writes into a cell - the type's honest empty value. */
536
575
  declare function clearedValueForType(type: TMDataGridColumnType): unknown;
576
+ /** `edit.addRows` options. */
577
+ type TMDataGridAddRowsOptions = {
578
+ /**
579
+ * Submit each row as it is added instead of leaving it open. Defaults to
580
+ * `false` - the rows open as editable entry rows, as `addRow` does.
581
+ */
582
+ commit?: boolean;
583
+ };
584
+ /** What `edit.addRows` reports back. Every added row is in exactly one list. */
585
+ type TMDataGridAddRowsResult = {
586
+ /** Temp ids that committed - parked as drafts, or added outright. */
587
+ committed: Array<string>;
588
+ /**
589
+ * Temp ids still open in the entry block: everything, when `commit` was
590
+ * not asked for; the rows that failed validation, when it was.
591
+ */
592
+ open: Array<string>;
593
+ };
537
594
  /**
538
595
  * The engine plus its store - `api.edit`.
539
596
  *
@@ -541,7 +598,7 @@ declare function clearedValueForType(type: TMDataGridColumnType): unknown;
541
598
  * editors write through, so a consumer can render it in a drawer or a detail
542
599
  * panel and share values, dirty state and errors with the cells.
543
600
  */
544
- type TMDataGridEditApi = {
601
+ type TMDataGridEditApi<TData extends RowData = TMDataGridRowData> = {
545
602
  /** The projection store - subscribe with `useSelector(edit.store, …)`. */
546
603
  store: Store<TMDataGridEditState>;
547
604
  /** Current snapshot, for reads outside React. */
@@ -577,19 +634,53 @@ type TMDataGridEditApi = {
577
634
  * `"cellConfirm"`, where the dirty cell keeps waiting for its ✓.
578
635
  */
579
636
  deactivate: () => void;
580
- /** Drops every draft. */
637
+ /** Drops every draft - open form state and the draft store alike. */
581
638
  cancelAll: () => void;
582
- /** Commits every open row - draft mode's save. `true` when all landed. */
639
+ /**
640
+ * Submits every open row, as if each had been OK'd: a row that validates
641
+ * commits (into the draft store under draft mode, straight to the consumer
642
+ * under the immediate modes), a row that fails stays open with its errors.
643
+ * `true` when every row committed. Sends nothing to the consumer by itself
644
+ * under draft mode - that is `saveDrafts`.
645
+ */
646
+ commitAll: () => Promise<boolean>;
647
+ /**
648
+ * Flushes the draft store: every committed edit, added row and deletion
649
+ * mark reaches the consumer, through `onSaveDrafts` in one call when it is
650
+ * set, or row by row through `onCommit` / `onRowAdd` / `onRowDelete`.
651
+ *
652
+ * Rows still open are left alone - they keep their form state and stay
653
+ * open. `true` when everything landed; a rejected save keeps every draft.
654
+ */
655
+ saveDrafts: () => Promise<boolean>;
656
+ /**
657
+ * @deprecated Split into {@link commitAll} and {@link saveDrafts}, which is
658
+ * exactly what this now does. Removed in a later beta.
659
+ */
583
660
  submitAll: () => Promise<boolean>;
584
661
  /** Writes the type's empty value into a cell and commits it - Delete. */
585
662
  clearCell: (rowId: string, columnId: string) => Promise<boolean>;
586
663
  /**
587
664
  * Opens a new entry row (the sticky block under the header) seeded from
588
- * `newRowDefaults`. Returns its temporary id - a form with no backing row
589
- * yet. Committing it calls `onRowAdd` (immediate modes) or joins
665
+ * `newRowDefaults`. `values` overrides that seed key by key, so
666
+ * `addRow()` opens a blank row and `addRow({ status: "draft" })` opens one
667
+ * that starts filled in. Returns its temporary id - a form with no backing
668
+ * row yet. Committing it calls `onRowAdd` (immediate modes) or joins
590
669
  * `submitAll`'s `added` (draft).
591
670
  */
592
- addRow: () => string;
671
+ addRow: (values?: Partial<TData>) => string;
672
+ /**
673
+ * Opens entry rows for a list of records at once - one state write for the
674
+ * batch, where a loop over `addRow` is one per row. Each row is seeded over
675
+ * `newRowDefaults` exactly as `addRow` does.
676
+ *
677
+ * `commit: true` submits each row as it lands, which is what an import
678
+ * wants: rows that validate commit (parked in the draft store under draft
679
+ * mode, added through `onRowAdd` under the immediate modes - once per row),
680
+ * and rows that fail stay open in the entry block carrying their errors,
681
+ * for the user to fix. The result says which went which way.
682
+ */
683
+ addRows: (rows: ReadonlyArray<Partial<TData>>, options?: TMDataGridAddRowsOptions) => Promise<TMDataGridAddRowsResult>;
593
684
  /**
594
685
  * Deletes a row: `onRowDelete` straight away under the immediate modes;
595
686
  * under draft it toggles the id in `deletedRowIds` - the row renders
@@ -703,10 +794,15 @@ type TMDataGridLabels = {
703
794
  cancelRowEdit: string;
704
795
  /** Save tooltip when field errors block the row, with no row message. */
705
796
  editRowErrors: string;
706
- /** `EditActions`' Save, with the dirty-row count. */
797
+ /** `EditActions`' Save, with the count of rows in the draft store. */
707
798
  saveAllEdits: (rows: number) => string;
708
799
  /** `EditActions`' Discard. */
709
800
  discardAllEdits: string;
801
+ /**
802
+ * `EditActions`' note about rows still open - edited but not committed, so
803
+ * not part of the save. Shown only while there are any.
804
+ */
805
+ editRowsStillOpen: (rows: number) => string;
710
806
  /** The entry row's ✓ - commit the add. */
711
807
  confirmNewRow: string;
712
808
  /** The entry row's ✕ - drop the entry. */
@@ -1544,7 +1640,7 @@ type TMDataGridApi<TData extends RowData> = {
1544
1640
  * out the same TanStack Form the inline editors write through, so a drawer
1545
1641
  * or detail panel can share a row's draft. Inert until `editing` is set.
1546
1642
  */
1547
- edit: TMDataGridEditApi;
1643
+ edit: TMDataGridEditApi<TData>;
1548
1644
  /** Table-level feature switches, re-read from options on every render. */
1549
1645
  features: TMDataGridFeatureFlags;
1550
1646
  /** Every string the chrome renders, `labels` merged over the English defaults. */
@@ -1624,6 +1720,7 @@ type TMDataGridEditingCallbacks<TData extends RowData> = {
1624
1720
  /**
1625
1721
  * Seed values for `edit.addRow()` - the entry row's starting point. A
1626
1722
  * function is called per added row (fresh timestamps, empty arrays).
1723
+ * `edit.addRow(values)` overrides this key by key for that one row.
1627
1724
  */
1628
1725
  newRowDefaults?: TData | (() => TData);
1629
1726
  /**
@@ -1650,12 +1747,12 @@ type TMDataGridEditingCallbacks<TData extends RowData> = {
1650
1747
  * | `"cell"` | Enter, Tab, blur - Sheets | Escape |
1651
1748
  * | `"cellConfirm"` | ✓ or Enter only; blur keeps the draft | ✕ or Escape |
1652
1749
  * | `"row"` | Save in the edit lane, or Ctrl+Enter | Cancel, or Escape |
1653
- * | `"draft"` | `edit.submitAll()` | `edit.cancelAll()` |
1750
+ * | `"draft"` | `edit.commit(rowId)` into the draft store, `edit.saveDrafts()` out | `edit.cancelAll()` |
1654
1751
  *
1655
1752
  * Setting `editing` makes `getRowId` required - drafts are keyed by row id,
1656
1753
  * and the index fallback would name a different record after any sort - and
1657
- * `onCommitDrafts` exists only under `mode: "draft"`, the one mode whose
1658
- * `submitAll` calls it.
1754
+ * `onSaveDrafts` exists only under `mode: "draft"`, the one mode with a draft
1755
+ * store to save.
1659
1756
  *
1660
1757
  * The object may be written inline: the callbacks are read through a ref
1661
1758
  * every render, so its identity does not matter.
@@ -1669,25 +1766,37 @@ type TMDataGridEditingCallbacks<TData extends RowData> = {
1669
1766
  type TMDataGridEditingOptions<TData extends RowData> = TMDataGridEditingCallbacks<TData> & ({
1670
1767
  mode: "draft";
1671
1768
  /**
1672
- * Draft mode's save, called once by `edit.submitAll()` with every
1673
- * valid dirty row. Without it, `submitAll` falls back to the per-row
1674
- * {@link TMDataGridEditingCallbacks.onCommit} loop. Rows failing
1675
- * validation stay open either way; a rejection keeps every draft.
1769
+ * Draft mode's save: called once by `edit.saveDrafts()` with the
1770
+ * whole draft store - committed edits, added rows and deletion
1771
+ * marks - so a server can apply it as one transaction. Without it,
1772
+ * `saveDrafts` falls back to the per-row
1773
+ * {@link TMDataGridEditingCallbacks.onCommit} loop.
1774
+ *
1775
+ * Rows still open are not in the payload and stay open; a rejection
1776
+ * keeps every draft.
1777
+ */
1778
+ onSaveDrafts?: (args: TMDataGridSaveDraftsArgs<TData>) => void | Promise<void>;
1779
+ /**
1780
+ * @deprecated Renamed to {@link onSaveDrafts} - it fires when the
1781
+ * draft store is saved, not when a row commits into it. Still
1782
+ * honoured; removed in a later beta.
1676
1783
  */
1677
- onCommitDrafts?: (args: TMDataGridEditCommitDraftsArgs<TData>) => void | Promise<void>;
1784
+ onCommitDrafts?: (args: TMDataGridSaveDraftsArgs<TData>) => void | Promise<void>;
1678
1785
  /**
1679
- * Keep confirmed entry rows pinned in the sticky entry block until
1680
- * Save all. Off by default: a confirmed row joins the scrolling
1681
- * flow above the body rows instead - the block a row is *typed*
1682
- * into is always sticky, but entered rows scroll, so entering many
1683
- * cannot fill the viewport with sticky chrome.
1786
+ * Keep committed entry rows pinned in the sticky entry block until
1787
+ * the draft store is saved. Off by default: a committed row joins
1788
+ * the scrolling flow above the body rows instead - the block a row
1789
+ * is *typed* into is always sticky, but committed rows scroll, so
1790
+ * committing many cannot fill the viewport with sticky chrome.
1684
1791
  */
1685
1792
  newRowsSticky?: boolean;
1686
1793
  } | {
1687
1794
  mode: Exclude<TMDataGridEditMode, "draft">;
1688
- /** Only `"draft"`'s `submitAll` ever calls it - see the other branch. */
1795
+ /** Only `"draft"` has a draft store to save - see the other branch. */
1796
+ onSaveDrafts?: never;
1797
+ /** @deprecated See {@link onSaveDrafts}. */
1689
1798
  onCommitDrafts?: never;
1690
- /** Confirmed entry rows exist only under `"draft"` - see there. */
1799
+ /** Committed entry rows exist only under `"draft"` - see there. */
1691
1800
  newRowsSticky?: never;
1692
1801
  });
1693
1802
  type UseTMDataGridOptions<TData extends RowData> = Omit<TableOptions<TMDataGridFeatures, TData>, "features"> & ({
@@ -3106,4 +3215,4 @@ declare function getSelectableRowIds<TData extends RowData>(row: Row<TMDataGridF
3106
3215
  */
3107
3216
  declare function resolveRowSelectionClick<TData extends RowData>({ rows, rowId, anchorRowId, modifiers, selection, canReplaceSelection }: ResolveRowSelectionClickArgs<TData>): ResolvedRowSelection;
3108
3217
  //#endregion
3109
- export { type BuildCellMatrixArgs, type ColumnStepArgs, DATA_STATE_SLICES, DEFAULT_CELL_EXPORT_OPTIONS, DEFAULT_TMDATAGRID_SIZE, DETAILS_COLUMN_ID, DgAutocompleteFilter, DgDateRangeFilter, DgRangeSliderFilter, DgTriStateFilter, EDIT_COLUMN_ID, FILTER_OPERATOR_LABELS, GROUP_COLUMN_ID, type MoveColumnArgs, PERSIST_PAYLOAD_VERSION, ROW_NUMBER_COLUMN_ID, type ResolveCellMoveArgs, type ResolveRangeBoundsArgs, type ResolveRowSelectionClickArgs, type ResolvedRowSelection, SELECT_COLUMN_ID, SETTINGS_STATE_SLICES, SIZE_CONTROL_SIZE, SIZE_ROW_HEIGHT, TMDATAGRID_LABELS_EN, TMDATAGRID_LABELS_SV, TMDataGrid, type TMDataGridAggregationName, type TMDataGridApi, TMDataGridBooleanEditor, type TMDataGridCapabilities, type TMDataGridCellCoords, type TMDataGridCellEventArgs, type TMDataGridCellExportOptions, type TMDataGridCellMatrix, type TMDataGridCellNav, type TMDataGridCellPosition, type TMDataGridCellRange, type TMDataGridCellSelectionMode, type TMDataGridColumnCapabilities, type TMDataGridColumnEditOptions, type TMDataGridColumnFilterOptions, type TMDataGridColumnLayout, type TMDataGridColumnMenuItemsArgs, type TMDataGridColumnMenuItemsRenderer, type TMDataGridColumnMeta, type TMDataGridColumnRegion, type TMDataGridColumnType, type TMDataGridContextValue, type TMDataGridDataSlice, TMDataGridDateEditor, type TMDataGridDetailsArgs, type TMDataGridDetailsRenderer, type TMDataGridDropSide, TMDataGridEditActions, type TMDataGridEditActionsActions, type TMDataGridEditActionsControls, type TMDataGridEditActionsProps, type TMDataGridEditActionsSlotArgs, type TMDataGridEditActionsState, type TMDataGridEditApi, type TMDataGridEditChange, type TMDataGridEditCommitArgs, type TMDataGridEditCommitDraftsArgs, type TMDataGridEditField, type TMDataGridEditMode, type TMDataGridEditRowProjection, type TMDataGridEditState, type TMDataGridEditValueMap, type TMDataGridEditValueMapArgs, type TMDataGridEditingOptions, type TMDataGridEditorArgs, type TMDataGridEditorComponent, type TMDataGridExpandAllArgs, type TMDataGridExpandTarget, type TMDataGridFeatureFlags, type TMDataGridFeatures, type TMDataGridFieldValidate, type TMDataGridFilterControlArgs, type TMDataGridFilterControlComponent, type TMDataGridFilterOperator, TMDataGridFilterPills, type TMDataGridFilterPillsProps, type TMDataGridFilterValue, TMDataGridFilterValueInput, type TMDataGridFooterProps, type TMDataGridLabels, type TMDataGridLabelsOverride, TMDataGridMultiSelectEditor, TMDataGridNumberEditor, type TMDataGridOption, type TMDataGridOptionsArgs, type TMDataGridOptionsSource, type TMDataGridPaginationActions, type TMDataGridPaginationApi, type TMDataGridPaginationControls, type TMDataGridPaginationSlotArgs, type TMDataGridPaginationState, type TMDataGridPersistKey, type TMDataGridPersistence, type TMDataGridProps, type TMDataGridQuickSearchMode, type TMDataGridRangeBounds, type TMDataGridRowAddArgs, type TMDataGridRowClickModifiers, type TMDataGridRowContextMenuArgs, type TMDataGridRowContextMenuRenderer, type TMDataGridRowData, type TMDataGridRowDeleteArgs, type TMDataGridRowEditForm, type TMDataGridRowStyle, type TMDataGridRowValidators, type TMDataGridScrollAlign, type TMDataGridScrollToRowArgs, TMDataGridSearch, type TMDataGridSearchProps, TMDataGridSelectEditor, type TMDataGridSelectionMode, type TMDataGridSettingsSlice, type TMDataGridSize, type TMDataGridStorageMode, TMDataGridStringEditor, type TMDataGridTable, type TMDataGridTableMeta, type TMDataGridTableProps, type TMDataGridUiActions, type TMDataGridUiState, type TMDataGridUiStore, type UseTMDataGridOptions, aggregateColumn, areAllRowsExpanded, autosizeColumn, boundsCellCount, boundsEdges, buildCellMatrix, buildGridCellMatrix, clearedValueForType, createTMDataGridColumnHelper, downloadTextFile, emptyValueForOperator, exportGridToCsv, formatExportValue, formatFilterLabel, formatGroupValue, fuzzyGlobalFilterFn, getColumnCapabilities, getColumnDefaultOperator, getColumnFilterControl, getColumnLabel, getColumnRegion, getColumnType, getDefaultOperator, getDisplayedRows, getEditFieldName, getGridCapabilities, getGroupDataRows, getOperatorsForType, getSelectableRowIds, getStepTargetColumn, getTMDataGridPaginationApi, isColumnEditableForRow, isColumnReorderable, isControlColumn, isFilterActive, isGeneratedColumn, isPagingActive, isSameCell, isWithinBounds, keepGeneratedColumnsOutermost, measureColumnContentWidth, mergeLabels, moveColumn, moveColumnByStep, normalizeFieldValidate, openColumnFilter, operatorNeedsValue, operatorTakesArrayValue, operatorTakesRangeValue, optionsToComboboxData, readFeatureFlags, resolveCellMove, resolveColumnOptions, resolveExpandAll, resolveRangeBounds, resolveRowSelectionClick, tmDataGridFeatures, toClipboardText, toExcelCsv, useCellControlTabIndex, useTMDataGrid, useTMDataGridContext, writeClipboardText };
3218
+ export { type BuildCellMatrixArgs, type ColumnStepArgs, DATA_STATE_SLICES, DEFAULT_CELL_EXPORT_OPTIONS, DEFAULT_TMDATAGRID_SIZE, DETAILS_COLUMN_ID, DgAutocompleteFilter, DgDateRangeFilter, DgRangeSliderFilter, DgTriStateFilter, EDIT_COLUMN_ID, FILTER_OPERATOR_LABELS, GROUP_COLUMN_ID, type MoveColumnArgs, PERSIST_PAYLOAD_VERSION, ROW_NUMBER_COLUMN_ID, type ResolveCellMoveArgs, type ResolveRangeBoundsArgs, type ResolveRowSelectionClickArgs, type ResolvedRowSelection, SELECT_COLUMN_ID, SETTINGS_STATE_SLICES, SIZE_CONTROL_SIZE, SIZE_ROW_HEIGHT, TMDATAGRID_LABELS_EN, TMDATAGRID_LABELS_SV, TMDataGrid, type TMDataGridAddRowsOptions, type TMDataGridAddRowsResult, type TMDataGridAggregationName, type TMDataGridApi, TMDataGridBooleanEditor, type TMDataGridCapabilities, type TMDataGridCellCoords, type TMDataGridCellEventArgs, type TMDataGridCellExportOptions, type TMDataGridCellMatrix, type TMDataGridCellNav, type TMDataGridCellPosition, type TMDataGridCellRange, type TMDataGridCellSelectionMode, type TMDataGridColumnCapabilities, type TMDataGridColumnEditOptions, type TMDataGridColumnFilterOptions, type TMDataGridColumnLayout, type TMDataGridColumnMenuItemsArgs, type TMDataGridColumnMenuItemsRenderer, type TMDataGridColumnMeta, type TMDataGridColumnRegion, type TMDataGridColumnType, type TMDataGridContextValue, type TMDataGridDataSlice, TMDataGridDateEditor, type TMDataGridDetailsArgs, type TMDataGridDetailsRenderer, type TMDataGridDropSide, TMDataGridEditActions, type TMDataGridEditActionsActions, type TMDataGridEditActionsControls, type TMDataGridEditActionsProps, type TMDataGridEditActionsSlotArgs, type TMDataGridEditActionsState, type TMDataGridEditApi, type TMDataGridEditChange, type TMDataGridEditCommitArgs, type TMDataGridEditCommitDraftsArgs, type TMDataGridEditField, type TMDataGridEditMode, type TMDataGridEditRowProjection, type TMDataGridEditState, type TMDataGridEditValueMap, type TMDataGridEditValueMapArgs, type TMDataGridEditingOptions, type TMDataGridEditorArgs, type TMDataGridEditorComponent, type TMDataGridExpandAllArgs, type TMDataGridExpandTarget, type TMDataGridFeatureFlags, type TMDataGridFeatures, type TMDataGridFieldValidate, type TMDataGridFilterControlArgs, type TMDataGridFilterControlComponent, type TMDataGridFilterOperator, TMDataGridFilterPills, type TMDataGridFilterPillsProps, type TMDataGridFilterValue, TMDataGridFilterValueInput, type TMDataGridFooterProps, type TMDataGridLabels, type TMDataGridLabelsOverride, TMDataGridMultiSelectEditor, TMDataGridNumberEditor, type TMDataGridOption, type TMDataGridOptionsArgs, type TMDataGridOptionsSource, type TMDataGridPaginationActions, type TMDataGridPaginationApi, type TMDataGridPaginationControls, type TMDataGridPaginationSlotArgs, type TMDataGridPaginationState, type TMDataGridPersistKey, type TMDataGridPersistence, type TMDataGridProps, type TMDataGridQuickSearchMode, type TMDataGridRangeBounds, type TMDataGridRowAddArgs, type TMDataGridRowClickModifiers, type TMDataGridRowContextMenuArgs, type TMDataGridRowContextMenuRenderer, type TMDataGridRowData, type TMDataGridRowDeleteArgs, type TMDataGridRowEditForm, type TMDataGridRowStyle, type TMDataGridRowValidators, type TMDataGridSaveDraftsArgs, type TMDataGridScrollAlign, type TMDataGridScrollToRowArgs, TMDataGridSearch, type TMDataGridSearchProps, TMDataGridSelectEditor, type TMDataGridSelectionMode, type TMDataGridSettingsSlice, type TMDataGridSize, type TMDataGridStorageMode, TMDataGridStringEditor, type TMDataGridTable, type TMDataGridTableMeta, type TMDataGridTableProps, type TMDataGridUiActions, type TMDataGridUiState, type TMDataGridUiStore, type UseTMDataGridOptions, aggregateColumn, areAllRowsExpanded, autosizeColumn, boundsCellCount, boundsEdges, buildCellMatrix, buildGridCellMatrix, clearedValueForType, createTMDataGridColumnHelper, downloadTextFile, emptyValueForOperator, exportGridToCsv, formatExportValue, formatFilterLabel, formatGroupValue, fuzzyGlobalFilterFn, getColumnCapabilities, getColumnDefaultOperator, getColumnFilterControl, getColumnLabel, getColumnRegion, getColumnType, getDefaultOperator, getDisplayedRows, getEditFieldName, getGridCapabilities, getGroupDataRows, getOperatorsForType, getSelectableRowIds, getStepTargetColumn, getTMDataGridPaginationApi, isColumnEditableForRow, isColumnReorderable, isControlColumn, isFilterActive, isGeneratedColumn, isPagingActive, isSameCell, isWithinBounds, keepGeneratedColumnsOutermost, measureColumnContentWidth, mergeLabels, moveColumn, moveColumnByStep, normalizeFieldValidate, openColumnFilter, operatorNeedsValue, operatorTakesArrayValue, operatorTakesRangeValue, optionsToComboboxData, readFeatureFlags, resolveCellMove, resolveColumnOptions, resolveExpandAll, resolveRangeBounds, resolveRowSelectionClick, tmDataGridFeatures, toClipboardText, toExcelCsv, useCellControlTabIndex, useTMDataGrid, useTMDataGridContext, writeClipboardText };