@gridkitjs/core 0.18.0 → 0.20.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/{chunk-QGKPKQIO.js → chunk-RYMILPCT.js} +337 -175
- package/dist/chunk-RYMILPCT.js.map +1 -0
- package/dist/{filterEditor-B7C_n89V.d.ts → filterEditor-D_bo2a9W.d.ts} +291 -28
- package/dist/index.d.ts +15 -7
- package/dist/index.js +199 -101
- package/dist/index.js.map +1 -1
- package/dist/renderer.d.ts +2 -2
- package/dist/renderer.js +7 -1
- package/dist/renderer.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-QGKPKQIO.js.map +0 -1
|
@@ -130,8 +130,10 @@ interface GridController<Row, Node = string> {
|
|
|
130
130
|
readonly setColumnOrder: (order: ColumnOrderState) => void;
|
|
131
131
|
/**
|
|
132
132
|
* Moves a column in front of `beforeId`, or to the end when that is
|
|
133
|
-
* `null`, among every column — hidden ones keep their place.
|
|
134
|
-
*
|
|
133
|
+
* `null`, among every column — hidden ones keep their place. The column
|
|
134
|
+
* stays among those pinned to the same edge, or the unpinned ones: a
|
|
135
|
+
* `beforeId` in an earlier group moves it to the start of its own, and one
|
|
136
|
+
* in a later group to its end. A move that changes nothing reports nothing.
|
|
135
137
|
*/
|
|
136
138
|
readonly moveColumn: (columnId: string, beforeId: string | null) => void;
|
|
137
139
|
/**
|
|
@@ -144,6 +146,19 @@ interface GridController<Row, Node = string> {
|
|
|
144
146
|
readonly showColumns: (columnIds: readonly string[]) => void;
|
|
145
147
|
/** Hides the given columns. A hidden column still sorts, filters and groups. */
|
|
146
148
|
readonly hideColumns: (columnIds: readonly string[]) => void;
|
|
149
|
+
/**
|
|
150
|
+
* Replaces the column pinning state. Reported through
|
|
151
|
+
* `onColumnPinningChange` with every column whose entry changed; an equal
|
|
152
|
+
* state reports nothing.
|
|
153
|
+
*/
|
|
154
|
+
readonly setColumnPinning: (pinning: ColumnPinningState) => void;
|
|
155
|
+
/**
|
|
156
|
+
* Pins a column to the `"start"` or `"end"` edge, or unpins it with
|
|
157
|
+
* `"none"`, leaving the column order as it is: an unpinned column goes
|
|
158
|
+
* back to its place among the others. A column already there, or an id
|
|
159
|
+
* naming no column, reports nothing.
|
|
160
|
+
*/
|
|
161
|
+
readonly pinColumn: (columnId: string, pin: ColumnPin) => void;
|
|
147
162
|
/**
|
|
148
163
|
* Replaces the filter. Reported through `onFilterChange`; a filter equal to
|
|
149
164
|
* the current one — the same entries in the same order, a `Date` value
|
|
@@ -367,7 +382,7 @@ declare function formatGroupValue<Row>(value: unknown, column: ColumnDefinition<
|
|
|
367
382
|
|
|
368
383
|
/**
|
|
369
384
|
* Every string a grid shows or announces of its own — the pager, the group-by
|
|
370
|
-
* bar, the loading row, the text of a boolean or missing value, the labels of
|
|
385
|
+
* bar, the loading row, an empty grid's message, the text of a boolean or missing value, the labels of
|
|
371
386
|
* its built-in commands, the names of its menus, toolbar and column chooser,
|
|
372
387
|
* and the live-region
|
|
373
388
|
* announcements — so a grid can
|
|
@@ -401,11 +416,23 @@ interface GridMessages {
|
|
|
401
416
|
pageButtonLabel: (page: number) => string;
|
|
402
417
|
/**
|
|
403
418
|
* The compact pager's status, and what a page change announces. `page`
|
|
404
|
-
* counts from one
|
|
419
|
+
* counts from one.
|
|
405
420
|
*/
|
|
406
421
|
pageStatus: (page: number, pageCount: number) => string;
|
|
407
422
|
/** The row shown while `infiniteScroll` loads more. */
|
|
408
423
|
loadingMore: string;
|
|
424
|
+
/**
|
|
425
|
+
* Shown over the rows while the grid's `loading` option is on, and
|
|
426
|
+
* announced as it turns on.
|
|
427
|
+
*/
|
|
428
|
+
loading: string;
|
|
429
|
+
/** Shown in place of the rows when the grid has none and no filter is active. */
|
|
430
|
+
noRows: string;
|
|
431
|
+
/**
|
|
432
|
+
* Shown in place of the rows when the filter, the toolbar's search
|
|
433
|
+
* included, hides every row.
|
|
434
|
+
*/
|
|
435
|
+
noMatchingRows: string;
|
|
409
436
|
/** A boolean cell's text. */
|
|
410
437
|
booleanTrue: string;
|
|
411
438
|
booleanFalse: string;
|
|
@@ -447,6 +474,10 @@ interface GridMessages {
|
|
|
447
474
|
columnsHidden: (count: number) => string;
|
|
448
475
|
/** Announced when one change shows more than one column. */
|
|
449
476
|
columnsShown: (count: number) => string;
|
|
477
|
+
/** Announced when one column is pinned to the grid's `"start"` or `"end"` edge. */
|
|
478
|
+
columnPinned: (columnName: string, edge: "start" | "end") => string;
|
|
479
|
+
/** Announced when one column is unpinned. */
|
|
480
|
+
columnUnpinned: (columnName: string) => string;
|
|
450
481
|
/**
|
|
451
482
|
* Announced when one action autofits more than one column, as
|
|
452
483
|
* `column.autoFitAll` does, in place of each column's `columnResized`.
|
|
@@ -475,6 +506,12 @@ interface GridMessages {
|
|
|
475
506
|
collapseAllGroups: string;
|
|
476
507
|
/** `column.hide` */
|
|
477
508
|
hideColumn: string;
|
|
509
|
+
/** `column.pinStart`: pins the column to the grid's start edge. */
|
|
510
|
+
pinToStart: string;
|
|
511
|
+
/** `column.pinEnd`: pins the column to the grid's end edge. */
|
|
512
|
+
pinToEnd: string;
|
|
513
|
+
/** `column.unpin` */
|
|
514
|
+
unpinColumn: string;
|
|
478
515
|
/** `column.autoFit`: sizes the column to its content. */
|
|
479
516
|
autoFitColumn: string;
|
|
480
517
|
autoFitAllColumns: string;
|
|
@@ -1248,7 +1285,7 @@ interface GridCommand<Row> {
|
|
|
1248
1285
|
* The id of every command `builtInCommands` returns. A minor release may
|
|
1249
1286
|
* add a command, so a `switch` over it needs a `default`.
|
|
1250
1287
|
*/
|
|
1251
|
-
type BuiltInCommandId = "sort.ascending" | "sort.descending" | "sort.clear" | "sort.clearAll" | "group.add" | "group.remove" | "group.clearAll" | "group.expandAll" | "group.collapseAll" | "column.hide" | "column.autoFit" | "column.autoFitAll" | "column.choose" | "filter.open" | "filter.clear" | "selection.selectAllRows" | "selection.clear" | "filter.clearAll" | "export.csv" | "export.json" | "export.xlsx" | "export.pdf" | "exportSelection.csv" | "exportSelection.json" | "exportSelection.xlsx" | "copy.cell" | "copy.row" | "copy.selection" | "print";
|
|
1288
|
+
type BuiltInCommandId = "sort.ascending" | "sort.descending" | "sort.clear" | "sort.clearAll" | "group.add" | "group.remove" | "group.clearAll" | "group.expandAll" | "group.collapseAll" | "column.hide" | "column.pinStart" | "column.pinEnd" | "column.unpin" | "column.autoFit" | "column.autoFitAll" | "column.choose" | "filter.open" | "filter.clear" | "selection.selectAllRows" | "selection.clear" | "filter.clearAll" | "export.csv" | "export.json" | "export.xlsx" | "export.pdf" | "exportSelection.csv" | "exportSelection.json" | "exportSelection.xlsx" | "copy.cell" | "copy.row" | "copy.selection" | "print";
|
|
1252
1289
|
/**
|
|
1253
1290
|
* The icon keys the built-ins carry, which a renderer draws as icons of its
|
|
1254
1291
|
* own. An app command may use them too, to look like the built-ins. A minor
|
|
@@ -1257,7 +1294,7 @@ type BuiltInCommandId = "sort.ascending" | "sort.descending" | "sort.clear" | "s
|
|
|
1257
1294
|
type BuiltInCommandIcon = "sortAscending" | "sortDescending" | "group" | "hide" | "autoFit" | "copy" | "print";
|
|
1258
1295
|
/**
|
|
1259
1296
|
* The grid's own commands, one per action its menus and toolbar offer —
|
|
1260
|
-
* sorting, grouping, hiding, fitting and choosing columns, selecting,
|
|
1297
|
+
* sorting, grouping, hiding, pinning, fitting and choosing columns, selecting,
|
|
1261
1298
|
* clearing, exporting, copying and printing.
|
|
1262
1299
|
* Labels come from `messages`, so they follow the grid's language.
|
|
1263
1300
|
*
|
|
@@ -1587,6 +1624,35 @@ interface RowProps {
|
|
|
1587
1624
|
*/
|
|
1588
1625
|
interface GridOptions<Row> {
|
|
1589
1626
|
dataSource?: readonly Row[] | undefined;
|
|
1627
|
+
/**
|
|
1628
|
+
* The app is fetching rows; the grid shows it and changes nothing else. A
|
|
1629
|
+
* renderer draws `messages.loading` over the rows it already shows, marks
|
|
1630
|
+
* the grid busy and announces it once. The grid never sets it itself, and
|
|
1631
|
+
* never fetches.
|
|
1632
|
+
*/
|
|
1633
|
+
loading?: boolean | undefined;
|
|
1634
|
+
/**
|
|
1635
|
+
* Who sorts, filters and pages the rows. `"client"` (the default): the
|
|
1636
|
+
* grid does, over every row in `dataSource`. `"server"`: the app's server
|
|
1637
|
+
* already has, and `dataSource` holds the result as it came back.
|
|
1638
|
+
*
|
|
1639
|
+
* Under `"server"` the grid shows the rows in the order given, and keeps
|
|
1640
|
+
* and reports sort, filter and pagination state exactly as it does under
|
|
1641
|
+
* `"client"`, so the callbacks say what to fetch next. With `paginated`
|
|
1642
|
+
* on, `dataSource` is the page `pagination` names: every row in it is
|
|
1643
|
+
* shown, pages are counted from `rowCount`, and `paginationUnit` is
|
|
1644
|
+
* ignored. Grouping, aggregates and the grand total cover only the rows
|
|
1645
|
+
* given, and group headers add nothing to the page count. The grid never
|
|
1646
|
+
* fetches.
|
|
1647
|
+
*/
|
|
1648
|
+
dataMode?: DataMode | undefined;
|
|
1649
|
+
/**
|
|
1650
|
+
* The total number of rows the server has for the current filter, updated
|
|
1651
|
+
* with each response. Read only under `dataMode: "server"`, where it sets
|
|
1652
|
+
* the page count and the grid's row count; left out, both fall back to the
|
|
1653
|
+
* rows in `dataSource`.
|
|
1654
|
+
*/
|
|
1655
|
+
rowCount?: number | undefined;
|
|
1590
1656
|
/**
|
|
1591
1657
|
* A row's stable identity, for state keyed by it. Defaults to the row's
|
|
1592
1658
|
* position, which is enough for a static grid but ties that state to where a
|
|
@@ -1706,6 +1772,23 @@ interface GridOptions<Row> {
|
|
|
1706
1772
|
* change touched. A call that changes nothing does not call it.
|
|
1707
1773
|
*/
|
|
1708
1774
|
onColumnVisibilityChange?: ((event: ColumnVisibilityEvent) => void) | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* Columns pinned (`"start"`, `"end"`) or unpinned (`"none"`) to start
|
|
1777
|
+
* with, keyed by column id, over each definition's own `pinned`.
|
|
1778
|
+
* Uncontrolled.
|
|
1779
|
+
*/
|
|
1780
|
+
defaultColumnPinning?: ColumnPinningState | undefined;
|
|
1781
|
+
/**
|
|
1782
|
+
* Which columns are pinned, controlled — applied as given, changed only
|
|
1783
|
+
* through `onColumnPinningChange`. Leave it `undefined` for the grid to
|
|
1784
|
+
* keep it itself, starting from `defaultColumnPinning`.
|
|
1785
|
+
*/
|
|
1786
|
+
columnPinning?: ColumnPinningState | undefined;
|
|
1787
|
+
/**
|
|
1788
|
+
* Called once when columns are pinned or unpinned, with every column that
|
|
1789
|
+
* one change touched. A call that changes nothing does not call it.
|
|
1790
|
+
*/
|
|
1791
|
+
onColumnPinningChange?: ((event: ColumnPinningEvent) => void) | undefined;
|
|
1709
1792
|
/**
|
|
1710
1793
|
* Sizes applied to columns that do not set their own — the width they start
|
|
1711
1794
|
* at and the bounds they may be resized between. Distinct from
|
|
@@ -1838,7 +1921,8 @@ interface GridOptions<Row> {
|
|
|
1838
1921
|
* starts with that group's headers again, with a group's summary row on
|
|
1839
1922
|
* the page holding its last row. An ungrouped grid pages by data rows
|
|
1840
1923
|
* under either. Selection, export and aggregates behave the same under
|
|
1841
|
-
* either unit.
|
|
1924
|
+
* either unit. Ignored under `dataMode: "server"`, where the server cuts
|
|
1925
|
+
* the pages.
|
|
1842
1926
|
*/
|
|
1843
1927
|
paginationUnit?: PaginationUnit | undefined;
|
|
1844
1928
|
/**
|
|
@@ -1864,7 +1948,8 @@ interface GridOptions<Row> {
|
|
|
1864
1948
|
* Aggregates to compute — a subtotal per group (rendered in that group's
|
|
1865
1949
|
* header) plus a grand total over the whole filtered/grouped dataset
|
|
1866
1950
|
* (rendered in a footer). Always computed over every row, never scoped to
|
|
1867
|
-
* the current page
|
|
1951
|
+
* the current page — though under `dataMode: "server"` every row is the
|
|
1952
|
+
* rows given. A plain controlled prop, unlike `sort`/`filter`/
|
|
1868
1953
|
* `groupBy`/`pagination`: there is no built-in UI for a user to add or
|
|
1869
1954
|
* remove an aggregate interactively, so there is no `defaultAggregates`/
|
|
1870
1955
|
* `onAggregatesChange` pair to go with it.
|
|
@@ -2293,6 +2378,16 @@ interface ColumnDefinition<Row, Node = string> {
|
|
|
2293
2378
|
* ways to do it and nothing else: `hideColumns` still hides the column.
|
|
2294
2379
|
*/
|
|
2295
2380
|
hideable?: boolean | undefined;
|
|
2381
|
+
/**
|
|
2382
|
+
* Pins this column to the grid's inline start or end edge, where it stays
|
|
2383
|
+
* while the other columns scroll sideways. `"start"` is the left edge in a
|
|
2384
|
+
* left-to-right page and the right edge in a right-to-left one. Pinned
|
|
2385
|
+
* columns are drawn ahead of, or after, every unpinned one, each group in
|
|
2386
|
+
* column order. Pinning or unpinning it later lives in
|
|
2387
|
+
* `ColumnPinningState`, which wins over this for as long as it holds an
|
|
2388
|
+
* entry for the column.
|
|
2389
|
+
*/
|
|
2390
|
+
pinned?: "start" | "end" | undefined;
|
|
2296
2391
|
/**
|
|
2297
2392
|
* Whether this column is written to an export, a clipboard copy or a
|
|
2298
2393
|
* print. Defaults to `true`. `false` keeps it out of every one of them —
|
|
@@ -2335,6 +2430,14 @@ interface PaginationState {
|
|
|
2335
2430
|
* rows under either.
|
|
2336
2431
|
*/
|
|
2337
2432
|
type PaginationUnit = "group" | "row";
|
|
2433
|
+
/**
|
|
2434
|
+
* Who sorts, filters and pages the rows. `"client"`: the grid does, over
|
|
2435
|
+
* every row it holds. `"server"`: the app's server already has, so the grid
|
|
2436
|
+
* shows the rows it is given in the order given, and counts pages from the
|
|
2437
|
+
* total the app supplies. A minor release may add a mode, so a `switch` over
|
|
2438
|
+
* it needs a `default`.
|
|
2439
|
+
*/
|
|
2440
|
+
type DataMode = "client" | "server";
|
|
2338
2441
|
/** Reports a user page/page-size change whole — the one to persist from, mirroring ColumnSortEvent. */
|
|
2339
2442
|
interface PaginationChangeEvent {
|
|
2340
2443
|
readonly pagination: PaginationState;
|
|
@@ -2363,6 +2466,8 @@ interface ColumnResolveOptions {
|
|
|
2363
2466
|
reorderable?: boolean | undefined;
|
|
2364
2467
|
/** Whether columns may be dragged into the group-by bar, unless a column says otherwise. */
|
|
2365
2468
|
groupByDraggable?: boolean | undefined;
|
|
2469
|
+
/** Columns pinned or unpinned over their definitions' `pinned`. */
|
|
2470
|
+
pinning?: ColumnPinningState | undefined;
|
|
2366
2471
|
}
|
|
2367
2472
|
/**
|
|
2368
2473
|
* How a column's width relates to the grid's.
|
|
@@ -2413,6 +2518,20 @@ interface ResolvedColumn<Row, Node = string> {
|
|
|
2413
2518
|
groupByDraggable: boolean;
|
|
2414
2519
|
/** How this column's cells align, after falling back to its type. */
|
|
2415
2520
|
alignment: ColumnAlignment;
|
|
2521
|
+
/** The edge this column is pinned to, after the pinning state, or `"none"`. */
|
|
2522
|
+
pinned: ColumnPin;
|
|
2523
|
+
/**
|
|
2524
|
+
* How far, in px, a pinned column sits from its edge: the summed widths of
|
|
2525
|
+
* the columns pinned to the same edge between it and that edge. `0` for
|
|
2526
|
+
* the column nearest the edge, and for an unpinned column.
|
|
2527
|
+
*/
|
|
2528
|
+
pinOffset: number;
|
|
2529
|
+
/**
|
|
2530
|
+
* Whether this column is the last pinned to the start edge or the first
|
|
2531
|
+
* pinned to the end edge — the one beside the scrolling columns, where a
|
|
2532
|
+
* divider goes.
|
|
2533
|
+
*/
|
|
2534
|
+
pinEdge: boolean;
|
|
2416
2535
|
}
|
|
2417
2536
|
/**
|
|
2418
2537
|
* A resize in progress. It captures its constraints up front so that applying
|
|
@@ -2450,6 +2569,26 @@ interface ColumnVisibilityEvent {
|
|
|
2450
2569
|
readonly columnIds: readonly string[];
|
|
2451
2570
|
readonly visibility: ColumnVisibilityState;
|
|
2452
2571
|
}
|
|
2572
|
+
/**
|
|
2573
|
+
* The edge a column is pinned to: the grid's inline `"start"` or `"end"`, or
|
|
2574
|
+
* `"none"` for a column that scrolls with the rest.
|
|
2575
|
+
*/
|
|
2576
|
+
type ColumnPin = "start" | "end" | "none";
|
|
2577
|
+
/**
|
|
2578
|
+
* Columns pinned or unpinned since the grid started, keyed by column id.
|
|
2579
|
+
* Holding only what changed, the way `ColumnVisibilityState` does: a column
|
|
2580
|
+
* absent from it follows its definition's `pinned`, and `"none"` unpins a
|
|
2581
|
+
* column its definition pins.
|
|
2582
|
+
*/
|
|
2583
|
+
type ColumnPinningState = Readonly<Record<string, ColumnPin>>;
|
|
2584
|
+
/**
|
|
2585
|
+
* Reports columns pinned or unpinned. `columnIds` lists every column the one
|
|
2586
|
+
* change touched, and `pinning` is the whole state to persist from.
|
|
2587
|
+
*/
|
|
2588
|
+
interface ColumnPinningEvent {
|
|
2589
|
+
readonly columnIds: readonly string[];
|
|
2590
|
+
readonly pinning: ColumnPinningState;
|
|
2591
|
+
}
|
|
2453
2592
|
/**
|
|
2454
2593
|
* Column ids in the order they render. It need not list every column: one
|
|
2455
2594
|
* absent from it keeps its position among the definitions and follows those
|
|
@@ -2555,6 +2694,10 @@ interface ResolvedGroupRow {
|
|
|
2555
2694
|
readonly expanded: boolean;
|
|
2556
2695
|
/** Leaf row count under this group, regardless of collapse state. */
|
|
2557
2696
|
readonly count: number;
|
|
2697
|
+
/** 1-based place among the groups sharing its parent, for `aria-posinset`: the same on every page. */
|
|
2698
|
+
readonly position: number;
|
|
2699
|
+
/** How many groups share its parent, itself included, for `aria-setsize`: the same on every page. */
|
|
2700
|
+
readonly setSize: number;
|
|
2558
2701
|
/** Position among the display rows as rendered — same invariant ResolvedRow.rowIndex keeps. */
|
|
2559
2702
|
readonly rowIndex: number;
|
|
2560
2703
|
/** This header's absolute position in the whole filtered/sorted/grouped dataset, matching ResolvedRow.datasetIndex. */
|
|
@@ -2863,6 +3006,20 @@ interface ResolvedRow<Row> {
|
|
|
2863
3006
|
readonly rowIndex: number;
|
|
2864
3007
|
/** This row's absolute position in the whole filtered/sorted/grouped dataset, matching `CellTemplateContext`. */
|
|
2865
3008
|
readonly datasetIndex: number;
|
|
3009
|
+
/** Where the row sits in its group. Set by `groupRows`; absent from an ungrouped result. */
|
|
3010
|
+
readonly groupPosition?: RowGroupPosition;
|
|
3011
|
+
}
|
|
3012
|
+
/**
|
|
3013
|
+
* A data row's place inside its group: what a renderer draws as the row's
|
|
3014
|
+
* `aria-level`, `aria-posinset` and `aria-setsize` in a treegrid.
|
|
3015
|
+
*/
|
|
3016
|
+
interface RowGroupPosition {
|
|
3017
|
+
/** Nesting depth on `ResolvedGroupRow.level`'s scale: one deeper than the group holding the row, so `1` under a top-level group. */
|
|
3018
|
+
readonly level: number;
|
|
3019
|
+
/** 1-based place among the data rows of its group. */
|
|
3020
|
+
readonly position: number;
|
|
3021
|
+
/** How many data rows its group holds, its `count`: the same on every page the group spans. */
|
|
3022
|
+
readonly setSize: number;
|
|
2866
3023
|
}
|
|
2867
3024
|
/**
|
|
2868
3025
|
* A selected column. Carries the resolved column rather than the bare
|
|
@@ -2970,6 +3127,7 @@ interface GridState<Row> {
|
|
|
2970
3127
|
readonly columnSizing: ColumnSizingState;
|
|
2971
3128
|
readonly columnOrder: ColumnOrderState;
|
|
2972
3129
|
readonly columnVisibility: ColumnVisibilityState;
|
|
3130
|
+
readonly columnPinning: ColumnPinningState;
|
|
2973
3131
|
readonly columnSort: ColumnSortState;
|
|
2974
3132
|
readonly filter: FilterState<Row>;
|
|
2975
3133
|
readonly groupBy: GroupByState;
|
|
@@ -3004,9 +3162,21 @@ type GridViewState<Row> = Omit<GridState<Row>, "rowSelection" | "columnSelection
|
|
|
3004
3162
|
* the React grid's matching prop does.
|
|
3005
3163
|
*/
|
|
3006
3164
|
interface GridViewOptions<Row> {
|
|
3165
|
+
/**
|
|
3166
|
+
* Defaults to `"client"`. Under `"server"` the rows are neither filtered
|
|
3167
|
+
* nor sorted, and a paginated view shows every row it is given as the
|
|
3168
|
+
* page `pagination.pageIndex` names, counting pages from `rowCount`.
|
|
3169
|
+
*/
|
|
3170
|
+
readonly dataMode?: DataMode | undefined;
|
|
3171
|
+
/**
|
|
3172
|
+
* The total number of rows the server has for the current filter. Read
|
|
3173
|
+
* only under `dataMode: "server"`, which falls back to the rows given
|
|
3174
|
+
* when it is left out.
|
|
3175
|
+
*/
|
|
3176
|
+
readonly rowCount?: number | undefined;
|
|
3007
3177
|
/** Whether `pageRows` is one page of `displayRows` rather than all of it. Defaults to `false`. */
|
|
3008
3178
|
readonly paginated?: boolean | undefined;
|
|
3009
|
-
/** What a page's `pageSize` counts once grouped. Defaults to `"group"`. */
|
|
3179
|
+
/** What a page's `pageSize` counts once grouped. Defaults to `"group"`; ignored under `dataMode: "server"`. */
|
|
3010
3180
|
readonly paginationUnit?: PaginationUnit | undefined;
|
|
3011
3181
|
readonly aggregates?: AggregateState<Row> | undefined;
|
|
3012
3182
|
/** Defaults to `"inline"`. */
|
|
@@ -3031,8 +3201,8 @@ interface GridViewInput<Row, Node = string> {
|
|
|
3031
3201
|
readonly columns: readonly ColumnDefinition<Row, Node>[];
|
|
3032
3202
|
/**
|
|
3033
3203
|
* The slices to show, any of them: one left out reads as the grid's
|
|
3034
|
-
* starting default — no sizes, order, hidden columns, sort,
|
|
3035
|
-
* grouping, every group expanded, and the first page of 25.
|
|
3204
|
+
* starting default — no sizes, order, hidden or pinned columns, sort,
|
|
3205
|
+
* filter or grouping, every group expanded, and the first page of 25.
|
|
3036
3206
|
*/
|
|
3037
3207
|
readonly state: {
|
|
3038
3208
|
readonly [K in keyof GridViewState<Row>]?: GridViewState<Row>[K] | undefined;
|
|
@@ -3047,20 +3217,40 @@ interface GridViewInput<Row, Node = string> {
|
|
|
3047
3217
|
interface GridView<Row, Node = string> {
|
|
3048
3218
|
/** Every column, hidden ones included, ordered but not sized — what the data stages read. */
|
|
3049
3219
|
readonly dataColumns: readonly DataColumn<Row, Node>[];
|
|
3050
|
-
/**
|
|
3220
|
+
/**
|
|
3221
|
+
* The columns as rendered: visible, ordered and sized, with the columns
|
|
3222
|
+
* pinned to the start first and those pinned to the end last.
|
|
3223
|
+
*/
|
|
3051
3224
|
readonly columns: readonly ResolvedColumn<Row, Node>[];
|
|
3052
|
-
/** The rows, filtered then sorted. */
|
|
3225
|
+
/** The rows, filtered then sorted; under `dataMode: "server"`, as given. */
|
|
3053
3226
|
readonly rows: readonly ResolvedRow<Row>[];
|
|
3054
|
-
/**
|
|
3227
|
+
/**
|
|
3228
|
+
* `rows` grouped, with each group's aggregates attached — every page of
|
|
3229
|
+
* it, or under `dataMode: "server"` the one page given.
|
|
3230
|
+
*/
|
|
3055
3231
|
readonly displayRows: readonly DisplayRow<Row>[];
|
|
3056
|
-
/**
|
|
3232
|
+
/**
|
|
3233
|
+
* The current page of `displayRows`; all of it when not paginated or under
|
|
3234
|
+
* `dataMode: "server"`. Under `"server"`, paginated, each row's
|
|
3235
|
+
* `datasetIndex` is offset by the pages before it.
|
|
3236
|
+
*/
|
|
3057
3237
|
readonly pageRows: readonly DisplayRow<Row>[];
|
|
3058
3238
|
/** `pageRows` narrowed to its data rows, in display order — what a range selection spans. */
|
|
3059
3239
|
readonly displayDataRows: readonly ResolvedRow<Row>[];
|
|
3060
|
-
/** `1` when not paginated. */
|
|
3240
|
+
/** `1` when not paginated. Under `dataMode: "server"`, counted from `rowCount`. */
|
|
3061
3241
|
readonly pageCount: number;
|
|
3062
3242
|
/** `state.pagination.pageIndex` clamped into range; `0` when not paginated. */
|
|
3063
3243
|
readonly pageIndex: number;
|
|
3244
|
+
/**
|
|
3245
|
+
* How many rows the grid has across every page: what `aria-rowcount`
|
|
3246
|
+
* counts besides the header and footer rows. That is every entry of
|
|
3247
|
+
* `displayRows` — data rows, group headers and summary rows, without the
|
|
3248
|
+
* rows a collapsed group hides. Under `dataMode: "server"` it is the
|
|
3249
|
+
* `rowCount` option (the rows given, without one), plus the group headers
|
|
3250
|
+
* and summary rows among the rows given, less the rows a collapsed group
|
|
3251
|
+
* hides there.
|
|
3252
|
+
*/
|
|
3253
|
+
readonly rowCount: number;
|
|
3064
3254
|
/** Every aggregate over all of `rows`, ungrouped and unpaginated. */
|
|
3065
3255
|
readonly grandTotal: AggregateResults;
|
|
3066
3256
|
}
|
|
@@ -3129,6 +3319,9 @@ interface KeyShortcutCapabilities {
|
|
|
3129
3319
|
* The `aria-keyshortcuts` string for a column header, naming only the keys
|
|
3130
3320
|
* that column actually responds to — so the keys are discoverable, since
|
|
3131
3321
|
* none of them is a convention a user would try unprompted.
|
|
3322
|
+
*
|
|
3323
|
+
* The same in either writing direction: both horizontal arrows work in
|
|
3324
|
+
* each, and only which way each one moves is mirrored.
|
|
3132
3325
|
*/
|
|
3133
3326
|
declare function buildKeyShortcuts(capabilities: KeyShortcutCapabilities): string;
|
|
3134
3327
|
/**
|
|
@@ -3140,6 +3333,20 @@ declare function buildKeyShortcuts(capabilities: KeyShortcutCapabilities): strin
|
|
|
3140
3333
|
*/
|
|
3141
3334
|
declare function accessDotted(obj: unknown, path: string): unknown;
|
|
3142
3335
|
|
|
3336
|
+
/**
|
|
3337
|
+
* The way a line runs: left to right, or right to left as in Arabic and
|
|
3338
|
+
* Hebrew. Rows, toolbars and the group-by bar run this way, so in `"rtl"`
|
|
3339
|
+
* the first column sits at the right edge.
|
|
3340
|
+
*/
|
|
3341
|
+
type WritingDirection = "ltr" | "rtl";
|
|
3342
|
+
/**
|
|
3343
|
+
* Which way a horizontal arrow key moves along a line in `direction`: `1`
|
|
3344
|
+
* to the next column, chip or toolbar control, `-1` to the previous one, or
|
|
3345
|
+
* `null` for any other key. The arrows point the way they move, so in
|
|
3346
|
+
* `"rtl"`, where the next one is to the left, `ArrowLeft` moves forward.
|
|
3347
|
+
*/
|
|
3348
|
+
declare function inlineStep(key: string, direction?: WritingDirection): 1 | -1 | null;
|
|
3349
|
+
|
|
3143
3350
|
/**
|
|
3144
3351
|
* The cell the grid's single tab stop sits on: a header cell, or a cell of
|
|
3145
3352
|
* body row `rowIndex`. A body focus's `rowIndex` counts from `0`.
|
|
@@ -3184,10 +3391,13 @@ declare function clampFocus(focus: GridFocus, rowCount: number, columnCount: num
|
|
|
3184
3391
|
* summary row (`groupAggregateDisplay: "row"`), which still occupies a real
|
|
3185
3392
|
* row slot for `rowCount`/`aria-rowindex` purposes but is presentational,
|
|
3186
3393
|
* not a stop of its own. Left/right and plain `Home`/`End` stay row-scoped
|
|
3187
|
-
* and so never consult it. Defaults to skipping nothing
|
|
3188
|
-
*
|
|
3394
|
+
* and so never consult it. Defaults to skipping nothing.
|
|
3395
|
+
*
|
|
3396
|
+
* `direction` is the way the grid's rows run, which the left and right
|
|
3397
|
+
* arrows follow: in `"rtl"`, where the first column is at the right edge,
|
|
3398
|
+
* `ArrowLeft` moves to the next column. Defaults to `"ltr"`.
|
|
3189
3399
|
*/
|
|
3190
|
-
declare function nextFocusForKey(key: string, modifiers: NavigationModifiers, focus: GridFocus, rowCount: number, columnCount: number, pageSize: number, isSkippableRow?: (rowIndex: number) => boolean): GridFocus | null;
|
|
3400
|
+
declare function nextFocusForKey(key: string, modifiers: NavigationModifiers, focus: GridFocus, rowCount: number, columnCount: number, pageSize: number, isSkippableRow?: (rowIndex: number) => boolean, direction?: WritingDirection): GridFocus | null;
|
|
3191
3401
|
|
|
3192
3402
|
/**
|
|
3193
3403
|
* Puts `columns` in the order `order` gives. Ids it lists come first, in that
|
|
@@ -3214,6 +3424,21 @@ declare function resolveDataColumns<Row, Node>(columns: readonly ColumnDefinitio
|
|
|
3214
3424
|
* treat an unchanged reference as "no move happened".
|
|
3215
3425
|
*/
|
|
3216
3426
|
declare function moveColumnBefore(orderedIds: ColumnOrderState, movedId: string, beforeId: string | null): ColumnOrderState;
|
|
3427
|
+
/**
|
|
3428
|
+
* `moveColumnBefore`, kept inside the moved column's pin group: a column is
|
|
3429
|
+
* pinned or unpinned on purpose, never by being dragged across the boundary.
|
|
3430
|
+
* `pinOf` gives each id's pin. A `beforeId` in an earlier group lands the
|
|
3431
|
+
* column at the start of its own group, and one in a later group, like
|
|
3432
|
+
* `null`, at its end.
|
|
3433
|
+
*
|
|
3434
|
+
* The end of a group is the end of `orderedIds`: the view lists each group
|
|
3435
|
+
* in column order, so a column last in the order is last in its group,
|
|
3436
|
+
* wherever the other groups' columns sit. That is also why a move can change
|
|
3437
|
+
* `orderedIds` and leave every group as it was — a column already last in
|
|
3438
|
+
* its group moved to the end — and such a move hands back `orderedIds`
|
|
3439
|
+
* itself, as a move that changes nothing does.
|
|
3440
|
+
*/
|
|
3441
|
+
declare function moveColumnInPinGroup(orderedIds: ColumnOrderState, pinOf: (columnId: string) => ColumnPin, movedId: string, beforeId: string | null): ColumnOrderState;
|
|
3217
3442
|
/**
|
|
3218
3443
|
* Whether moving `movedId` in front of `beforeId` would rearrange anything, so
|
|
3219
3444
|
* that a drop indicator promises exactly the moves that happen.
|
|
@@ -3334,12 +3559,15 @@ declare function resolveColumnConstraints<Row>(column: ColumnDefinition<Row, unk
|
|
|
3334
3559
|
declare function clampColumnWidth(width: number, constraints: ColumnConstraints): number;
|
|
3335
3560
|
/**
|
|
3336
3561
|
* Pairs each column with everything needed to render it — the width it sits
|
|
3337
|
-
* at, the label its header shows, whether it may be resized
|
|
3338
|
-
* align. Widths take the first of the sizing state,
|
|
3339
|
-
* and the default, then clamp.
|
|
3562
|
+
* at, the label its header shows, whether it may be resized, how its cells
|
|
3563
|
+
* align and where it is pinned. Widths take the first of the sizing state,
|
|
3564
|
+
* the column's own `width`, and the default, then clamp.
|
|
3340
3565
|
*
|
|
3341
3566
|
* The sizing state winning means a user's drag outlives a re-render; a column
|
|
3342
3567
|
* absent from it still tracks a `width` edited in the definition.
|
|
3568
|
+
*
|
|
3569
|
+
* Pin offsets are summed along `columns` as given, so they hold for columns
|
|
3570
|
+
* already in pinned order — see `applyColumnPinning`.
|
|
3343
3571
|
*/
|
|
3344
3572
|
declare function resolveColumnWidths<Row, Node>(columns: readonly ColumnDefinition<Row, Node>[], sizing: ColumnSizingState, options?: ColumnResolveOptions): readonly ResolvedColumn<Row, Node>[];
|
|
3345
3573
|
declare function totalColumnWidth<Row, Node>(resolved: readonly ResolvedColumn<Row, Node>[]): number;
|
|
@@ -3352,10 +3580,12 @@ declare function totalColumnWidth<Row, Node>(resolved: readonly ResolvedColumn<R
|
|
|
3352
3580
|
*/
|
|
3353
3581
|
declare function beginColumnResize<Row>(column: ColumnDefinition<Row, unknown>, startWidth: number, startPosition: number, defaults?: Partial<ColumnSizeDefaults>): ColumnResizeSession;
|
|
3354
3582
|
/**
|
|
3355
|
-
* The width the dragged column takes with the pointer at `position
|
|
3356
|
-
*
|
|
3583
|
+
* The width the dragged column takes with the pointer at `position`, its
|
|
3584
|
+
* edge at the inline end of the column: the right edge in `"ltr"`, the left
|
|
3585
|
+
* in `"rtl"`. Dragging that edge outward, away from the column, grows it in
|
|
3586
|
+
* either direction. `direction` defaults to `"ltr"`.
|
|
3357
3587
|
*/
|
|
3358
|
-
declare function applyColumnResize(session: ColumnResizeSession, position: number): number;
|
|
3588
|
+
declare function applyColumnResize(session: ColumnResizeSession, position: number, direction?: WritingDirection): number;
|
|
3359
3589
|
/**
|
|
3360
3590
|
* Fits columns to `availableWidth`: grows them to fill leftover space, or
|
|
3361
3591
|
* shrinks them to relieve an overflow, in both cases proportionally to each
|
|
@@ -3366,7 +3596,8 @@ declare function applyColumnResize(session: ColumnResizeSession, position: numbe
|
|
|
3366
3596
|
* Growing stops at each column's `maxWidth`; shrinking stops at its
|
|
3367
3597
|
* `minWidth`. If shrinking every adjustable column to its floor still does
|
|
3368
3598
|
* not reach `availableWidth`, the columns are returned untouched and the
|
|
3369
|
-
* container scrolls rather than crushing them further.
|
|
3599
|
+
* container scrolls rather than crushing them further. Pin offsets follow
|
|
3600
|
+
* the new widths.
|
|
3370
3601
|
*/
|
|
3371
3602
|
declare function fitColumnsToWidth<Row, Node>(resolved: readonly ResolvedColumn<Row, Node>[], availableWidth: number, defaults?: Partial<ColumnSizeDefaults>): readonly ResolvedColumn<Row, Node>[];
|
|
3372
3603
|
/**
|
|
@@ -3402,7 +3633,8 @@ declare function groupRowId(path: readonly unknown[]): string;
|
|
|
3402
3633
|
* own `direction`, followed depth-first by its nested groups and/or data
|
|
3403
3634
|
* rows. A group `expansion` collapses contributes only its own header,
|
|
3404
3635
|
* nothing beneath it — but its `count` still reports the group's full
|
|
3405
|
-
* leaf-row count either way.
|
|
3636
|
+
* leaf-row count either way. Each data row carries its `groupPosition`:
|
|
3637
|
+
* its depth, and its place among and the count of its group's rows.
|
|
3406
3638
|
*
|
|
3407
3639
|
* Filter and sort are expected to have already run (see `resolveShownRows`):
|
|
3408
3640
|
* this only reshapes their output, and never changes which rows appear or
|
|
@@ -3469,6 +3701,37 @@ declare function moveGroupByBefore(groupBy: GroupByState, columnId: string, befo
|
|
|
3469
3701
|
*/
|
|
3470
3702
|
declare function movesGroupBy(groupBy: GroupByState, columnId: string, beforeColumnId: string | null): boolean;
|
|
3471
3703
|
|
|
3704
|
+
/**
|
|
3705
|
+
* The edge `column` is pinned to: what the user last chose for it, if
|
|
3706
|
+
* anything, else what its definition says. The one place that precedence is
|
|
3707
|
+
* decided, so the view and an imperative "is it pinned?" cannot disagree.
|
|
3708
|
+
*/
|
|
3709
|
+
declare function resolveColumnPin<Row>(column: ColumnDefinition<Row, unknown>, pinning: ColumnPinningState): ColumnPin;
|
|
3710
|
+
/**
|
|
3711
|
+
* `columns` with the start-pinned ones first and the end-pinned ones last,
|
|
3712
|
+
* each group in the order given. `columns` itself when that is already their
|
|
3713
|
+
* order — always, with nothing pinned — so a stage memoised on this output
|
|
3714
|
+
* sees nothing change.
|
|
3715
|
+
*/
|
|
3716
|
+
declare function applyColumnPinning<Row, Node>(columns: readonly DataColumn<Row, Node>[], pinning: ColumnPinningState): readonly DataColumn<Row, Node>[];
|
|
3717
|
+
/**
|
|
3718
|
+
* `pinning` with `columnId` pinned to `pin`, `"none"` to unpin it. The entry
|
|
3719
|
+
* is written only when the column's pin actually changes, and an id naming
|
|
3720
|
+
* no column is ignored, so asking for the pin a column already has hands back
|
|
3721
|
+
* `pinning` itself — the same reference, for a caller deciding whether
|
|
3722
|
+
* anything happened.
|
|
3723
|
+
*/
|
|
3724
|
+
declare function setColumnPin<Row>(columns: readonly DataColumn<Row, unknown>[], pinning: ColumnPinningState, columnId: string, pin: ColumnPin): ColumnPinningState;
|
|
3725
|
+
/**
|
|
3726
|
+
* The summed widths of the columns pinned to each edge — how much of the
|
|
3727
|
+
* grid's width each side's pinned columns cover, which a renderer keeps
|
|
3728
|
+
* scrolled content clear of.
|
|
3729
|
+
*/
|
|
3730
|
+
declare function pinnedWidths<Row, Node>(columns: readonly ResolvedColumn<Row, Node>[]): {
|
|
3731
|
+
readonly start: number;
|
|
3732
|
+
readonly end: number;
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3472
3735
|
/**
|
|
3473
3736
|
* What one column's filter looks like to an editor — which of its forms can
|
|
3474
3737
|
* show it, or that none can.
|
|
@@ -3700,4 +3963,4 @@ declare function draftToFilter<Row>(draft: FilterEditorDraft<Row>, columnId: str
|
|
|
3700
3963
|
*/
|
|
3701
3964
|
declare function filterDraftChanged<Row>(opened: FilterEditorDraft<Row>, draft: FilterEditorDraft<Row>): boolean;
|
|
3702
3965
|
|
|
3703
|
-
export { type CellSelectionState as $, type AggregateState as A, type SerializedGridState as B, type ColumnType as C, type DataColumn as D, type ExportTable as E, type FilterState as F, type GridControllerOptions as G, type ExportSource as H, type ExportWriter as I, type GridExportOptions as J, type ExportFile as K, ALL_COLLAPSED as L, type MenuEntry as M, ALL_EXPANDED as N, type AggregateFn as O, type PaginationUnit as P, type AggregateSpec as Q, type ResolvedMenuEntry as R, type SortDirection as S, type ToolbarItemAttributes as T, type Borders as U, type BuiltInAggregate as V, type BuiltInCommandIcon as W, type BuiltInCommandId as X, type CellSelectEvent as Y, type CellSelectionChangeEvent as Z, type CellSelectionMode as _, type GridController as a, type
|
|
3966
|
+
export { type CellSelectionState as $, type AggregateState as A, type SerializedGridState as B, type ColumnType as C, type DataColumn as D, type ExportTable as E, type FilterState as F, type GridControllerOptions as G, type ExportSource as H, type ExportWriter as I, type GridExportOptions as J, type ExportFile as K, ALL_COLLAPSED as L, type MenuEntry as M, ALL_EXPANDED as N, type AggregateFn as O, type PaginationUnit as P, type AggregateSpec as Q, type ResolvedMenuEntry as R, type SortDirection as S, type ToolbarItemAttributes as T, type Borders as U, type BuiltInAggregate as V, type BuiltInCommandIcon as W, type BuiltInCommandId as X, type CellSelectEvent as Y, type CellSelectionChangeEvent as Z, type CellSelectionMode as _, type GridController as a, type GroupExpansionEvent as a$, type CellTemplateContext as a0, type ColumnAlignment as a1, type ColumnConstraints as a2, type ColumnFilterMenuOptions as a3, type ColumnOrderEvent as a4, type ColumnOrderState as a5, type ColumnPin as a6, type ColumnPinningEvent as a7, type ColumnPinningState as a8, type ColumnResizeEvent as a9, type FilterChangeEvent as aA, type FilterEntry as aB, type FilterMenuUi as aC, type FilterOperator as aD, type FilterOperatorFamily as aE, type FilterPredicate as aF, type FilterScalar as aG, type FooterTemplateContext as aH, type FormatLocale as aI, type GridCommandActions as aJ, type GridCommandEvent as aK, type GridCommandSource as aL, type GridContextMenuArea as aM, type GridContextMenuEntries as aN, type GridContextMenuOptions as aO, type GridContextMenuRequest as aP, type GridContextMenuTarget as aQ, type GridFilterMenuOptions as aR, type GridFocus as aS, type GridOptions as aT, type GridPanelKind as aU, type GridToolbarOptions as aV, type GridViewOptions as aW, type GridViewState as aX, type GroupByBarVisibility as aY, type GroupByEntry as aZ, type GroupByEvent as a_, type ColumnResolveOptions as aa, type ColumnSelectEvent as ab, type ColumnSelectionChangeEvent as ac, type ColumnSizeDefaults as ad, type ColumnSizingState as ae, type ColumnSortEntry as af, type ColumnSortEvent as ag, type ColumnVisibilityEvent as ah, type ColumnWrapConfig as ai, type ColumnsSelectEvent as aj, type ContextMenuOpenChangeEvent as ak, type CopyContent as al, type CsvOptions as am, DEFAULT_COLUMN_SIZES as an, DEFAULT_FILTER_VALUE_LIMIT as ao, type DataMode as ap, type ExportCell as aq, type ExportColumn as ar, type ExportDataRow as as, type ExportGroupRow as at, type ExportGroupSummaryRow as au, type ExportOptions as av, type ExportRow as aw, type ExportScalar as ax, type ExportTotalRow as ay, type ExportWriteContext as az, type GridCommandTarget as b, defaultToolbar as b$, type GroupExpansionState as b0, type GroupFilterEntry as b1, type HoverableConfig as b2, type JsonOptions as b3, type MenuItemEntry as b4, type MenuSubmenuEntry as b5, type OperatorFilterEntry as b6, type PaginationChangeEvent as b7, type PredicateFilterEntry as b8, type PrintDocument as b9, type SelectionMode as bA, type SelectionState as bB, type SerializedFilterEntry as bC, type SerializedFilterScalar as bD, type SerializedFilterState as bE, type SerializedGroupFilterEntry as bF, type SerializedOperatorFilterEntry as bG, type SerializedValueFilterEntry as bH, type TextFilterEntry as bI, type ToolbarCustomEntry as bJ, type ValueFilterEntry as bK, accessDotted as bL, alignmentForType as bM, applyColumnOrder as bN, applyColumnPinning as bO, applySelectionIntent as bP, bodyFocus as bQ, buildExportTable as bR, builtInCommands as bS, clearSelection as bT, collapseAllGroups as bU, contextMenuEntries as bV, createDefaultMessages as bW, csvWriter as bX, defaultContextMenu as bY, defaultFilterOperators as bZ, defaultMessages as b_, type PrintOptions as ba, type PrintOrientation as bb, type PrintPage as bc, type PrintSource as bd, type ResizeMode as be, type ResolvedGroupRow as bf, type ResolvedGroupSummaryRow as bg, type ResolvedMenuItem as bh, type ResolvedMenuSeparator as bi, type ResolvedMenuSubmenu as bj, type ResolvedToolbarButton as bk, type ResolvedToolbarCustom as bl, type ResolvedToolbarMenu as bm, type ResolvedToolbarSearch as bn, type ResolvedToolbarSpacer as bo, type RowGroupPosition as bp, type RowPointerEvent as bq, type RowProps as br, type RowSelectEvent as bs, type RowSelectionChangeEvent as bt, type RowsSelectEvent as bu, type SelectIntent as bv, type SelectableConfig as bw, type SelectionCallbacks as bx, type SelectionDiff as by, type SelectionDiffEvent as bz, type GridMessages as c, diffSelection as c$, defineColumnsFromRows as c0, expandAllGroups as c1, exportPrintDocument as c2, formatAggregateValue as c3, formatCellValue as c4, formatGroupValue as c5, getColumnId as c6, groupRowId as c7, groupRows as c8, headerFocus as c9, type ColumnFilterShape as cA, type ColumnValueQuery as cB, type ColumnValueOptions as cC, type ValuesDraft as cD, type ColumnResizeSession as cE, type ColumnValueOption as cF, type ConditionsDraft as cG, type CopyRequest as cH, type CopySource as cI, type DropSide as cJ, type FilterEditorAction as cK, type FilterEditorDraft as cL, type FilterEditorDraftBase as cM, KEYBOARD_STEP as cN, type KeyShortcutCapabilities as cO, type NavigationModifiers as cP, type ResolvedColumnFilterMenu as cQ, type WritingDirection as cR, applyColumnResize as cS, beginColumnResize as cT, buildKeyShortcuts as cU, buildPrintDocument as cV, clampColumnWidth as cW, clampFocus as cX, columnValueOptions as cY, copyContent as cZ, describeColumnFilter as c_, isColumnFiltered as ca, isGroupExpanded as cb, isSameCell as cc, jsonWriter as cd, moveColumnBefore as ce, moveGroupByBefore as cf, resolveColumnHeaderText as cg, resolveColumnLabel as ch, resolveColumnPin as ci, resolveColumnWidths as cj, resolveDataColumns as ck, resolveExportWriters as cl, resolveMessages as cm, resolveRowId as cn, selectAll as co, selectCell as cp, selectOnly as cq, selectRange as cr, setColumnPin as cs, toCsv as ct, toJson as cu, toggleCellSelection as cv, toggleGroupExpansion as cw, toggleSelection as cx, toolbarEntries as cy, type SelectAllState as cz, type GridCommandHost as d, draftToFilter as d0, filterDraftChanged as d1, filterEditorReducer as d2, filterOperandArity as d3, filterOperatorFamily as d4, fitColumnsToWidth as d5, formatFilterOperand as d6, hasContextMenu as d7, initialFilterEditorDraft as d8, inlineStep as d9, intentOf as da, moveColumnInPinGroup as db, movesColumn as dc, movesGroupBy as dd, nextFocusForKey as de, parseFilterOperand as df, pinnedWidths as dg, resolveColumnConstraints as dh, resolveColumnFilterMenu as di, resolveDropBefore as dj, resolveKeyboardDropTarget as dk, revertColumnSize as dl, selectAllState as dm, sizeColumnToContent as dn, toConditionsDraft as dp, toValuesDraft as dq, totalColumnWidth as dr, visibleFilterOptions as ds, type GridCommandContext as e, type GridCommand as f, type GridToolbarTarget as g, type ToolbarEntry as h, type ResolvedToolbarItem as i, type ColumnSortState as j, type ResolvedRow as k, type FieldPath as l, type ResolvedColumn as m, type SelectedCellRef as n, type SelectedCell as o, type SelectedColumn as p, type DisplayRow as q, type PaginationState as r, type AggregateResults as s, type GroupByState as t, type GroupAggregateDisplay as u, type ColumnVisibilityState as v, type ColumnDefinition as w, type GridViewInput as x, type GridView as y, type GridState as z };
|