@gridkitjs/core 0.14.1 → 0.16.0

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
@@ -88,6 +88,8 @@ interface GridController<Row, Node = string> {
88
88
  * Subscribers are called once, after every slice is in place, and a
89
89
  * restored pagination is kept even when the same call changed the sort,
90
90
  * filter or grouping that would otherwise send it back to the first page.
91
+ * A slice that throws stops the restore there, after the slices before it
92
+ * are shown, reported and announced as above.
91
93
  */
92
94
  readonly restoreState: (saved: Partial<GridState<Row>> | Partial<SerializedGridState<Row>>) => void;
93
95
  /**
@@ -155,12 +157,18 @@ interface GridController<Row, Node = string> {
155
157
  /**
156
158
  * Applies one click or key press to a row: `"replace"`, `"toggle"` or
157
159
  * `"range"` from the last row selected by anything but a range, across
158
- * the data rows on the current page.
160
+ * the data rows on the current page. That anchor goes when the selection is
161
+ * cleared or replaced, or its row leaves the page; a range without one
162
+ * selects just this row and anchors there.
159
163
  */
160
164
  readonly selectRow: (rowId: string, intent: SelectIntent) => void;
161
165
  /** Selects every data row on the current page, when `selectable.rows` is `"multiple"`. */
162
166
  readonly selectAllRows: () => void;
163
- /** Lets go of every row, column and cell selection at once, as Escape does. */
167
+ /**
168
+ * Lets go of every row, column and cell selection at once, as Escape does:
169
+ * one change, so each selection that changes fires its callback and then
170
+ * subscribers are called once.
171
+ */
164
172
  readonly clearSelection: () => void;
165
173
  /** Replaces the selected column ids as given — see `setRowSelection`. */
166
174
  readonly setColumnSelection: (selection: SelectionState) => void;
@@ -217,8 +225,10 @@ interface GridController<Row, Node = string> {
217
225
  /** Collapses every group currently shown — see `collapseAllGroups`. */
218
226
  readonly collapseAllGroups: () => void;
219
227
  /**
220
- * Replaces the page and page size as given; the view clamps a page past
221
- * the last one. An equal pagination reports nothing.
228
+ * Replaces the page and page size. A controlled pagination asks for them
229
+ * as given and the view clamps a page past the last one; an uncontrolled
230
+ * one stores and reports that page clamped. An equal pagination reports
231
+ * nothing.
222
232
  */
223
233
  readonly setPagination: (pagination: PaginationState) => void;
224
234
  /**
@@ -566,7 +576,10 @@ interface GridMessages {
566
576
  exportSelectionJson: string;
567
577
  /** `exportSelection.xlsx` */
568
578
  exportSelectionXlsx: string;
569
- /** Announced when an export's writer fails, so no file is saved. */
579
+ /**
580
+ * Announced when an export's writer fails or the browser refuses its
581
+ * download, so no file is saved.
582
+ */
570
583
  exportFailed: string;
571
584
  /** `copy.cell` */
572
585
  copyCell: string;
@@ -580,6 +593,8 @@ interface GridMessages {
580
593
  copyFailed: string;
581
594
  /** `print` */
582
595
  print: string;
596
+ /** Announced when the browser fails to print, so nothing is printed. */
597
+ printFailed: string;
583
598
  }
584
599
  /**
585
600
  * The grid's own English, its counts printed in `locale`'s digits —
@@ -1117,8 +1132,12 @@ interface GridCommandHost {
1117
1132
  * Saves an export as a file — in a browser, a download. A promise is the
1118
1133
  * file of a writer still writing; the host waits for it, and reports a
1119
1134
  * rejected one rather than saving.
1135
+ *
1136
+ * Returns `false` for a file it drops without saving, as a host that saves
1137
+ * one file at a time does with one asked for while it waits on the last.
1138
+ * The export command that asked then did not run.
1120
1139
  */
1121
- readonly saveFile: (file: ExportFile | Promise<ExportFile>) => void;
1140
+ readonly saveFile: ((file: ExportFile | Promise<ExportFile>) => void) | ((file: ExportFile | Promise<ExportFile>) => boolean);
1122
1141
  /**
1123
1142
  * Puts a copy on the clipboard, as text and as HTML, and announces it —
1124
1143
  * `count` and `unit` say what to announce — or that the browser refused.
@@ -1186,7 +1205,12 @@ interface GridCommand<Row> {
1186
1205
  readonly isEnabled?: ((context: GridCommandContext<Row>) => boolean) | undefined;
1187
1206
  /** Present for a checkable command — drawn as a checkbox item or a toggle button — and says whether it is checked. */
1188
1207
  readonly isChecked?: ((context: GridCommandContext<Row>) => boolean) | undefined;
1189
- readonly execute: (context: GridCommandContext<Row>) => void;
1208
+ /**
1209
+ * Does what the command does. Returns `false` when it turns out to do
1210
+ * nothing after all, such as an export the host dropped, so `runCommand`
1211
+ * says it did not run and a renderer does not report it.
1212
+ */
1213
+ readonly execute: ((context: GridCommandContext<Row>) => void) | ((context: GridCommandContext<Row>) => boolean);
1190
1214
  }
1191
1215
 
1192
1216
  /** The id of every command `builtInCommands` returns. */
@@ -1374,6 +1398,15 @@ interface ToolbarCustomEntry {
1374
1398
  * dropdown of the export commands that show; and a custom entry.
1375
1399
  */
1376
1400
  type ToolbarEntry<Row> = MenuEntry<Row> | "search" | "spacer" | "export" | ToolbarCustomEntry;
1401
+ /**
1402
+ * Attributes of the app's own for a toolbar entry's element, as hooks for
1403
+ * its tests, analytics or styles: an `id` and `data-*` attributes, nothing
1404
+ * that could change what the entry means or does.
1405
+ */
1406
+ interface ToolbarItemAttributes {
1407
+ readonly id?: string | undefined;
1408
+ readonly [name: `data-${string}`]: string;
1409
+ }
1377
1410
  /**
1378
1411
  * A toolbar button ready to draw — a command, or an inline item — with
1379
1412
  * every label a string, every flag a boolean, and `run` bound to the
@@ -1397,6 +1430,8 @@ interface ResolvedToolbarButton {
1397
1430
  readonly pressed: boolean | undefined;
1398
1431
  /** Runs the button, and says whether it ran — see `ResolvedMenuItem.run`. */
1399
1432
  readonly run: () => boolean;
1433
+ /** The app's attributes for its element, from `itemAttributes`. */
1434
+ readonly attributes?: ToolbarItemAttributes | undefined;
1400
1435
  }
1401
1436
  /** A dropdown button, opening the menu its submenu entry lists. */
1402
1437
  interface ResolvedToolbarMenu {
@@ -1408,12 +1443,16 @@ interface ResolvedToolbarMenu {
1408
1443
  readonly icon?: string | undefined;
1409
1444
  /** Never empty: a dropdown with nothing to show is left out. */
1410
1445
  readonly items: readonly ResolvedMenuEntry[];
1446
+ /** The app's attributes for its element, from `itemAttributes`. */
1447
+ readonly attributes?: ToolbarItemAttributes | undefined;
1411
1448
  }
1412
1449
  /** The search box, over the grid's global text filter. */
1413
1450
  interface ResolvedToolbarSearch {
1414
1451
  readonly type: "search";
1415
1452
  /** Always `"search"`. */
1416
1453
  readonly key: string;
1454
+ /** The app's attributes for its element, from `itemAttributes`. */
1455
+ readonly attributes?: ToolbarItemAttributes | undefined;
1417
1456
  }
1418
1457
  /** The free space between the entries either side of it. */
1419
1458
  interface ResolvedToolbarSpacer {
@@ -1427,6 +1466,8 @@ interface ResolvedToolbarCustom {
1427
1466
  readonly id: string;
1428
1467
  /** The same as `id`. */
1429
1468
  readonly key: string;
1469
+ /** The app's attributes for its element, from `itemAttributes`. */
1470
+ readonly attributes?: ToolbarItemAttributes | undefined;
1430
1471
  }
1431
1472
  /**
1432
1473
  * One entry of a toolbar as `resolveToolbar` hands it to a renderer to draw.
@@ -1436,12 +1477,21 @@ interface ResolvedToolbarCustom {
1436
1477
  */
1437
1478
  type ResolvedToolbarItem = ResolvedToolbarButton | ResolvedToolbarMenu | ResolvedToolbarSearch | ResolvedToolbarSpacer | ResolvedMenuSeparator | ResolvedToolbarCustom;
1438
1479
 
1439
- /** A grid's toolbar: what it lists, and what a screen reader calls it. */
1480
+ /**
1481
+ * A grid's toolbar: what it lists, what a screen reader calls it, and the
1482
+ * attributes of the app's own its entries' elements carry.
1483
+ */
1440
1484
  interface GridToolbarOptions<Row> {
1441
1485
  /** The toolbar's entries, in order. Left out, the defaults. */
1442
1486
  readonly items?: readonly ToolbarEntry<Row>[] | undefined;
1443
1487
  /** The toolbar's accessible name. Left out, `messages.toolbarLabel`. */
1444
1488
  readonly label?: string | undefined;
1489
+ /**
1490
+ * Attributes for entries' elements, by the entry's key: a command's,
1491
+ * inline item's, dropdown's or custom entry's id, `"search"` or
1492
+ * `"export"`. A key naming no entry, or a separator or spacer, is ignored.
1493
+ */
1494
+ readonly itemAttributes?: Readonly<Record<string, ToolbarItemAttributes>> | undefined;
1445
1495
  }
1446
1496
  /**
1447
1497
  * What a toolbar lists unless the grid says otherwise: the search box, then
@@ -1732,11 +1782,23 @@ interface GridOptions<Row> {
1732
1782
  */
1733
1783
  filterMenu?: GridFilterMenuOptions | undefined;
1734
1784
  /**
1735
- * Whether the grid's rows are split into pages. A page's unit is a
1736
- * top-level group or a bare data row, never a leaf row — a group is never
1737
- * split across a page boundary. Off by default, matching `sortableColumns`.
1785
+ * Whether the grid's rows are split into pages. Off by default, matching
1786
+ * `sortableColumns`. What a page's `pageSize` counts once the rows are
1787
+ * grouped is `paginationUnit`'s choice.
1738
1788
  */
1739
1789
  paginated?: boolean | undefined;
1790
+ /**
1791
+ * What `pageSize` counts in a grouped grid. `"group"` (the default) counts
1792
+ * top-level groups, each with everything beneath it, so a page never
1793
+ * splits a group but can grow as large as its groups. `"row"` counts data
1794
+ * rows, plus collapsed group headers, which stand in for their hidden
1795
+ * rows: every page holds `pageSize` of them, and a page continuing a group
1796
+ * starts with that group's headers again, with a group's summary row on
1797
+ * the page holding its last row. An ungrouped grid pages by data rows
1798
+ * under either. Selection, export and aggregates behave the same under
1799
+ * either unit.
1800
+ */
1801
+ paginationUnit?: PaginationUnit | undefined;
1740
1802
  /**
1741
1803
  * The page and page size to start on. Uncontrolled. Defaults to
1742
1804
  * `{ pageIndex: 0, pageSize: 25 }` when `paginated` is on and this is
@@ -1749,9 +1811,9 @@ interface GridOptions<Row> {
1749
1811
  * them itself, starting from `defaultPagination`.
1750
1812
  *
1751
1813
  * The grid sends an uncontrolled pagination back to the first page when
1752
- * the filter, sort or grouping changes; a controlled one is the parent's
1753
- * to reset alongside that change. Until it does, the grid shows the last
1754
- * page that exists rather than an empty one.
1814
+ * the filter, sort, grouping or `paginationUnit` changes; a controlled
1815
+ * one is the parent's to reset alongside that change. Until it does, the
1816
+ * grid shows the last page that exists rather than an empty one.
1755
1817
  */
1756
1818
  pagination?: PaginationState | undefined;
1757
1819
  /** Called once when the user changes the page or the page size. */
@@ -2078,8 +2140,9 @@ interface ColumnDefinition<Row, Node = string> {
2078
2140
  */
2079
2141
  footerTemplate?: ((context: FooterTemplateContext<Row>) => Node) | undefined;
2080
2142
  /**
2081
- * The value type of this column's cells. This package is framework-agnostic so it
2082
- * defaults to `string`;
2143
+ * The value type of this column's cells. Absent, the column has none: it
2144
+ * sorts as `compareValues` does without a type, two numbers or two `Date`s
2145
+ * by value and any other pair as text.
2083
2146
  */
2084
2147
  type?: ColumnType;
2085
2148
  /**
@@ -2218,6 +2281,15 @@ interface PaginationState {
2218
2281
  readonly pageIndex: number;
2219
2282
  readonly pageSize: number;
2220
2283
  }
2284
+ /**
2285
+ * What a grouped grid's `pageSize` counts. `"group"` counts top-level groups,
2286
+ * each with everything beneath it, so a page never splits a group. `"row"`
2287
+ * counts data rows and collapsed group headers, so every page holds
2288
+ * `pageSize` of them however large the groups are; a page continuing a group
2289
+ * starts with that group's headers again. An ungrouped grid pages by data
2290
+ * rows under either.
2291
+ */
2292
+ type PaginationUnit = "group" | "row";
2221
2293
  /** Reports a user page/page-size change whole — the one to persist from, mirroring ColumnSortEvent. */
2222
2294
  interface PaginationChangeEvent {
2223
2295
  readonly pagination: PaginationState;
@@ -2856,6 +2928,8 @@ type GridViewState<Row> = Omit<GridState<Row>, "rowSelection" | "columnSelection
2856
2928
  interface GridViewOptions<Row> {
2857
2929
  /** Whether `pageRows` is one page of `displayRows` rather than all of it. Defaults to `false`. */
2858
2930
  readonly paginated?: boolean | undefined;
2931
+ /** What a page's `pageSize` counts once grouped. Defaults to `"group"`. */
2932
+ readonly paginationUnit?: PaginationUnit | undefined;
2859
2933
  readonly aggregates?: AggregateState<Row> | undefined;
2860
2934
  /** Defaults to `"inline"`. */
2861
2935
  readonly groupAggregateDisplay?: GroupAggregateDisplay | undefined;
@@ -2946,7 +3020,7 @@ declare function resolveCommands<Row>(commands: readonly GridCommand<Row>[] | un
2946
3020
  * Runs `command` when it is visible and enabled on `context`'s target, and
2947
3021
  * says whether it did — so a renderer reports only a command that ran, and a
2948
3022
  * stale button or a call through the API cannot run one the grid's state no
2949
- * longer allows.
3023
+ * longer allows. A command whose `execute` returns `false` did not run.
2950
3024
  */
2951
3025
  declare function runCommand<Row>(command: GridCommand<Row>, context: GridCommandContext<Row>): boolean;
2952
3026
 
@@ -3011,6 +3085,8 @@ interface ToolbarResolveOptions<Row> {
3011
3085
  * opens a panel anchors it there.
3012
3086
  */
3013
3087
  readonly contextFor: (target: GridToolbarTarget) => GridCommandContext<Row>;
3088
+ /** Attributes for entries' elements, by key — see `GridToolbarOptions`. */
3089
+ readonly itemAttributes?: Readonly<Record<string, ToolbarItemAttributes>> | undefined;
3014
3090
  }
3015
3091
  /**
3016
3092
  * A toolbar's entries resolved against the grid, ready to draw, by the
@@ -3026,6 +3102,8 @@ interface ToolbarResolveOptions<Row> {
3026
3102
  * - `"search"`, `"spacer"` and custom entries stay as they are.
3027
3103
  * - Separators never lead, trail, double up or sit next to a spacer, which
3028
3104
  * already parts what is on either side of it.
3105
+ * - A button, dropdown, search box or custom entry whose key
3106
+ * `itemAttributes` names carries those `attributes`.
3029
3107
  *
3030
3108
  * Resolve again whenever the grid changes, so each button's label, flags
3031
3109
  * and `run` follow its state.
@@ -3411,8 +3489,8 @@ declare function revertColumnSize(current: ColumnSizingState, base: ColumnSizing
3411
3489
  /**
3412
3490
  * Compares two cell values the way `type` implies — numerically for the
3413
3491
  * numeric types, chronologically for the date/time types, lexically
3414
- * otherwise. Defaults to string comparison when `type` is absent, mirroring
3415
- * `ColumnDefinition.type`'s own default.
3492
+ * otherwise. With no `type`, two numbers or two `Date`s compare by value and
3493
+ * anything else as text; see `compareUntyped`.
3416
3494
  *
3417
3495
  * `null`/`undefined` sort after every value on both sides. Used directly,
3418
3496
  * that ordering is fixed; `sortRows` applies it directionally without
@@ -3635,18 +3713,27 @@ interface PaginatedRows<Row> {
3635
3713
  */
3636
3714
  readonly pageIndex: number;
3637
3715
  }
3716
+ interface PaginateRowsOptions {
3717
+ /** What `pageSize` counts — see `PaginationUnit`. Defaults to `"group"`. */
3718
+ readonly unit?: PaginationUnit | undefined;
3719
+ }
3638
3720
  /**
3639
- * `rows` sliced into pages of `pagination.pageSize` units — see `unitsOf`
3640
- * for what a unit is. `pageIndex` is clamped into range, `pageSize <= 0` is
3641
- * clamped to `1` (this codebase's general tolerance for stale/odd stored
3642
- * state, matching `sortRows`/`filterRows`), and the returned page's
3643
- * `rowIndex` is renumbered to be page-relative — 0-based from the top of the
3644
- * page, header rows included, mirroring `groupRows`'s own renumbering
3645
- * invariant. `datasetIndex` is left untouched: the stages ahead of this one
3646
- * set it to each row's position in the whole displayed result, which stays
3647
- * the same whichever page is showing.
3648
- */
3649
- declare function paginateRows<Row>(rows: readonly DisplayRow<Row>[], pagination: PaginationState): PaginatedRows<Row>;
3721
+ * `rows` sliced into pages of `pagination.pageSize` units — see
3722
+ * `groupUnitsOf` and `rowUnitsOf` for what a unit is under each
3723
+ * `options.unit`. A page opens with its first unit's enclosing headers, so
3724
+ * under `"row"` a header repeated from the page before is the same
3725
+ * `DisplayRow`, and toggling it toggles its group on every page.
3726
+ *
3727
+ * `pageIndex` is clamped into range, `pageSize <= 0` is clamped to `1`
3728
+ * (this codebase's general tolerance for stale/odd stored state, matching
3729
+ * `sortRows`/`filterRows`), and the returned page's `rowIndex` is renumbered
3730
+ * to be page-relative — 0-based from the top of the page, header rows
3731
+ * included, mirroring `groupRows`'s own renumbering invariant.
3732
+ * `datasetIndex` is left untouched: the stages ahead of this one set it to
3733
+ * each row's position in the whole displayed result, which stays the same
3734
+ * whichever page is showing.
3735
+ */
3736
+ declare function paginateRows<Row>(rows: readonly DisplayRow<Row>[], pagination: PaginationState, options?: PaginateRowsOptions): PaginatedRows<Row>;
3650
3737
 
3651
3738
  type PaginationWindowEntry = number | "ellipsis";
3652
3739
  /**
@@ -3882,6 +3969,24 @@ declare function filterEditorReducer<Row>(draft: FilterEditorDraft<Row>, action:
3882
3969
  * draft's combinator. Returns `current` itself when nothing changes.
3883
3970
  */
3884
3971
  declare function draftToFilter<Row>(draft: FilterEditorDraft<Row>, columnId: string, current: FilterState<Row>): FilterState<Row>;
3972
+ /**
3973
+ * Whether `draft` changes anything since the editor opened at `opened` — for
3974
+ * an Apply that changes nothing to leave the column's filter as it is,
3975
+ * rather than writing the draft over it. Compared by value, not identity, so
3976
+ * a value unchecked and checked again, or the same conditions typed again,
3977
+ * is no change; the search never is one.
3978
+ *
3979
+ * Only the half `draftToFilter` applies counts. A checklist changes when its
3980
+ * checked values or blanks differ from those it opened with, so one left as
3981
+ * it opened over conditions or a custom filter leaves that filter be.
3982
+ * Conditions change when they differ from those the draft opened with, and
3983
+ * always when it opened on a checklist, no filter or a custom one: setting
3984
+ * conditions there replaces it, none removing it.
3985
+ *
3986
+ * `clear` over a custom filter leaves a draft equal to the one it opened
3987
+ * with, so this reads it as no change.
3988
+ */
3989
+ declare function filterDraftChanged<Row>(opened: FilterEditorDraft<Row>, draft: FilterEditorDraft<Row>): boolean;
3885
3990
 
3886
3991
  /** What a column chooser is drawn from: every column, the visibility, and the search typed. */
3887
3992
  interface ColumnChooserInput<Row> {
@@ -4226,4 +4331,4 @@ declare const excelFilter: {
4226
4331
  };
4227
4332
  };
4228
4333
 
4229
- export { type AggregateFn, type AggregateResults, type AggregateSpec, type AggregateState, type Borders, type BuiltInAggregate, type BuiltInCommandIcon, type BuiltInCommandId, type CellSelectEvent, type CellSelectionChangeEvent, type CellSelectionMode, type CellSelectionState, type CellTemplateContext, type ColumnAlignment, type ColumnChooserEntry, type ColumnChooserInput, type ColumnChooserModel, type ColumnChooserToggle, type ColumnConstraints, type ColumnDefinition, type ColumnFilterMenuOptions, type ColumnFilterShape, type ColumnOrderEvent, type ColumnOrderState, type ColumnResizeEvent, type ColumnResizeSession, type ColumnResolveOptions, type ColumnSelectEvent, type ColumnSelectionChangeEvent, type ColumnSizeDefaults, type ColumnSizingState, type ColumnSortEntry, type ColumnSortEvent, type ColumnSortState, type ColumnType, type ColumnValueCacheQuery, type ColumnValueOption, type ColumnValueOptions, type ColumnValueOptionsCache, type ColumnValueQuery, type ColumnVisibilityEvent, type ColumnVisibilityState, type ColumnWrapConfig, type ColumnsSelectEvent, type ConditionRowDraft, type ContextMenuOpenChangeEvent, type CopyContent, type CopyRequest, type CopySource, type CsvOptions, DEFAULT_COLUMN_SIZES, DEFAULT_FILTER_VALUE_LIMIT, type DataColumn, type DisplayRow, type DropSide, type ExportCell, type ExportColumn, type ExportDataRow, type ExportFile, type ExportFileSource, type ExportGroupRow, type ExportGroupSummaryRow, type ExportOptions, type ExportRow, type ExportScalar, type ExportSource, type ExportTable, type ExportTotalRow, type ExportWriteContext, type ExportWriter, type FieldPath, type FilterChangeEvent, type FilterChecklist, type FilterChecklistItem, type FilterChecklistOptions, type FilterEditorAction, type FilterEditorDraft, type FilterEntry, type FilterMenuUi, type FilterOperator, type FilterOperatorFamily, type FilterPredicate, type FilterScalar, type FilterState, type FooterTemplateContext, type FormatLocale, type GridCommand, type GridCommandActions, type GridCommandContext, type GridCommandContextInput, type GridCommandEvent, type GridCommandHost, type GridCommandSource, type GridCommandTarget, type GridContextMenuArea, type GridContextMenuEntries, type GridContextMenuOptions, type GridContextMenuRequest, type GridContextMenuTarget, type GridController, type GridControllerOptions, type GridExportOptions, type GridFilterMenuOptions, type GridFocus, type GridMessages, type GridOptions, type GridPanelKind, type GridState, type GridToolbarOptions, type GridToolbarTarget, type GridView, type GridViewInput, type GridViewOptions, type GridViewState, type GroupAggregateDisplay, type GroupByBarVisibility, type GroupByEntry, type GroupByEvent, type GroupByState, type GroupExpansionEvent, type GroupExpansionState, type GroupFilterEntry, HEADER_ROW, type HoverableConfig, type HtmlTableOptions, type JsonOptions, KEYBOARD_STEP, type KeyShortcutCapabilities, type MenuEntry, type MenuItemEntry, type MenuMove, type MenuResolveOptions, type MenuSubmenuEntry, type NavigationModifiers, type OperatorFilterEntry, type PaginatedRows, type PaginationChangeEvent, type PaginationState, type PaginationWindowEntry, type ParsedConditionRows, type PredicateFilterEntry, type PrintDocument, type PrintOptions, type PrintOrientation, type PrintPage, type PrintSource, type ResizeMode, type ResolvedColumn, type ResolvedColumnFilterMenu, type ResolvedGroupRow, type ResolvedGroupSummaryRow, type ResolvedMenuEntry, type ResolvedMenuItem, type ResolvedMenuSeparator, type ResolvedMenuSubmenu, type ResolvedRow, type ResolvedToolbarButton, type ResolvedToolbarCustom, type ResolvedToolbarItem, type ResolvedToolbarMenu, type ResolvedToolbarSearch, type ResolvedToolbarSpacer, type RowHeights, type RowPointerEvent, type RowProps, type RowSelectEvent, type RowSelectionChangeEvent, type RowsSelectEvent, type SelectAllState, type SelectIntent, type SelectableConfig, type SelectedCell, type SelectedCellRef, type SelectedColumn, type SelectionCallbacks, type SelectionDiff, type SelectionDiffEvent, type SelectionMode, type SelectionState, type SerializedFilterEntry, type SerializedFilterScalar, type SerializedFilterState, type SerializedGridState, type SerializedGroupFilterEntry, type SerializedOperatorFilterEntry, type SerializedValueFilterEntry, type SortDirection, type TextFilterEntry, type ToolbarCustomEntry, type ToolbarEntry, type ToolbarFitInput, type ToolbarResolveOptions, type ToolbarSplit, type TsvOptions, type ValueFilterEntry, type VisibleRange, accessDotted, alignmentForType, applyColumnOrder, applyColumnResize, applyColumnVisibility, applySelectionIntent, beginColumnResize, buildExportTable, buildKeyShortcuts, buildPrintDocument, builtInCommands, clampColumnWidth, clampFocus, clearAllFilters, clearSelection, collapseAllGroups, columnValueOptions, compareValues, computeAggregates, conditionRowsFrom, conditionsFromRows, contextMenuEntries, copyContent, createColumnValueOptionsCache, createCommandContext, createDefaultMessages, createGridController, createGridViewResolver, csvWriter, defaultContextMenu, defaultFilterOperators, defaultMessages, defaultToolbar, defineColumnsFromRows, describeColumnFilter, diffSelection, draftToFilter, excelFilter, expandAllGroups, exportFile, exportPrintDocument, filterChecklist, filterEditorReducer, filterOperandArity, filterOperatorFamily, filterQueryFor, filterRows, fitColumnsToWidth, fitToolbarItems, formatAggregateValue, formatCellValue, formatFilterOperand, formatGroupValue, getColumnId, groupRowId, groupRows, hasContextMenu, initialFilterEditorDraft, intentOf, isColumnFiltered, isColumnVisible, isPinnedToolbarItem, isSameCell, jsonWriter, matchesQuery, moveColumnBefore, moveGroupByBefore, movesColumn, movesGroupBy, nextFocusForKey, nextMenuIndex, paginateRows, paginationWindow, parseFilterOperand, resolveCell, resolveColumnChooser, resolveColumnConstraints, resolveColumnFilterMenu, resolveColumnHeaderText, resolveColumnLabel, resolveColumnWidths, resolveColumns, resolveCommands, resolveDataColumns, resolveDropBefore, resolveExportWriters, resolveGridView, resolveKeyboardDropTarget, resolveMenu, resolveMessages, resolveRowId, resolveRows, resolveShownRows, resolveToolbar, revertColumnSize, runCommand, searchTextOf, selectAll, selectAllState, selectCell, selectOnly, selectRange, serializeGridState, setColumnFilter, setColumnVisibility, setSearchText, sizeColumnToContent, sortDirectionFor, sortPriorityFor, sortRows, splitToolbarItems, toCsv, toHtmlTable, toJson, toTsv, toggleCellSelection, toggleColumnSort, toggleGroupExpansion, toggleSelection, toolbarEntries, totalColumnWidth, typeaheadIndex, visibleFilterOptions, visibleRange, withGroupAggregates };
4334
+ export { type AggregateFn, type AggregateResults, type AggregateSpec, type AggregateState, type Borders, type BuiltInAggregate, type BuiltInCommandIcon, type BuiltInCommandId, type CellSelectEvent, type CellSelectionChangeEvent, type CellSelectionMode, type CellSelectionState, type CellTemplateContext, type ColumnAlignment, type ColumnChooserEntry, type ColumnChooserInput, type ColumnChooserModel, type ColumnChooserToggle, type ColumnConstraints, type ColumnDefinition, type ColumnFilterMenuOptions, type ColumnFilterShape, type ColumnOrderEvent, type ColumnOrderState, type ColumnResizeEvent, type ColumnResizeSession, type ColumnResolveOptions, type ColumnSelectEvent, type ColumnSelectionChangeEvent, type ColumnSizeDefaults, type ColumnSizingState, type ColumnSortEntry, type ColumnSortEvent, type ColumnSortState, type ColumnType, type ColumnValueCacheQuery, type ColumnValueOption, type ColumnValueOptions, type ColumnValueOptionsCache, type ColumnValueQuery, type ColumnVisibilityEvent, type ColumnVisibilityState, type ColumnWrapConfig, type ColumnsSelectEvent, type ConditionRowDraft, type ContextMenuOpenChangeEvent, type CopyContent, type CopyRequest, type CopySource, type CsvOptions, DEFAULT_COLUMN_SIZES, DEFAULT_FILTER_VALUE_LIMIT, type DataColumn, type DisplayRow, type DropSide, type ExportCell, type ExportColumn, type ExportDataRow, type ExportFile, type ExportFileSource, type ExportGroupRow, type ExportGroupSummaryRow, type ExportOptions, type ExportRow, type ExportScalar, type ExportSource, type ExportTable, type ExportTotalRow, type ExportWriteContext, type ExportWriter, type FieldPath, type FilterChangeEvent, type FilterChecklist, type FilterChecklistItem, type FilterChecklistOptions, type FilterEditorAction, type FilterEditorDraft, type FilterEntry, type FilterMenuUi, type FilterOperator, type FilterOperatorFamily, type FilterPredicate, type FilterScalar, type FilterState, type FooterTemplateContext, type FormatLocale, type GridCommand, type GridCommandActions, type GridCommandContext, type GridCommandContextInput, type GridCommandEvent, type GridCommandHost, type GridCommandSource, type GridCommandTarget, type GridContextMenuArea, type GridContextMenuEntries, type GridContextMenuOptions, type GridContextMenuRequest, type GridContextMenuTarget, type GridController, type GridControllerOptions, type GridExportOptions, type GridFilterMenuOptions, type GridFocus, type GridMessages, type GridOptions, type GridPanelKind, type GridState, type GridToolbarOptions, type GridToolbarTarget, type GridView, type GridViewInput, type GridViewOptions, type GridViewState, type GroupAggregateDisplay, type GroupByBarVisibility, type GroupByEntry, type GroupByEvent, type GroupByState, type GroupExpansionEvent, type GroupExpansionState, type GroupFilterEntry, HEADER_ROW, type HoverableConfig, type HtmlTableOptions, type JsonOptions, KEYBOARD_STEP, type KeyShortcutCapabilities, type MenuEntry, type MenuItemEntry, type MenuMove, type MenuResolveOptions, type MenuSubmenuEntry, type NavigationModifiers, type OperatorFilterEntry, type PaginateRowsOptions, type PaginatedRows, type PaginationChangeEvent, type PaginationState, type PaginationUnit, type PaginationWindowEntry, type ParsedConditionRows, type PredicateFilterEntry, type PrintDocument, type PrintOptions, type PrintOrientation, type PrintPage, type PrintSource, type ResizeMode, type ResolvedColumn, type ResolvedColumnFilterMenu, type ResolvedGroupRow, type ResolvedGroupSummaryRow, type ResolvedMenuEntry, type ResolvedMenuItem, type ResolvedMenuSeparator, type ResolvedMenuSubmenu, type ResolvedRow, type ResolvedToolbarButton, type ResolvedToolbarCustom, type ResolvedToolbarItem, type ResolvedToolbarMenu, type ResolvedToolbarSearch, type ResolvedToolbarSpacer, type RowHeights, type RowPointerEvent, type RowProps, type RowSelectEvent, type RowSelectionChangeEvent, type RowsSelectEvent, type SelectAllState, type SelectIntent, type SelectableConfig, type SelectedCell, type SelectedCellRef, type SelectedColumn, type SelectionCallbacks, type SelectionDiff, type SelectionDiffEvent, type SelectionMode, type SelectionState, type SerializedFilterEntry, type SerializedFilterScalar, type SerializedFilterState, type SerializedGridState, type SerializedGroupFilterEntry, type SerializedOperatorFilterEntry, type SerializedValueFilterEntry, type SortDirection, type TextFilterEntry, type ToolbarCustomEntry, type ToolbarEntry, type ToolbarFitInput, type ToolbarItemAttributes, type ToolbarResolveOptions, type ToolbarSplit, type TsvOptions, type ValueFilterEntry, type VisibleRange, accessDotted, alignmentForType, applyColumnOrder, applyColumnResize, applyColumnVisibility, applySelectionIntent, beginColumnResize, buildExportTable, buildKeyShortcuts, buildPrintDocument, builtInCommands, clampColumnWidth, clampFocus, clearAllFilters, clearSelection, collapseAllGroups, columnValueOptions, compareValues, computeAggregates, conditionRowsFrom, conditionsFromRows, contextMenuEntries, copyContent, createColumnValueOptionsCache, createCommandContext, createDefaultMessages, createGridController, createGridViewResolver, csvWriter, defaultContextMenu, defaultFilterOperators, defaultMessages, defaultToolbar, defineColumnsFromRows, describeColumnFilter, diffSelection, draftToFilter, excelFilter, expandAllGroups, exportFile, exportPrintDocument, filterChecklist, filterDraftChanged, filterEditorReducer, filterOperandArity, filterOperatorFamily, filterQueryFor, filterRows, fitColumnsToWidth, fitToolbarItems, formatAggregateValue, formatCellValue, formatFilterOperand, formatGroupValue, getColumnId, groupRowId, groupRows, hasContextMenu, initialFilterEditorDraft, intentOf, isColumnFiltered, isColumnVisible, isPinnedToolbarItem, isSameCell, jsonWriter, matchesQuery, moveColumnBefore, moveGroupByBefore, movesColumn, movesGroupBy, nextFocusForKey, nextMenuIndex, paginateRows, paginationWindow, parseFilterOperand, resolveCell, resolveColumnChooser, resolveColumnConstraints, resolveColumnFilterMenu, resolveColumnHeaderText, resolveColumnLabel, resolveColumnWidths, resolveColumns, resolveCommands, resolveDataColumns, resolveDropBefore, resolveExportWriters, resolveGridView, resolveKeyboardDropTarget, resolveMenu, resolveMessages, resolveRowId, resolveRows, resolveShownRows, resolveToolbar, revertColumnSize, runCommand, searchTextOf, selectAll, selectAllState, selectCell, selectOnly, selectRange, serializeGridState, setColumnFilter, setColumnVisibility, setSearchText, sizeColumnToContent, sortDirectionFor, sortPriorityFor, sortRows, splitToolbarItems, toCsv, toHtmlTable, toJson, toTsv, toggleCellSelection, toggleColumnSort, toggleGroupExpansion, toggleSelection, toolbarEntries, totalColumnWidth, typeaheadIndex, visibleFilterOptions, visibleRange, withGroupAggregates };