@gridkitjs/core 0.0.0-dev-20261109130950 → 0.0.0-dev-20261109132710

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
@@ -94,6 +94,10 @@ interface GridController<Row, Node = string> {
94
94
  * filter or grouping that would otherwise send it back to the first page.
95
95
  * A slice that throws stops the restore there, after the slices before it
96
96
  * are shown, reported and announced as above.
97
+ *
98
+ * A `groupExpansion` saved as a bare list of group ids, as GridKit saved
99
+ * it before the slice carried a mode, restores as `allExpanded` with those
100
+ * ids as the exceptions.
97
101
  */
98
102
  readonly restoreState: (saved: Partial<GridState<Row>> | Partial<SerializedGridState<Row>>) => void;
99
103
  /**
@@ -220,13 +224,19 @@ interface GridController<Row, Node = string> {
220
224
  */
221
225
  readonly moveGroupBy: (columnId: string, beforeColumnId: string | null) => void;
222
226
  /**
223
- * Replaces the collapsed groups. Reported with `groupId: null`, as a change
224
- * to every group at once; the same ids in the same order report nothing.
227
+ * Replaces which groups are expanded. Reported with `groupId: null`, as a
228
+ * change to every group at once; the same mode with the same exceptions
229
+ * in the same order reports nothing.
225
230
  */
226
231
  readonly setGroupExpansion: (expansion: GroupExpansionState) => void;
232
+ /** Expands a collapsed group or collapses an expanded one — see `toggleGroupExpansion`. */
227
233
  readonly toggleGroupExpansion: (groupId: string) => void;
234
+ /** Expands every group, including those that appear later — see `expandAllGroups`. */
228
235
  readonly expandAllGroups: () => void;
229
- /** Collapses every group currently shown — see `collapseAllGroups`. */
236
+ /**
237
+ * Collapses every group, including one under a collapsed ancestor and
238
+ * those that appear later — see `collapseAllGroups`.
239
+ */
230
240
  readonly collapseAllGroups: () => void;
231
241
  /**
232
242
  * Replaces the page and page size. A controlled pagination asks for them
@@ -1754,10 +1764,14 @@ interface GridOptions<Row> {
1754
1764
  * or reordering a level.
1755
1765
  */
1756
1766
  onGroupByChange?: ((event: GroupByEvent) => void) | undefined;
1757
- /** Group keys collapsed to start with — every other group starts expanded. Uncontrolled. */
1767
+ /**
1768
+ * Which groups start expanded, as a mode with exceptions — `{ mode:
1769
+ * "allCollapsed", except: [] }` starts every group collapsed. Every group
1770
+ * starts expanded when it is left out. Uncontrolled.
1771
+ */
1758
1772
  defaultGroupExpansion?: GroupExpansionState | undefined;
1759
1773
  /**
1760
- * The collapsed groups, controlled — applied as given, changed only
1774
+ * Which groups are expanded, controlled — applied as given, changed only
1761
1775
  * through `onGroupExpansionChange`. Leave it `undefined` for the grid to
1762
1776
  * keep it itself, starting from `defaultGroupExpansion`.
1763
1777
  */
@@ -2480,15 +2494,24 @@ interface GroupByEvent {
2480
2494
  readonly groupBy: GroupByState;
2481
2495
  }
2482
2496
  /**
2483
- * Group keys collapsed by the user — holding only the exceptions, the same
2484
- * way ColumnSizingState holds only resized widths. A key absent from this
2485
- * set is expanded; there is no separate "collapsed by default" concept.
2497
+ * Which groups are expanded, as a policy with exceptions: under
2498
+ * `allExpanded` every group is expanded but those whose `groupId` is in
2499
+ * `except`; under `allCollapsed` every group is collapsed but those. The
2500
+ * mode covers every group, including one hidden under a collapsed ancestor
2501
+ * and one that appears only after the state was set, so `except` holds just
2502
+ * the groups toggled against it.
2486
2503
  */
2487
- type GroupExpansionState = readonly string[];
2504
+ type GroupExpansionState = {
2505
+ readonly mode: "allExpanded";
2506
+ readonly except: readonly string[];
2507
+ } | {
2508
+ readonly mode: "allCollapsed";
2509
+ readonly except: readonly string[];
2510
+ };
2488
2511
  /**
2489
2512
  * Reports a user expansion change. `groupId` is the group toggled, or `null`
2490
- * for expandAllGroups/collapseAllGroups, which touch every group in one call
2491
- * rather than one at a time.
2513
+ * for expandAllGroups/collapseAllGroups and setGroupExpansion, which touch
2514
+ * every group in one call rather than one at a time.
2492
2515
  */
2493
2516
  interface GroupExpansionEvent {
2494
2517
  readonly groupId: string | null;
@@ -2504,7 +2527,7 @@ interface GroupExpansionEvent {
2504
2527
  */
2505
2528
  interface ResolvedGroupRow {
2506
2529
  readonly kind: "group";
2507
- /** Stable id for this node: this plan's join of `path`, used as the React key and the GroupExpansionState entry. Opaque — build it with `groupRowId`, never construct one by hand. */
2530
+ /** Stable id for this node: this plan's join of `path`, used as the React key and in GroupExpansionState's `except`. Opaque — build it with `groupRowId`, never construct one by hand. */
2508
2531
  readonly groupId: string;
2509
2532
  /** Nesting depth, 0 for a top-level group. */
2510
2533
  readonly level: number;
@@ -3626,9 +3649,9 @@ declare function groupRowId(path: readonly unknown[]): string;
3626
3649
  * `rows`, regrouped into `groupBy`'s stacked levels — a group header per
3627
3650
  * distinct value at each level, ordered by `compareValues` per that level's
3628
3651
  * own `direction`, followed depth-first by its nested groups and/or data
3629
- * rows. A collapsed group (its `groupId` present in `expansion`) contributes
3630
- * only its own header, nothing beneath it — but its `count` still reports
3631
- * the group's full leaf-row count either way.
3652
+ * rows. A group `expansion` collapses contributes only its own header,
3653
+ * nothing beneath it — but its `count` still reports the group's full
3654
+ * leaf-row count either way.
3632
3655
  *
3633
3656
  * Filter and sort are expected to have already run (see `resolveShownRows`):
3634
3657
  * this only reshapes their output, and never changes which rows appear or
@@ -3645,25 +3668,28 @@ declare function groupRowId(path: readonly unknown[]): string;
3645
3668
  * removed from the definition the same way a stored `ColumnSortState` does.
3646
3669
  */
3647
3670
  declare function groupRows<Row>(rows: readonly ResolvedRow<Row>[], groupBy: GroupByState, expansion: GroupExpansionState, columns: readonly DataColumn<Row, unknown>[]): readonly DisplayRow<Row>[];
3671
+ /** Every group expanded, with no exceptions: where an uncontrolled grid starts. */
3672
+ declare const ALL_EXPANDED: GroupExpansionState;
3673
+ /** Every group collapsed, with no exceptions. */
3674
+ declare const ALL_COLLAPSED: GroupExpansionState;
3675
+ /** Whether `expansion` shows the group `groupId` names expanded. */
3676
+ declare function isGroupExpanded(expansion: GroupExpansionState, groupId: string): boolean;
3648
3677
  /**
3649
3678
  * The expansion with `groupId` collapsed if it was expanded, or expanded if
3650
- * it was collapsed.
3679
+ * it was collapsed: it joins `except`, or leaves it, whatever the mode.
3651
3680
  */
3652
3681
  declare function toggleGroupExpansion(expansion: GroupExpansionState, groupId: string): GroupExpansionState;
3653
- /** `expansion` reduced to empty — every group expanded. Mirrors `clearAllFilters`. */
3682
+ /**
3683
+ * Every group expanded, now and as groups appear. Returns `expansion` itself
3684
+ * when it already says so, so expanding twice is no change.
3685
+ */
3654
3686
  declare function expandAllGroups(expansion: GroupExpansionState): GroupExpansionState;
3655
3687
  /**
3656
- * Every group id present in `rows` — for collapsing every group currently
3657
- * shown in one call. Operates on the already-grouped display, not the raw
3658
- * grouping, so a group hidden beneath an already-collapsed ancestor (and so
3659
- * absent from `rows`) keeps whatever expansion it already had rather than
3660
- * being forced closed too; expanding that ancestor again reveals it exactly
3661
- * as it was left.
3662
- *
3663
- * Group headers only: a summary row (`groupAggregateDisplay: "row"`) carries
3664
- * its group's id too, and counting it would list that group twice.
3688
+ * Every group collapsed, now and as groups appear: one hidden under a
3689
+ * collapsed ancestor too, so expanding that ancestor shows its children
3690
+ * collapsed. Returns `expansion` itself when it already says so.
3665
3691
  */
3666
- declare function collapseAllGroups<Row>(rows: readonly DisplayRow<Row>[]): GroupExpansionState;
3692
+ declare function collapseAllGroups(expansion: GroupExpansionState): GroupExpansionState;
3667
3693
  /**
3668
3694
  * `groupBy` with `columnId` positioned in front of `beforeColumnId` — or at
3669
3695
  * the end when that is `null` — inserting a fresh entry if `columnId` isn't
@@ -3881,28 +3907,42 @@ interface ColumnValueOptions {
3881
3907
  */
3882
3908
  readonly columnType?: ColumnType | undefined;
3883
3909
  }
3884
- /**
3885
- * A checklist or condition editor's working copy of one column's filter,
3886
- * changed by `filterEditorReducer` and turned into a filter by
3887
- * `draftToFilter` only when the user applies it — so cancelling is just
3888
- * dropping the draft.
3889
- */
3890
- interface FilterEditorDraft<Row> {
3891
- /** Which half of the draft `draftToFilter` applies: the last one changed. */
3892
- readonly mode: "values" | "conditions";
3910
+ /** What a `FilterEditorDraft` holds on either arm. */
3911
+ interface FilterEditorDraftBase<Row> {
3893
3912
  /** Every value the editor offers, from `columnValueOptions`. */
3894
3913
  readonly options: readonly ColumnValueOption[];
3895
3914
  /** How many rows hold a blank; the blanks entry only matters when some do. */
3896
3915
  readonly blanks: number;
3897
3916
  readonly search: string;
3917
+ /**
3918
+ * The column's filter as the editor opened on it. An action for the other
3919
+ * arm builds that arm from it, as reopening the editor would show it.
3920
+ */
3921
+ readonly openedShape: ColumnFilterShape<Row>;
3922
+ /** The column's `type`, from `ColumnValueOptions` — what values are keyed by. */
3923
+ readonly columnType?: ColumnType | undefined;
3924
+ }
3925
+ /** A draft on its checklist: the values `draftToFilter` writes as an `in` entry. */
3926
+ interface ValuesDraft<Row> extends FilterEditorDraftBase<Row> {
3927
+ readonly kind: "values";
3898
3928
  /** The checked values, keyed as an `in` filter on the column keys them. */
3899
3929
  readonly checked: ReadonlyMap<string, FilterScalar>;
3900
3930
  readonly includeBlanks: boolean;
3931
+ }
3932
+ /** A draft on its conditions: the operator entries `draftToFilter` writes. */
3933
+ interface ConditionsDraft<Row> extends FilterEditorDraftBase<Row> {
3934
+ readonly kind: "conditions";
3901
3935
  readonly conditions: readonly OperatorFilterEntry<Row>[];
3902
3936
  readonly combinator: "and" | "or";
3903
- /** The column's `type`, from `ColumnValueOptions` — what values are keyed by. */
3904
- readonly columnType?: ColumnType | undefined;
3905
3937
  }
3938
+ /**
3939
+ * A checklist or condition editor's working copy of one column's filter,
3940
+ * changed by `filterEditorReducer` and turned into a filter by
3941
+ * `draftToFilter` only when the user applies it — so cancelling is just
3942
+ * dropping the draft. It is on one arm at a time, the one `draftToFilter`
3943
+ * applies: the last one changed.
3944
+ */
3945
+ type FilterEditorDraft<Row> = ValuesDraft<Row> | ConditionsDraft<Row>;
3906
3946
  type FilterEditorAction<Row> = {
3907
3947
  readonly type: "search";
3908
3948
  readonly search: string;
@@ -3919,10 +3959,16 @@ type FilterEditorAction<Row> = {
3919
3959
  } | {
3920
3960
  readonly type: "setConditions";
3921
3961
  readonly conditions: readonly OperatorFilterEntry<Row>[];
3922
- /** Keeps the draft's own when omitted. */
3962
+ /**
3963
+ * Keeps the draft's own when omitted; a checklist draft's is the opened
3964
+ * filter's, or `"and"`.
3965
+ */
3923
3966
  readonly combinator?: "and" | "or";
3924
3967
  }
3925
- /** Back to "no filter": every value checked, no conditions, no search. */
3968
+ /**
3969
+ * Back to "no filter" on the draft's own arm — every value checked, or no
3970
+ * conditions — and no search.
3971
+ */
3926
3972
  | {
3927
3973
  readonly type: "clear";
3928
3974
  };
@@ -3960,11 +4006,24 @@ declare function isColumnFiltered<Row>(filter: FilterState<Row>, columnId: strin
3960
4006
  declare function columnValueOptions<Row>(rows: readonly Row[], dataColumns: readonly DataColumn<Row, unknown>[], filter: FilterState<Row>, columnId: string, query?: ColumnValueQuery): ColumnValueOptions;
3961
4007
  /**
3962
4008
  * A draft showing `shape` over `values` — what an editor opens with. A
3963
- * column with no filter, or one only a custom editor could show, opens with
3964
- * every value checked; a checklist with its own values checked, kept even
3965
- * when the other filters now hide them; conditions as they are.
4009
+ * column filtered by conditions opens on them as they are. Anything else
4010
+ * opens on the checklist: with no filter, or one only a custom editor could
4011
+ * show, every value checked; a checklist with its own values checked, kept
4012
+ * even when the other filters now hide them.
3966
4013
  */
3967
4014
  declare function initialFilterEditorDraft<Row>(shape: ColumnFilterShape<Row>, values: ColumnValueOptions): FilterEditorDraft<Row>;
4015
+ /**
4016
+ * `draft` on its checklist: itself when it is there, otherwise the checklist
4017
+ * the filter it opened on shows, its conditions dropped. What a value action
4018
+ * starts from, and what a checklist draws over a draft on its conditions.
4019
+ */
4020
+ declare function toValuesDraft<Row>(draft: FilterEditorDraft<Row>): ValuesDraft<Row>;
4021
+ /**
4022
+ * `draft` on its conditions: itself when it is there, otherwise the
4023
+ * conditions the filter it opened on holds (none unless it was conditions),
4024
+ * its checklist dropped. What `setConditions` starts from.
4025
+ */
4026
+ declare function toConditionsDraft<Row>(draft: FilterEditorDraft<Row>): ConditionsDraft<Row>;
3968
4027
  /** The options the draft's search shows — those a select-all acts on. */
3969
4028
  declare function visibleFilterOptions<Row>(draft: FilterEditorDraft<Row>): readonly ColumnValueOption[];
3970
4029
  /**
@@ -3972,12 +4031,14 @@ declare function visibleFilterOptions<Row>(draft: FilterEditorDraft<Row>): reado
3972
4031
  * checked, none is, or some are — blanks included while nothing is
3973
4032
  * searched.
3974
4033
  */
3975
- declare function selectAllState<Row>(draft: FilterEditorDraft<Row>): SelectAllState;
4034
+ declare function selectAllState<Row>(draft: ValuesDraft<Row>): SelectAllState;
3976
4035
  /**
3977
4036
  * The next draft after `action` — a plain reducer, so a renderer can hold
3978
4037
  * the draft in whatever state it has (`useReducer`, a signal, a store).
3979
- * Changing a value or the blanks switches the draft to its checklist;
3980
- * setting conditions switches it to them.
4038
+ * Changing a value or the blanks puts the draft on its checklist; setting
4039
+ * conditions puts it on its conditions. An action for the arm the draft
4040
+ * is not on starts that arm as the filter the editor opened on shows it
4041
+ * (`toValuesDraft`, `toConditionsDraft`), dropping what the other arm held.
3981
4042
  */
3982
4043
  declare function filterEditorReducer<Row>(draft: FilterEditorDraft<Row>, action: FilterEditorAction<Row>): FilterEditorDraft<Row>;
3983
4044
  /**
@@ -3999,12 +4060,13 @@ declare function draftToFilter<Row>(draft: FilterEditorDraft<Row>, columnId: str
3999
4060
  * a value unchecked and checked again, or the same conditions typed again,
4000
4061
  * is no change; the search never is one.
4001
4062
  *
4002
- * Only the half `draftToFilter` applies counts. A checklist changes when its
4003
- * checked values or blanks differ from those it opened with, so one left as
4004
- * it opened over conditions or a custom filter leaves that filter be.
4005
- * Conditions change when they differ from those the draft opened with, and
4006
- * always when it opened on a checklist, no filter or a custom one: setting
4007
- * conditions there replaces it, none removing it.
4063
+ * Only the arm `draft` is on counts. A checklist changes when its checked
4064
+ * values or blanks differ from those `opened` shows (`toValuesDraft`), so
4065
+ * one left as it opened over conditions or a custom filter leaves that
4066
+ * filter be. Conditions change when they differ from those `opened` holds,
4067
+ * and always when `opened` is on its checklist (it opened on a checklist,
4068
+ * no filter or a custom one): setting conditions there replaces it, none
4069
+ * removing it.
4008
4070
  *
4009
4071
  * `clear` over a custom filter leaves a draft equal to the one it opened
4010
4072
  * with, so this reads it as no change.
@@ -4232,7 +4294,7 @@ interface FilterChecklist {
4232
4294
  /**
4233
4295
  * The list a checklist editor draws for `draft`: the window of values its
4234
4296
  * search shows, as items carrying what each row says and whether it is
4235
- * checked.
4297
+ * checked. A draft on its conditions draws through `toValuesDraft`.
4236
4298
  *
4237
4299
  * A column can hold far more values than a list is worth scrolling, so the
4238
4300
  * list shows at most `valueLimit` of them. Past that, it shows nothing until
@@ -4245,7 +4307,7 @@ interface FilterChecklist {
4245
4307
  * searched: exactly when select-all counts the blanks, so the checkbox acts
4246
4308
  * on what the list shows.
4247
4309
  */
4248
- declare function filterChecklist<Row>(draft: FilterEditorDraft<Row>, { valueLimit, blanksLabel }: FilterChecklistOptions): FilterChecklist;
4310
+ declare function filterChecklist<Row>(draft: ValuesDraft<Row>, { valueLimit, blanksLabel }: FilterChecklistOptions): FilterChecklist;
4249
4311
 
4250
4312
  /**
4251
4313
  * One entry per row: its measured height once known, `undefined` until then.
@@ -4354,4 +4416,4 @@ declare const excelFilter: {
4354
4416
  };
4355
4417
  };
4356
4418
 
4357
- 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 };
4419
+ export { ALL_COLLAPSED, ALL_EXPANDED, 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 ConditionsDraft, 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 FilterEditorDraftBase, 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 ValuesDraft, 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, isGroupExpanded, 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, toConditionsDraft, toCsv, toHtmlTable, toJson, toTsv, toValuesDraft, toggleCellSelection, toggleColumnSort, toggleGroupExpansion, toggleSelection, toolbarEntries, totalColumnWidth, typeaheadIndex, visibleFilterOptions, visibleRange, withGroupAggregates };