@agile-team/mach-table 0.23.0 → 0.25.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/README.md +19 -109
- package/dist/adapter.cjs +1 -0
- package/dist/adapter.d.cts +384 -0
- package/dist/adapter.d.ts +384 -0
- package/dist/adapter.js +1 -0
- package/dist/configuration-CFMDwmiR.d.ts +57 -0
- package/dist/configuration-DmUvpJLO.d.cts +57 -0
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +10 -1496
- package/dist/index.d.ts +10 -1496
- package/dist/index.js +6 -6
- package/dist/{worker-DsFc5zec.d.cts → options-CL6BYXVZ.d.cts} +973 -1088
- package/dist/{worker-DsFc5zec.d.ts → options-CL6BYXVZ.d.ts} +973 -1088
- package/dist/worker.d.cts +47 -1
- package/dist/worker.d.ts +47 -1
- package/package.json +12 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,977 +1,14 @@
|
|
|
1
|
-
import { G as GridOptions,
|
|
2
|
-
export {
|
|
1
|
+
import { G as GridOptions, c as GridApi, d as ColumnFilter, A as AdvancedFilterCondition, e as AdvancedFilterNode, f as AdvancedFilterGroup, g as AdvancedFilterModel, F as FilterModel, h as GridFeature, C as ColDef, i as ColDefGroup, j as GridStateStore, k as GridState, l as GridStateInput, m as GridSize, n as CellRendererParams, o as GridChange, p as CellRendererFn, q as FieldPath, r as FieldPathValue, S as SaveChangeConflict, s as ColumnState, t as SortModel } from './options-CL6BYXVZ.cjs';
|
|
2
|
+
export { u as ActionPolicy, v as ActionPolicyContext, w as ApplyGridStateOptions, x as CellAlign, y as CellClassParams, z as CellClassRule, B as CellClickEvent, D as CellContextMenuEvent, E as CellDoubleClickEvent, H as CellEditingStartedEvent, I as CellEditingStoppedEvent, J as CellEditorFactory, K as CellEditorParams, L as CellRendererOutput, M as CellStyleRule, N as CellValueChangedEvent, O as ColDefOrGroup, P as ColumnLayoutMode, Q as ColumnMovedEvent, R as ColumnResizedEvent, T as ColumnVisibilityChangedEvent, U as ColumnWorkbenchItem, V as ContextMenuItem, W as ContextMenuParams, X as CsvExportParams, Y as DEFAULT_LOCALE, Z as DatasourceMode, _ as DateFilterCondition, $ as DateFilterMatch, a0 as DetailRowRendererParams, a1 as DetailToggledEvent, a2 as DirtyStateChangedEvent, a3 as DomLayoutMode, a4 as EVENT_TYPES, a5 as EditableIndicator, a6 as EditableParams, a7 as EventHandlers, a8 as FilterChangedEvent, a9 as FilterType, aa as GetRowHeightParams, ab as GridAsyncOptions, ac as GridBatchSaveResult, ad as GridCellChange, ae as GridCellRange, af as GridColumnsApi, b as GridComponents, ag as GridDataProcessor, ah as GridDataProcessorColumn, ai as GridDataProcessorRequest, aj as GridDataProcessorResult, ak as GridDataProcessorRow, al as GridDatasource, am as GridDiagnosticError, an as GridDiagnostics, ao as GridDiagnosticsApi, ap as GridEditType, aq as GridEditingApi, ar as GridErrorCode, as as GridErrorEvent, at as GridEventBase, au as GridEventMap, a as GridEventType, av as GridFeatureContext, aw as GridFilteringApi, ax as GridHierarchyApi, ay as GridIoApi, az as GridPaginationApi, aA as GridPerformanceSnapshot, aB as GridPersistenceOptions, aC as GridReadyEvent, aD as GridRowsApi, aE as GridSelectionApi, aF as GridSortingApi, aG as GridStateApi, aH as GridStateSection, aI as GridUpdateSchedulerSnapshot, aJ as GridViewApi, aK as HeaderComponentParams, aL as ICellEditor, aM as ICellRendererResult, aN as ImportCsvOptions, aO as InfiniteGetRowsParams, aP as LOCALE_EN, aQ as MachTableLocale, aR as MachTableLocaleKey, aS as ModelUpdatedEvent, aT as NumberFilterCondition, aU as NumberFilterMatch, aV as OverlayContent, aW as OverlayTemplate, aX as PaginationChangedEvent, aY as PaginationConfig, aZ as PinnedDirection, a_ as PrintOptions, a$ as RangeSelectionChangedEvent, b0 as RefreshCellsParams, b1 as RemoteBlockCacheSnapshot, b2 as ResolvedGridOptions, b3 as RowClickEvent, b4 as RowDragEndEvent, b5 as RowEditChange, b6 as RowEditValidationParams, b7 as RowEditValidationResult, b8 as RowEditingStartedEvent, b9 as RowEditingStoppedEvent, ba as RowNode, bb as RowSelectionMode, bc as RowTransaction, bd as SaveChangeIssue, be as SaveChangesHandler, bf as SaveChangesResult, bg as SelectEditorParams, bh as SelectionChangedEvent, bi as SetFilterCondition, bj as SetFilterParams, bk as SortChangedEvent, bl as SortDirection, bm as SortModelItem, bn as StatusBarConfig, bo as StatusBarPanel, bp as TextFilterCondition, bq as TextFilterMatch, br as ThemeMode, bs as TooltipParams, bt as TreeChildrenLoadFailedEvent, bu as TreeChildrenLoadedEvent, bv as TreeDataLoadParams, bw as ValueFormatterParams, bx as ValueGetterParams, by as ValueSetterParams, bz as WatermarkConfig, bA as formatText, bB as formatTwo, bC as isColDefGroup, bD as matchLocaleKey } from './options-CL6BYXVZ.cjs';
|
|
3
|
+
export { FieldDataProcessorOptions, GridDataProcessorPayload, GridDataWorkerScope, GridWorkerCancelMessage, GridWorkerProcessMessage, GridWorkerRequestMessage, GridWorkerResponseMessage, WorkerDataProcessorOptions } from './worker.cjs';
|
|
4
|
+
export { b as MachTableConfigWarning, c as MachTableDefaults, d as MachTableInstanceOptionKey, M as MachTableOptionExplanation, e as MachTablePreset, f as MachTablePresetSelection, g as MachTableRuntimeConfig, R as ResolvedMachTableConfig, h as defineMachTableConfig } from './configuration-DmUvpJLO.cjs';
|
|
3
5
|
|
|
4
6
|
declare function createGrid<TData = any>(container: HTMLElement, options?: GridOptions<TData>): GridApi<TData>;
|
|
5
7
|
|
|
6
|
-
type EventKey<TEvents extends object> = Extract<keyof TEvents, string>;
|
|
7
|
-
type Listener<TEvent> = (event: TEvent) => void;
|
|
8
|
-
declare class EventBus<TEvents extends object = Record<string, any>> {
|
|
9
|
-
private onListenerError?;
|
|
10
|
-
private listeners;
|
|
11
|
-
constructor(onListenerError?: ((error: unknown, eventType: EventKey<TEvents>) => void) | undefined);
|
|
12
|
-
on<K extends EventKey<TEvents>>(type: K, listener: Listener<TEvents[K]>): () => void;
|
|
13
|
-
once<K extends EventKey<TEvents>>(type: K, listener: Listener<TEvents[K]>): () => void;
|
|
14
|
-
off<K extends EventKey<TEvents>>(type: K, listener: Listener<TEvents[K]>): void;
|
|
15
|
-
emit<K extends EventKey<TEvents>>(type: K, payload?: TEvents[K]): void;
|
|
16
|
-
clear(): void;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type PaneType = "left" | "center" | "right";
|
|
20
|
-
type ColumnModelContext = Pick<GridCore<any>, "options">;
|
|
21
|
-
declare class ColumnModel {
|
|
22
|
-
private core;
|
|
23
|
-
private columns;
|
|
24
|
-
private rootChildren;
|
|
25
|
-
private left;
|
|
26
|
-
private center;
|
|
27
|
-
private right;
|
|
28
|
-
private sortModel;
|
|
29
|
-
private defs;
|
|
30
|
-
private headerDepth;
|
|
31
|
-
private flatIndexById;
|
|
32
|
-
viewportWidth: number;
|
|
33
|
-
constructor(core: ColumnModelContext);
|
|
34
|
-
setColumnDefs(colDefs: ColDefOrGroup<any>[] | null | undefined): void;
|
|
35
|
-
private collectLeaves;
|
|
36
|
-
private regroup;
|
|
37
|
-
getFlatIndex(colId: string): number;
|
|
38
|
-
getColumns(): Column[];
|
|
39
|
-
getColumnDefs(): ColDefOrGroup<any>[];
|
|
40
|
-
getRootChildren(): (ColumnGroup<any> | Column<any>)[];
|
|
41
|
-
getHeaderDepth(): number;
|
|
42
|
-
getColumn(colId: string): Column | undefined;
|
|
43
|
-
getPaneColumns(pane: PaneType): Column[];
|
|
44
|
-
getOrderedVisible(): Column[];
|
|
45
|
-
getRowGroupColumns(): Column[];
|
|
46
|
-
getAggColumns(): Column[];
|
|
47
|
-
hasColSpan(): boolean;
|
|
48
|
-
getGroupLabelColumn(): Column | undefined;
|
|
49
|
-
paneOf(column: Column): PaneType;
|
|
50
|
-
computeLayout(viewportWidth: number): void;
|
|
51
|
-
private widthInputOf;
|
|
52
|
-
setColumnWidth(column: Column, width: number): boolean;
|
|
53
|
-
setColumnVisibility(colId: string, visible: boolean): void;
|
|
54
|
-
moveColumn(colId: string, toIndex: number): boolean;
|
|
55
|
-
setColumnPinned(colId: string, pinned: PinnedDirection | null): void;
|
|
56
|
-
getColumnState(): ColumnState[];
|
|
57
|
-
applyColumnState(states: ColumnState[]): void;
|
|
58
|
-
private applyColumnViewState;
|
|
59
|
-
private sortModelFromState;
|
|
60
|
-
private applyStateOrder;
|
|
61
|
-
resetColumnState(): void;
|
|
62
|
-
getSortModel(): SortModel;
|
|
63
|
-
applySortModel(sortModel: SortModel | null): void;
|
|
64
|
-
cycleSort(column: Column, additive: boolean): void;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
type RowModelContext = Pick<GridCore<any>, "bodyRenderer" | "changeTracker" | "columnModel" | "emit" | "getApi" | "getCellValue" | "getLocaleText" | "headerRenderer" | "isDestroyed" | "nextId" | "options" | "performanceMonitor" | "relayout" | "reportError" | "requestUpdate" | "selectionService" | "skeleton" | "undoService">;
|
|
68
|
-
interface RowTransactionImpact {
|
|
69
|
-
/** True when ordering, membership, grouping, spans or row geometry may have changed. */
|
|
70
|
-
pipelineChanged: boolean;
|
|
71
|
-
/** Stable IDs whose data references were replaced. */
|
|
72
|
-
updatedRowIds: readonly string[];
|
|
73
|
-
}
|
|
74
|
-
declare class RowModel<TData = any> {
|
|
75
|
-
private core;
|
|
76
|
-
private all;
|
|
77
|
-
private roots;
|
|
78
|
-
private childIds;
|
|
79
|
-
private displayed;
|
|
80
|
-
private nodesById;
|
|
81
|
-
private filterModel;
|
|
82
|
-
private advancedFilterModel;
|
|
83
|
-
private quickFilter;
|
|
84
|
-
private expandedIds;
|
|
85
|
-
private groupExpandedIds;
|
|
86
|
-
private knownGroupIds;
|
|
87
|
-
private spanInfo;
|
|
88
|
-
private mastersBuf;
|
|
89
|
-
private infiniteLastRow;
|
|
90
|
-
private infiniteRequested;
|
|
91
|
-
private infiniteLoading;
|
|
92
|
-
private infiniteSeq;
|
|
93
|
-
private infiniteAbort;
|
|
94
|
-
private infiniteRetryTimer;
|
|
95
|
-
private infinitePendingResolve;
|
|
96
|
-
private treeDepth;
|
|
97
|
-
private rowSequence;
|
|
98
|
-
private treeLoadControllers;
|
|
99
|
-
private treeLoadPromises;
|
|
100
|
-
private displayRevision;
|
|
101
|
-
private blockNodes;
|
|
102
|
-
private blockPlaceholders;
|
|
103
|
-
private installedBlocks;
|
|
104
|
-
private blockCache;
|
|
105
|
-
private dataProcessorSeq;
|
|
106
|
-
private dataProcessorAbort;
|
|
107
|
-
private skipDataProcessorOnce;
|
|
108
|
-
private lastRequestedBlock;
|
|
109
|
-
constructor(core: RowModelContext);
|
|
110
|
-
resolveRowId(data: TData, index: number, fallback: string): string;
|
|
111
|
-
get isTree(): boolean;
|
|
112
|
-
get isInfinite(): boolean;
|
|
113
|
-
get isBlockDatasource(): boolean;
|
|
114
|
-
getDisplayTotalCount(): number;
|
|
115
|
-
getDisplayRevision(): number;
|
|
116
|
-
isLoadingInfinite(): boolean;
|
|
117
|
-
startInfinite(signal?: AbortSignal): Promise<void>;
|
|
118
|
-
reloadInfinite(signal?: AbortSignal): Promise<void>;
|
|
119
|
-
private setInfiniteLoading;
|
|
120
|
-
private loadBlock;
|
|
121
|
-
private cancelInfiniteRequest;
|
|
122
|
-
private appendInfiniteRows;
|
|
123
|
-
private loadRandomBlock;
|
|
124
|
-
private requestDatasourceRange;
|
|
125
|
-
private installBlock;
|
|
126
|
-
private evictBlock;
|
|
127
|
-
private rebuildLoadedBlockRows;
|
|
128
|
-
private resolveBlockRowCount;
|
|
129
|
-
private blockPlaceholder;
|
|
130
|
-
private abortError;
|
|
131
|
-
private retryDelay;
|
|
132
|
-
checkInfiniteScroll(lastVisibleIndex: number): void;
|
|
133
|
-
private prefetchVisibleBlocks;
|
|
134
|
-
onServerParamsChanged(): Promise<void>;
|
|
135
|
-
onDatasourceChanged(): Promise<void>;
|
|
136
|
-
destroy(): void;
|
|
137
|
-
ensureRowsLoaded(startRow: number, endRow: number, signal?: AbortSignal): Promise<void>;
|
|
138
|
-
purgeDatasourceCache(): void;
|
|
139
|
-
getDatasourceCacheSnapshot(): RemoteBlockCacheSnapshot;
|
|
140
|
-
setRowData(rows: TData[] | null | undefined): void;
|
|
141
|
-
getChildrenIds(id: string): string[];
|
|
142
|
-
getChildrenCount(id: string): number;
|
|
143
|
-
hasChildren(id: string): boolean;
|
|
144
|
-
isTreeRowLoading(id: string): boolean;
|
|
145
|
-
private cancelTreeLoads;
|
|
146
|
-
loadTreeChildren(id: string, force?: boolean): Promise<readonly TData[]>;
|
|
147
|
-
private replaceTreeChildren;
|
|
148
|
-
private validateTreeChildren;
|
|
149
|
-
applyTransaction(transaction: RowTransaction<TData>, refresh?: boolean): RowTransactionImpact;
|
|
150
|
-
applyTransactions(transactions: readonly RowTransaction<TData>[]): RowTransactionImpact;
|
|
151
|
-
private transactionNeedsPipeline;
|
|
152
|
-
private emitIncrementalModelUpdate;
|
|
153
|
-
private buildChildNodes;
|
|
154
|
-
private reindexAll;
|
|
155
|
-
setFilterModel(filterModel: FilterModel | null): boolean;
|
|
156
|
-
getFilterModel(): FilterModel;
|
|
157
|
-
setAdvancedFilterModel(model: AdvancedFilterModel | null | undefined): boolean;
|
|
158
|
-
getAdvancedFilterModel(): AdvancedFilterModel | null;
|
|
159
|
-
setQuickFilter(text: string | null | undefined): boolean;
|
|
160
|
-
getQuickFilter(): string | null;
|
|
161
|
-
isFilterPresent(): boolean;
|
|
162
|
-
refreshPipeline(): void;
|
|
163
|
-
private refreshInfinitePipeline;
|
|
164
|
-
private startDataProcessorIfNeeded;
|
|
165
|
-
private shouldUseDataProcessor;
|
|
166
|
-
private refreshWithDataProcessor;
|
|
167
|
-
private cancelDataProcessor;
|
|
168
|
-
private pipelineRows;
|
|
169
|
-
private page;
|
|
170
|
-
private pageSize;
|
|
171
|
-
get paginationActive(): boolean;
|
|
172
|
-
private applyPagination;
|
|
173
|
-
private effectivePageSize;
|
|
174
|
-
getCurrentPage(): number;
|
|
175
|
-
getTotalRowCount(): number;
|
|
176
|
-
getPageCount(): number;
|
|
177
|
-
getPipelineRows(): RowNode<TData>[];
|
|
178
|
-
setPage(page: number, silent?: boolean): void;
|
|
179
|
-
setPageSize(size: number): void;
|
|
180
|
-
restorePagination(page: number, pageSize: number): void;
|
|
181
|
-
setPaginationEnabled(enabled: boolean): void;
|
|
182
|
-
onPaginationOptionsChanged(): void;
|
|
183
|
-
private emitPaginationChanged;
|
|
184
|
-
private buildTreeDisplay;
|
|
185
|
-
private computeSpans;
|
|
186
|
-
getSpanInfo(colId: string): Int32Array | undefined;
|
|
187
|
-
getRowSeq(node: RowNode<TData>): number;
|
|
188
|
-
getTreeDepth(node: RowNode<TData>): number;
|
|
189
|
-
private buildGrouped;
|
|
190
|
-
isRowExpandable(node: RowNode<TData>): boolean;
|
|
191
|
-
isRowExpanded(id: string): boolean;
|
|
192
|
-
getExpandedRowIds(): string[];
|
|
193
|
-
getExpandedGroupIds(): string[];
|
|
194
|
-
restoreExpansion(rowIds: readonly string[], groupIds: readonly string[]): void;
|
|
195
|
-
expandRow(id: string): boolean;
|
|
196
|
-
collapseRow(id: string): boolean;
|
|
197
|
-
toggleDetail(id: string): boolean;
|
|
198
|
-
private setDetailExpanded;
|
|
199
|
-
expandAllDetails(): void;
|
|
200
|
-
collapseAllDetails(): void;
|
|
201
|
-
toggleGroup(groupId: string): boolean;
|
|
202
|
-
isGroupExpanded(groupId: string): boolean;
|
|
203
|
-
getGroupNode(groupId: string): RowNode<TData> | undefined;
|
|
204
|
-
expandAllGroups(): void;
|
|
205
|
-
collapseAllGroups(): void;
|
|
206
|
-
private setGroupExpanded;
|
|
207
|
-
reorderRowsByDisplayed(fromIndex: number, toIndex: number): boolean;
|
|
208
|
-
getAllNodes(): RowNode<TData>[];
|
|
209
|
-
getRootNodes(): RowNode<TData>[];
|
|
210
|
-
getDisplayedRows(): RowNode<TData>[];
|
|
211
|
-
getDisplayedRowCount(): number;
|
|
212
|
-
getDisplayedRow(index: number): RowNode<TData> | undefined;
|
|
213
|
-
getNodeById(id: string): RowNode<TData> | undefined;
|
|
214
|
-
forEachNode(callback: (node: RowNode<TData>, index: number) => void): void;
|
|
215
|
-
forEachNodeAfterFilterAndSort(callback: (node: RowNode<TData>, index: number) => void): void;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
type SelectionContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "emit" | "getApi" | "getCellValue" | "headerRenderer" | "options" | "reportError" | "rowModel">;
|
|
219
|
-
declare class SelectionService {
|
|
220
|
-
private core;
|
|
221
|
-
private selectedIds;
|
|
222
|
-
private anchorId;
|
|
223
|
-
private indeterminateIds;
|
|
224
|
-
constructor(core: SelectionContext);
|
|
225
|
-
isSelected(id: string): boolean;
|
|
226
|
-
isIndeterminate(id: string): boolean;
|
|
227
|
-
isSelectable(node: RowNode<any>): boolean;
|
|
228
|
-
private findSelectableColumn;
|
|
229
|
-
getSelectedNodes(): RowNode<any>[];
|
|
230
|
-
getSelectedRows(): any[];
|
|
231
|
-
getSelectedIds(): string[];
|
|
232
|
-
restoreSelection(ids: readonly string[]): void;
|
|
233
|
-
onRowsRebuilt(preserveIds: boolean): void;
|
|
234
|
-
getGroupSelectionState(groupNode: RowNode<any>): {
|
|
235
|
-
all: boolean;
|
|
236
|
-
some: boolean;
|
|
237
|
-
};
|
|
238
|
-
setGroupSelected(groupNode: RowNode<any>, selected: boolean): void;
|
|
239
|
-
setNodeSelected(node: RowNode<any>, selected: boolean, clearOthers?: boolean): void;
|
|
240
|
-
selectNodeById(nodeId: string, selected?: boolean, clearOthers?: boolean): void;
|
|
241
|
-
onRowClick(node: RowNode<any>, event: MouseEvent, fromCheckbox: boolean): void;
|
|
242
|
-
selectAll(filteredOnly?: boolean): void;
|
|
243
|
-
deselectAll(): void;
|
|
244
|
-
isSelectAllActive(): boolean;
|
|
245
|
-
isSelectAllIndeterminate(): boolean;
|
|
246
|
-
applySelectionPublic(changes: {
|
|
247
|
-
node: RowNode<any>;
|
|
248
|
-
selected: boolean;
|
|
249
|
-
clearOthers?: boolean;
|
|
250
|
-
}[], clearOthers?: boolean): void;
|
|
251
|
-
private applySelection;
|
|
252
|
-
private subtreeIds;
|
|
253
|
-
private recomputeTriState;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
type ResizeContext = Pick<GridCore<any>, "columnModel" | "commitColumnWidths" | "emitColumnResize" | "options" | "relayoutColumns" | "skeleton">;
|
|
257
|
-
declare class ResizeService {
|
|
258
|
-
private core;
|
|
259
|
-
private active;
|
|
260
|
-
private rafId;
|
|
261
|
-
private pendingWidth;
|
|
262
|
-
constructor(core: ResizeContext);
|
|
263
|
-
startResize(event: PointerEvent, column: Column): void;
|
|
264
|
-
cancelResize(restore?: boolean): void;
|
|
265
|
-
private onMove;
|
|
266
|
-
private onUp;
|
|
267
|
-
private onCancel;
|
|
268
|
-
private onLostPointerCapture;
|
|
269
|
-
private finishResize;
|
|
270
|
-
private applyPendingWidth;
|
|
271
|
-
private widthFromPointer;
|
|
272
|
-
private matchActivePointer;
|
|
273
|
-
private clearFrame;
|
|
274
|
-
private removeListeners;
|
|
275
|
-
destroy(): void;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
type ColumnDragContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "moveColumn" | "skeleton">;
|
|
279
|
-
declare class ColumnDragService {
|
|
280
|
-
private core;
|
|
281
|
-
private pending;
|
|
282
|
-
private dragging;
|
|
283
|
-
private suppressClick;
|
|
284
|
-
constructor(core: ColumnDragContext);
|
|
285
|
-
onPointerDown(e: PointerEvent, column: Column): void;
|
|
286
|
-
didDrag(): boolean;
|
|
287
|
-
private onMove;
|
|
288
|
-
private startDrag;
|
|
289
|
-
private findHeaderCell;
|
|
290
|
-
private updateIndicator;
|
|
291
|
-
private onUp;
|
|
292
|
-
private cleanup;
|
|
293
|
-
destroy(): void;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
type KeyboardContext = Pick<GridCore<any>, "bodyRenderer" | "buildRangeTsv" | "clearRangeValues" | "columnModel" | "editingService" | "isDestroyed" | "options" | "pasteText" | "rowModel" | "selectionService" | "skeleton" | "undoService">;
|
|
297
|
-
declare class KeyboardService {
|
|
298
|
-
private core;
|
|
299
|
-
constructor(core: KeyboardContext);
|
|
300
|
-
init(): void;
|
|
301
|
-
destroy(): void;
|
|
302
|
-
nextEditable(rowIndex: number, colId: string, dir: 1 | -1): {
|
|
303
|
-
rowIndex: number;
|
|
304
|
-
column: Column;
|
|
305
|
-
} | null;
|
|
306
|
-
private skipDetailRows;
|
|
307
|
-
private onCopy;
|
|
308
|
-
private onCut;
|
|
309
|
-
private onPaste;
|
|
310
|
-
private onKeyDown;
|
|
311
|
-
private handleSelectAll;
|
|
312
|
-
private handleHistoryShortcut;
|
|
313
|
-
private handleRangeCommand;
|
|
314
|
-
private focusFirstCell;
|
|
315
|
-
private handleFocusedKey;
|
|
316
|
-
private resolveKeyPosition;
|
|
317
|
-
private movePosition;
|
|
318
|
-
private validSkippedRow;
|
|
319
|
-
private movePage;
|
|
320
|
-
private activateEditor;
|
|
321
|
-
private toggleFocusedRow;
|
|
322
|
-
private moveToEditable;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
type EditingContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "emit" | "getApi" | "getCellValue" | "keyboardService" | "notifyCellValueChanged" | "options" | "reportError" | "resolveCellEditor" | "rowModel" | "setCellValue" | "statusBarService" | "summaryRenderer" | "undoService" | "writeValue">;
|
|
326
|
-
declare class EditingService {
|
|
327
|
-
private core;
|
|
328
|
-
private cellEditing;
|
|
329
|
-
private rowEditing;
|
|
330
|
-
private stopPromise;
|
|
331
|
-
private stopToken;
|
|
332
|
-
constructor(core: EditingContext);
|
|
333
|
-
isEditing(rowIndex?: number, colId?: string): boolean;
|
|
334
|
-
isCellEditing(): boolean;
|
|
335
|
-
isRowEditing(rowIndex?: number): boolean;
|
|
336
|
-
isEditable(node: RowNode<any>, column: Column): boolean;
|
|
337
|
-
start(rowIndex: number, column: Column, keyPress?: string | null): boolean;
|
|
338
|
-
startRow(rowIndex: number, preferredColId?: string): boolean;
|
|
339
|
-
/** Called by BodyRenderer so row editors survive horizontal/vertical virtualization. */
|
|
340
|
-
renderEditor(rowIndex: number, node: RowNode<any>, column: Column, cell: HTMLElement): boolean;
|
|
341
|
-
/** Captures a staged value before a pooled/virtual cell is reused. */
|
|
342
|
-
releaseCell(rowIndex: number, colId: string, cell: HTMLElement): void;
|
|
343
|
-
stop(cancel?: boolean): void;
|
|
344
|
-
stopAsync(cancel?: boolean): Promise<boolean>;
|
|
345
|
-
stopRowAsync(cancel?: boolean): Promise<boolean>;
|
|
346
|
-
private finishCellStop;
|
|
347
|
-
private finishRowStop;
|
|
348
|
-
private commitRowDrafts;
|
|
349
|
-
private mountRowDraft;
|
|
350
|
-
private unmountRowDraft;
|
|
351
|
-
private captureRowDraft;
|
|
352
|
-
private createCellEditor;
|
|
353
|
-
private validateValue;
|
|
354
|
-
private validateRowDraft;
|
|
355
|
-
private showRowErrors;
|
|
356
|
-
private showError;
|
|
357
|
-
private setCellBusy;
|
|
358
|
-
private setRowBusy;
|
|
359
|
-
private applyValue;
|
|
360
|
-
private focusEditor;
|
|
361
|
-
private destroyMountedEditor;
|
|
362
|
-
private currentRowIndex;
|
|
363
|
-
private onCellEditorKeyDown;
|
|
364
|
-
private onRowEditorKeyDown;
|
|
365
|
-
private onCellEditorBlur;
|
|
366
|
-
destroy(): void;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
type FilterPopupContext = Pick<GridCore<any>, "applyColumnFilter" | "getCellValue" | "getLocaleText" | "rowModel">;
|
|
370
|
-
declare class FilterPopupService {
|
|
371
|
-
private core;
|
|
372
|
-
private panel;
|
|
373
|
-
private openColId;
|
|
374
|
-
constructor(core: FilterPopupContext);
|
|
375
|
-
toggle(column: Column, anchor: HTMLElement): void;
|
|
376
|
-
private docMouseDown;
|
|
377
|
-
private docKeyDown;
|
|
378
|
-
private open;
|
|
379
|
-
close(): void;
|
|
380
|
-
destroy(): void;
|
|
381
|
-
private buildConditionBody;
|
|
382
|
-
private buildSetBody;
|
|
383
|
-
private readFilter;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
type ColumnMenuContext = Pick<GridCore<any>, "columnModel" | "getApi" | "getLocaleText" | "options" | "skeleton">;
|
|
387
|
-
declare class ColumnMenuService {
|
|
388
|
-
private core;
|
|
389
|
-
private panel;
|
|
390
|
-
private openColId;
|
|
391
|
-
private standaloneAnchor;
|
|
392
|
-
private searchText;
|
|
393
|
-
constructor(core: ColumnMenuContext);
|
|
394
|
-
toggle(column: Column, anchor: HTMLElement): void;
|
|
395
|
-
openStandalone(anchor?: HTMLElement): void;
|
|
396
|
-
close(): void;
|
|
397
|
-
destroy(): void;
|
|
398
|
-
private docMouseDown;
|
|
399
|
-
private docKeyDown;
|
|
400
|
-
private open;
|
|
401
|
-
private rebuildListStates;
|
|
402
|
-
private renderColumnList;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
type ContextMenuContext = Pick<GridCore<any>, "bodyRenderer" | "clearRangeValues" | "columnModel" | "copyActiveRange" | "getApi" | "getCellValue" | "getLocaleText" | "options" | "pasteFromSystemClipboard" | "reportError" | "rowModel">;
|
|
406
|
-
declare class ContextMenuService {
|
|
407
|
-
private core;
|
|
408
|
-
private panel;
|
|
409
|
-
constructor(core: ContextMenuContext);
|
|
410
|
-
open(x: number, y: number, anchor?: {
|
|
411
|
-
rowIndex: number;
|
|
412
|
-
colId: string;
|
|
413
|
-
}): void;
|
|
414
|
-
private attach;
|
|
415
|
-
close(): void;
|
|
416
|
-
destroy(): void;
|
|
417
|
-
private docMouseDown;
|
|
418
|
-
private docKeyDown;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
type TooltipContext = Pick<GridCore<any>, "columnModel" | "getApi" | "getCellValue" | "isDestroyed" | "options" | "reportError" | "rowModel" | "skeleton">;
|
|
422
|
-
declare class TooltipService {
|
|
423
|
-
private core;
|
|
424
|
-
private panel;
|
|
425
|
-
private showTimer;
|
|
426
|
-
private hideTimer;
|
|
427
|
-
private currentCell;
|
|
428
|
-
constructor(core: TooltipContext);
|
|
429
|
-
init(): void;
|
|
430
|
-
destroy(): void;
|
|
431
|
-
hide(): void;
|
|
432
|
-
private clearTimers;
|
|
433
|
-
private removePanel;
|
|
434
|
-
private onMouseOver;
|
|
435
|
-
private onBodyLeave;
|
|
436
|
-
private showPanel;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
type WatermarkContext = Pick<GridCore<any>, "isDestroyed" | "options" | "skeleton">;
|
|
440
|
-
declare class WatermarkService {
|
|
441
|
-
private core;
|
|
442
|
-
private overlay;
|
|
443
|
-
constructor(core: WatermarkContext);
|
|
444
|
-
init(): void;
|
|
445
|
-
apply(): void;
|
|
446
|
-
private buildTile;
|
|
447
|
-
private isDark;
|
|
448
|
-
refresh(): void;
|
|
449
|
-
destroy(): void;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
type UndoContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "emit" | "options" | "rowModel" | "statusBarService" | "summaryRenderer" | "writeValue">;
|
|
453
|
-
interface UndoEntry {
|
|
454
|
-
nodeId: string;
|
|
455
|
-
columnId: string;
|
|
456
|
-
oldValue: any;
|
|
457
|
-
newValue: any;
|
|
458
|
-
}
|
|
459
|
-
declare class UndoRedoService {
|
|
460
|
-
private core;
|
|
461
|
-
private stack;
|
|
462
|
-
private pointer;
|
|
463
|
-
private pending;
|
|
464
|
-
constructor(core: UndoContext);
|
|
465
|
-
beginBatch(): void;
|
|
466
|
-
endBatch(): void;
|
|
467
|
-
cancelBatch(): void;
|
|
468
|
-
record(entry: UndoEntry): void;
|
|
469
|
-
private push;
|
|
470
|
-
trimToSize(): void;
|
|
471
|
-
canUndo(): boolean;
|
|
472
|
-
canRedo(): boolean;
|
|
473
|
-
undo(): boolean;
|
|
474
|
-
redo(): boolean;
|
|
475
|
-
private apply;
|
|
476
|
-
clear(): void;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
type ChangeTrackingContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "emit" | "eventBus" | "getCellValue" | "rowModel" | "statusBarService" | "summaryRenderer" | "writeValue">;
|
|
480
|
-
declare class ChangeTrackingService<TData = any> {
|
|
481
|
-
private core;
|
|
482
|
-
private changes;
|
|
483
|
-
private rollingBack;
|
|
484
|
-
private unsubscribe;
|
|
485
|
-
constructor(core: ChangeTrackingContext);
|
|
486
|
-
init(): void;
|
|
487
|
-
private record;
|
|
488
|
-
getDirtyRowIds(): string[];
|
|
489
|
-
getChanges(): GridChange<TData>[];
|
|
490
|
-
markSaved(rowIds?: readonly string[]): void;
|
|
491
|
-
acknowledge(saved: readonly GridChange<TData>[]): void;
|
|
492
|
-
rollback(rowIds?: readonly string[]): boolean;
|
|
493
|
-
clearRows(rowIds: readonly string[]): void;
|
|
494
|
-
clear(): void;
|
|
495
|
-
destroy(): void;
|
|
496
|
-
private emitChanged;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
declare class PerformanceMonitor {
|
|
500
|
-
private samples;
|
|
501
|
-
private layoutSamples;
|
|
502
|
-
private modelSamples;
|
|
503
|
-
private longTaskBaseline;
|
|
504
|
-
private releaseLongTaskHub;
|
|
505
|
-
constructor();
|
|
506
|
-
start(): number;
|
|
507
|
-
recordRender(startedAt: number, rows: number, columns: number): void;
|
|
508
|
-
recordLayout(startedAt: number): void;
|
|
509
|
-
recordModel(startedAt: number): void;
|
|
510
|
-
snapshot(): GridPerformanceSnapshot;
|
|
511
|
-
reset(): void;
|
|
512
|
-
destroy(): void;
|
|
513
|
-
private pushDuration;
|
|
514
|
-
private average;
|
|
515
|
-
private usedHeapBytes;
|
|
516
|
-
private percentile;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
interface GridUpdateRequest {
|
|
520
|
-
columns?: boolean;
|
|
521
|
-
header?: boolean;
|
|
522
|
-
pool?: boolean;
|
|
523
|
-
data?: boolean;
|
|
524
|
-
layout?: boolean;
|
|
525
|
-
cells?: true | RefreshCellsParams;
|
|
526
|
-
pinned?: boolean;
|
|
527
|
-
summary?: boolean;
|
|
528
|
-
overlays?: boolean;
|
|
529
|
-
}
|
|
530
|
-
interface GridUpdateSchedulerSnapshot {
|
|
531
|
-
batchDepth: number;
|
|
532
|
-
flushCount: number;
|
|
533
|
-
requestCount: number;
|
|
534
|
-
coalescedRequestCount: number;
|
|
535
|
-
pending: boolean;
|
|
536
|
-
}
|
|
537
|
-
/** Coalesces explicit API batches while preserving synchronous behavior outside a batch. */
|
|
538
|
-
declare class GridUpdateScheduler {
|
|
539
|
-
private readonly apply;
|
|
540
|
-
private depth;
|
|
541
|
-
private pending;
|
|
542
|
-
private flushCount;
|
|
543
|
-
private requestCount;
|
|
544
|
-
private coalescedRequestCount;
|
|
545
|
-
private destroyed;
|
|
546
|
-
constructor(apply: (request: GridUpdateRequest) => void);
|
|
547
|
-
batch<T>(callback: () => T): T;
|
|
548
|
-
schedule(request: GridUpdateRequest): void;
|
|
549
|
-
flush(): void;
|
|
550
|
-
snapshot(): GridUpdateSchedulerSnapshot;
|
|
551
|
-
destroy(): void;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
type SkeletonContext = Pick<GridCore<any>, "options" | "relayout" | "reportError">;
|
|
555
|
-
declare class GridSkeleton {
|
|
556
|
-
private core;
|
|
557
|
-
root: HTMLElement;
|
|
558
|
-
headerEl: HTMLElement;
|
|
559
|
-
bodyEl: HTMLElement;
|
|
560
|
-
pinnedTopEl: HTMLElement;
|
|
561
|
-
pinnedBottomEl: HTMLElement;
|
|
562
|
-
headerRows: Record<PaneType, HTMLElement[]>;
|
|
563
|
-
headerRowContainers: Record<PaneType, HTMLElement>;
|
|
564
|
-
bodyViewports: Record<PaneType, HTMLElement>;
|
|
565
|
-
rowContainers: Record<PaneType, HTMLElement>;
|
|
566
|
-
private headerPanes;
|
|
567
|
-
private bodyPanes;
|
|
568
|
-
private overlayWrapper;
|
|
569
|
-
private overlayContent;
|
|
570
|
-
private infiniteLoadingEl;
|
|
571
|
-
private infiniteLoadingText;
|
|
572
|
-
private currentOverlay;
|
|
573
|
-
private currentOverlayContent;
|
|
574
|
-
private currentOverlayAllowsHtml;
|
|
575
|
-
private overlayCleanup;
|
|
576
|
-
private customClassTokens;
|
|
577
|
-
private resizeObserver;
|
|
578
|
-
private headerDepth;
|
|
579
|
-
constructor(core: SkeletonContext);
|
|
580
|
-
init(container: HTMLElement, options: ResolvedGridOptions): void;
|
|
581
|
-
applyAriaLabels(options: Pick<ResolvedGridOptions, "ariaLabel" | "ariaLabelledBy" | "ariaDescribedBy">): void;
|
|
582
|
-
setHeaderRowCount(depth: number): void;
|
|
583
|
-
getHeaderRowCount(): number;
|
|
584
|
-
private applyHeaderHeight;
|
|
585
|
-
setPaneWidths(left: number, right: number): void;
|
|
586
|
-
private applyPaneWidth;
|
|
587
|
-
measureViewportWidth(): number;
|
|
588
|
-
updateHeights(rowHeight: number, headerHeight: number): void;
|
|
589
|
-
applySize(size: GridSize): void;
|
|
590
|
-
private themeUnsub;
|
|
591
|
-
applyTheme(theme: ThemeMode): void;
|
|
592
|
-
private systemPrefersDark;
|
|
593
|
-
setStriped(on: boolean): void;
|
|
594
|
-
setCellBorders(on: boolean): void;
|
|
595
|
-
applyDomLayout(layout: DomLayoutMode): void;
|
|
596
|
-
setCustomClass(className: string | null | undefined): void;
|
|
597
|
-
showOverlay(type: "loading" | "noRows" | "error", content: OverlayTemplate, allowUnsafeHtml?: boolean): void;
|
|
598
|
-
hideOverlay(): void;
|
|
599
|
-
private applyOverlayRole;
|
|
600
|
-
setInfiniteLoading(active: boolean, text: string): void;
|
|
601
|
-
destroy(): void;
|
|
602
|
-
private cleanupOverlayContent;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
type HeaderContext = Pick<GridCore<any>, "columnDragService" | "columnMenu" | "columnModel" | "commitColumnWidths" | "cycleSort" | "emit" | "filterPopup" | "getApi" | "isDestroyed" | "moveColumn" | "options" | "relayoutColumns" | "reportError" | "resizeService" | "rowModel" | "selectionService" | "skeleton">;
|
|
606
|
-
declare class HeaderRenderer {
|
|
607
|
-
private core;
|
|
608
|
-
private leafCells;
|
|
609
|
-
private groupCells;
|
|
610
|
-
private paneTrees;
|
|
611
|
-
private columnViewport;
|
|
612
|
-
private centerFirst;
|
|
613
|
-
private centerLastExcl;
|
|
614
|
-
constructor(core: HeaderContext);
|
|
615
|
-
build(): void;
|
|
616
|
-
updateColumnWindow(): void;
|
|
617
|
-
private updateColumnWindowState;
|
|
618
|
-
private filterTreeColumns;
|
|
619
|
-
private createLeafCell;
|
|
620
|
-
private createGroupCell;
|
|
621
|
-
applyLayout(): void;
|
|
622
|
-
private visiblePaneLeaves;
|
|
623
|
-
private onHeaderKeyDown;
|
|
624
|
-
private focusHeaderCell;
|
|
625
|
-
private scrollColumnIntoView;
|
|
626
|
-
private canResizeColumn;
|
|
627
|
-
refreshSortIndicators(): void;
|
|
628
|
-
refreshFilterIcons(): void;
|
|
629
|
-
refreshSelectAllCheckbox(): void;
|
|
630
|
-
destroy(): void;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
interface NormalizedRange {
|
|
634
|
-
r1: number;
|
|
635
|
-
c1: number;
|
|
636
|
-
r2: number;
|
|
637
|
-
c2: number;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
type BodyContext = Pick<GridCore<any>, "buildDefaultEmptyState" | "buildDefaultErrorState" | "columnModel" | "contextMenuService" | "editingService" | "emit" | "getApi" | "getCellValue" | "gridId" | "headerRenderer" | "isDestroyed" | "options" | "performanceMonitor" | "pinnedRowsRenderer" | "reportError" | "resolveCellRenderer" | "rowModel" | "selectionService" | "setCellValue" | "skeleton" | "summaryRenderer" | "toggleDetail" | "tooltipService" | "undoService">;
|
|
641
|
-
interface FocusedCell {
|
|
642
|
-
rowIndex: number;
|
|
643
|
-
colId: string;
|
|
644
|
-
}
|
|
645
|
-
declare class BodyRenderer {
|
|
646
|
-
private core;
|
|
647
|
-
private pool;
|
|
648
|
-
private poolSize;
|
|
649
|
-
private first;
|
|
650
|
-
private lastExcl;
|
|
651
|
-
private rafId;
|
|
652
|
-
private hoverIndex;
|
|
653
|
-
private rowSizes;
|
|
654
|
-
private columnViewport;
|
|
655
|
-
private rangeSelection;
|
|
656
|
-
private rangeDragging;
|
|
657
|
-
private colFirst;
|
|
658
|
-
private colLastExcl;
|
|
659
|
-
focusedCell: FocusedCell | null;
|
|
660
|
-
private rowDragController;
|
|
661
|
-
constructor(core: BodyContext);
|
|
662
|
-
init(): void;
|
|
663
|
-
destroy(): void;
|
|
664
|
-
paneForColumn(column: Column): PaneType;
|
|
665
|
-
private onScroll;
|
|
666
|
-
syncScroll(): void;
|
|
667
|
-
private paneWidths;
|
|
668
|
-
private lastMinRowHeight;
|
|
669
|
-
private rowHeightCache;
|
|
670
|
-
private dirtyHeightNodes;
|
|
671
|
-
private rowLayoutSignature;
|
|
672
|
-
private pendingFlash;
|
|
673
|
-
private measureCanvas;
|
|
674
|
-
applyContainerSizes(): void;
|
|
675
|
-
invalidateRowHeight(node: RowNode<any>): void;
|
|
676
|
-
private applyDomLayoutHeight;
|
|
677
|
-
invalidateAllRowHeights(): void;
|
|
678
|
-
private resolveRowHeight;
|
|
679
|
-
private rowTop;
|
|
680
|
-
private rowAtOffset;
|
|
681
|
-
private collectAutoHeightColumns;
|
|
682
|
-
private get hasAnyAutoHeight();
|
|
683
|
-
private measureAutoHeight;
|
|
684
|
-
queueFlash(rowIndexes: number[], colIds: string[]): void;
|
|
685
|
-
flushFlash(): void;
|
|
686
|
-
relayout(): void;
|
|
687
|
-
private growPool;
|
|
688
|
-
private activePaneColumns;
|
|
689
|
-
private createCell;
|
|
690
|
-
private reconcilePaneCells;
|
|
691
|
-
rebuildPool(): void;
|
|
692
|
-
applyCellLayout(): void;
|
|
693
|
-
private computeColWindow;
|
|
694
|
-
updateRange(force?: boolean): void;
|
|
695
|
-
private updateRangeInner;
|
|
696
|
-
private calculateVisibleRange;
|
|
697
|
-
private hideOutsideRange;
|
|
698
|
-
private renderVirtualRange;
|
|
699
|
-
private reconcileColumnWindow;
|
|
700
|
-
private renderAutoHeightRange;
|
|
701
|
-
private hideSlot;
|
|
702
|
-
private assignSlot;
|
|
703
|
-
private renderPaneCells;
|
|
704
|
-
private resolveColSpan;
|
|
705
|
-
private applySpanWidth;
|
|
706
|
-
private renderDetailContent;
|
|
707
|
-
private cleanupDetail;
|
|
708
|
-
private renderCell;
|
|
709
|
-
private cellRenderKind;
|
|
710
|
-
private renderStructuralCell;
|
|
711
|
-
private appendEditableIndicator;
|
|
712
|
-
private releaseSlotEditors;
|
|
713
|
-
private treeColumnCache;
|
|
714
|
-
private getTreeColumn;
|
|
715
|
-
private renderTreeCell;
|
|
716
|
-
private getNodeDepth;
|
|
717
|
-
private resetSpanStyle;
|
|
718
|
-
private applyCellSpanStyle;
|
|
719
|
-
private renderGroupCell;
|
|
720
|
-
refreshRows(indexes: number[]): void;
|
|
721
|
-
refreshAllCells(): void;
|
|
722
|
-
refreshCells(params?: RefreshCellsParams): void;
|
|
723
|
-
private matchesRefreshRow;
|
|
724
|
-
private refreshSlotCells;
|
|
725
|
-
private refreshPaneCells;
|
|
726
|
-
onDataChanged(): void;
|
|
727
|
-
refreshOverlays(): void;
|
|
728
|
-
getCellElement(rowIndex: number, colId: string): HTMLElement | null;
|
|
729
|
-
private invalidateRangeCache;
|
|
730
|
-
normalizedRange(): NormalizedRange | null;
|
|
731
|
-
getNormalizedRangeOrFocus(): NormalizedRange | null;
|
|
732
|
-
getRangeSelection(): {
|
|
733
|
-
row1: number;
|
|
734
|
-
row2: number;
|
|
735
|
-
colId1: string;
|
|
736
|
-
colId2: string;
|
|
737
|
-
} | null;
|
|
738
|
-
getPasteStart(): {
|
|
739
|
-
row: number;
|
|
740
|
-
colIdx: number;
|
|
741
|
-
} | null;
|
|
742
|
-
clearRangeSelection(): void;
|
|
743
|
-
private refreshRowRange;
|
|
744
|
-
startRange(row: number, colIdx: number, extend: boolean): void;
|
|
745
|
-
moveRangeEnd(row: number, colIdx: number): void;
|
|
746
|
-
private applyRangeClass;
|
|
747
|
-
private fillHandleEl;
|
|
748
|
-
private fillDrag;
|
|
749
|
-
private fillFromPointer;
|
|
750
|
-
private ensureFillHandle;
|
|
751
|
-
private updateFillHandle;
|
|
752
|
-
private onFillHandleDown;
|
|
753
|
-
private fillTargetRow;
|
|
754
|
-
private fillTargetCol;
|
|
755
|
-
private fillDragIndicator;
|
|
756
|
-
private cancelFillDrag;
|
|
757
|
-
private onFillMove;
|
|
758
|
-
private fillHorizontal;
|
|
759
|
-
private onFillUp;
|
|
760
|
-
private fillValues;
|
|
761
|
-
private fillValuesInner;
|
|
762
|
-
setFocusedCell(rowIndex: number | null, colId: string | null): void;
|
|
763
|
-
private applyFocusClass;
|
|
764
|
-
private clearFocusClass;
|
|
765
|
-
private ensureFocusedCellVisible;
|
|
766
|
-
scrollToIndex(rowIndex: number, position?: "top" | "bottom" | "middle" | "nearest"): void;
|
|
767
|
-
private setHoverIndex;
|
|
768
|
-
private toggleHover;
|
|
769
|
-
focusGridRoot(): void;
|
|
770
|
-
private resolveEventTarget;
|
|
771
|
-
private onBodyClick;
|
|
772
|
-
private handleTreeToggleClick;
|
|
773
|
-
private firstCheckboxColId;
|
|
774
|
-
private onBodyDblClick;
|
|
775
|
-
private onContextMenu;
|
|
776
|
-
private onMouseDown;
|
|
777
|
-
private onWindowMouseUp;
|
|
778
|
-
private onMouseOver;
|
|
779
|
-
private onMouseLeave;
|
|
780
|
-
private onDragHandlePointerDown;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
type SummaryContext = Pick<GridCore<any>, "columnModel" | "getCellValue" | "isDestroyed" | "options" | "reportError" | "rowModel" | "skeleton">;
|
|
784
|
-
declare class SummaryRenderer {
|
|
785
|
-
private core;
|
|
786
|
-
private footerEl;
|
|
787
|
-
private rows;
|
|
788
|
-
private cellsByPane;
|
|
789
|
-
constructor(core: SummaryContext);
|
|
790
|
-
init(): void;
|
|
791
|
-
setVisible(visible: boolean): void;
|
|
792
|
-
refresh(): void;
|
|
793
|
-
destroy(): void;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
type PaginationContext = Pick<GridCore<any>, "eventBus" | "isDestroyed" | "options" | "rowModel" | "skeleton">;
|
|
797
|
-
declare class PaginationBar {
|
|
798
|
-
private core;
|
|
799
|
-
private barEl;
|
|
800
|
-
private totalEl;
|
|
801
|
-
private pageEl;
|
|
802
|
-
private sizeSelect;
|
|
803
|
-
private firstBtn;
|
|
804
|
-
private prevBtn;
|
|
805
|
-
private nextBtn;
|
|
806
|
-
private lastBtn;
|
|
807
|
-
private offs;
|
|
808
|
-
constructor(core: PaginationContext);
|
|
809
|
-
init(): void;
|
|
810
|
-
private buildSizeOptions;
|
|
811
|
-
private t;
|
|
812
|
-
rebuild(): void;
|
|
813
|
-
refresh(): void;
|
|
814
|
-
destroy(): void;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
type PinnedRowsContext = Pick<GridCore<any>, "columnModel" | "getApi" | "getCellValue" | "isDestroyed" | "options" | "relayout" | "reportError" | "resolveCellRenderer" | "skeleton">;
|
|
818
|
-
declare class PinnedRowsRenderer {
|
|
819
|
-
private core;
|
|
820
|
-
private top;
|
|
821
|
-
private bottom;
|
|
822
|
-
constructor(core: PinnedRowsContext);
|
|
823
|
-
init(): void;
|
|
824
|
-
private createSide;
|
|
825
|
-
setData(top: any[] | null, bottom: any[] | null): void;
|
|
826
|
-
setTopData(rows: any[] | null): void;
|
|
827
|
-
setBottomData(rows: any[] | null): void;
|
|
828
|
-
getTopData(): any[];
|
|
829
|
-
getBottomData(): any[];
|
|
830
|
-
rebuild(): void;
|
|
831
|
-
private rebuildSide;
|
|
832
|
-
applyLayout(): void;
|
|
833
|
-
onScrollLeft(scrollLeft: number): void;
|
|
834
|
-
refresh(): void;
|
|
835
|
-
destroy(): void;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
type StatusBarContext = Pick<GridCore<any>, "bodyRenderer" | "columnModel" | "eventBus" | "getCellValue" | "isDestroyed" | "options" | "rowModel" | "selectionService" | "skeleton">;
|
|
839
|
-
declare class StatusBarService {
|
|
840
|
-
private core;
|
|
841
|
-
private barEl;
|
|
842
|
-
private items;
|
|
843
|
-
private offs;
|
|
844
|
-
constructor(core: StatusBarContext);
|
|
845
|
-
init(): void;
|
|
846
|
-
rebuild(): void;
|
|
847
|
-
refresh(): void;
|
|
848
|
-
destroy(): void;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
declare class GridCore<TData = any> {
|
|
852
|
-
readonly gridId: number;
|
|
853
|
-
readonly options: ResolvedGridOptions<TData>;
|
|
854
|
-
readonly eventBus: EventBus<GridEventMap<TData>>;
|
|
855
|
-
readonly skeleton: GridSkeleton;
|
|
856
|
-
readonly columnModel: ColumnModel;
|
|
857
|
-
readonly rowModel: RowModel<TData>;
|
|
858
|
-
readonly selectionService: SelectionService;
|
|
859
|
-
readonly headerRenderer: HeaderRenderer;
|
|
860
|
-
readonly bodyRenderer: BodyRenderer;
|
|
861
|
-
readonly resizeService: ResizeService;
|
|
862
|
-
readonly columnDragService: ColumnDragService;
|
|
863
|
-
readonly keyboardService: KeyboardService;
|
|
864
|
-
readonly editingService: EditingService;
|
|
865
|
-
readonly undoService: UndoRedoService;
|
|
866
|
-
readonly changeTracker: ChangeTrackingService<TData>;
|
|
867
|
-
readonly performanceMonitor: PerformanceMonitor;
|
|
868
|
-
readonly updateScheduler: GridUpdateScheduler;
|
|
869
|
-
readonly filterPopup: FilterPopupService;
|
|
870
|
-
readonly columnMenu: ColumnMenuService;
|
|
871
|
-
readonly contextMenuService: ContextMenuService;
|
|
872
|
-
readonly tooltipService: TooltipService;
|
|
873
|
-
readonly watermarkService: WatermarkService;
|
|
874
|
-
readonly paginationBar: PaginationBar;
|
|
875
|
-
readonly pinnedRowsRenderer: PinnedRowsRenderer;
|
|
876
|
-
readonly summaryRenderer: SummaryRenderer;
|
|
877
|
-
readonly statusBarService: StatusBarService;
|
|
878
|
-
readonly api: GridApi<TData>;
|
|
879
|
-
private destroyed;
|
|
880
|
-
private autoIdCounter;
|
|
881
|
-
private readyRafId;
|
|
882
|
-
private readySettled;
|
|
883
|
-
private readonly readyPromise;
|
|
884
|
-
private readonly resolveReady;
|
|
885
|
-
private lastColumnLayoutSignature;
|
|
886
|
-
private activeFeatures;
|
|
887
|
-
private recentErrors;
|
|
888
|
-
private stateSaveTimer;
|
|
889
|
-
private gridStateLoadToken;
|
|
890
|
-
constructor(container: HTMLElement, options: GridOptions<TData>);
|
|
891
|
-
getApi(): GridApi<TData>;
|
|
892
|
-
whenReady(): Promise<GridApi<TData>>;
|
|
893
|
-
private settleReady;
|
|
894
|
-
resolveCellRenderer(name: string): CellRendererFn | undefined;
|
|
895
|
-
resolveCellEditor(name: string): CellEditorFactory | undefined;
|
|
896
|
-
private inactiveFeatureDependency;
|
|
897
|
-
setFeatures(features: readonly GridFeature<TData>[] | null | undefined): void;
|
|
898
|
-
private destroyFeatures;
|
|
899
|
-
isDestroyed(): boolean;
|
|
900
|
-
nextId(): number;
|
|
901
|
-
getCellValue(node: RowNode<any>, column: Column): any;
|
|
902
|
-
getLocaleText(key: RgLocaleKey): string;
|
|
903
|
-
writeValue(node: RowNode<any>, column: Column, newValue: any, oldValue?: any): boolean;
|
|
904
|
-
setCellValue(node: RowNode<any>, column: Column, newValue: any, oldValue: any): boolean;
|
|
905
|
-
/** Emits the shared value-change side effects after a caller has written data transactionally. */
|
|
906
|
-
notifyCellValueChanged(node: RowNode<any>, column: Column, oldValue: any, newValue: any): void;
|
|
907
|
-
buildRangeTsv(range: {
|
|
908
|
-
r1: number;
|
|
909
|
-
c1: number;
|
|
910
|
-
r2: number;
|
|
911
|
-
c2: number;
|
|
912
|
-
}): string;
|
|
913
|
-
copyActiveRange(): Promise<boolean>;
|
|
914
|
-
clearRangeValues(range: {
|
|
915
|
-
r1: number;
|
|
916
|
-
c1: number;
|
|
917
|
-
r2: number;
|
|
918
|
-
c2: number;
|
|
919
|
-
}): void;
|
|
920
|
-
pasteText(text: string, startRow: number, startColIdx: number): void;
|
|
921
|
-
pasteFromSystemClipboard(): Promise<void>;
|
|
922
|
-
refreshSummary(): void;
|
|
923
|
-
emit<K extends GridEventType>(type: K, extra?: Partial<GridEventMap<TData>[K]>): GridEventMap<TData>[K];
|
|
924
|
-
reportError(error: unknown, source: string, context?: Record<string, unknown>): void;
|
|
925
|
-
private errorCodeFor;
|
|
926
|
-
getDiagnostics(): GridDiagnostics;
|
|
927
|
-
cycleSort(column: Column, additive: boolean): void;
|
|
928
|
-
applySortModel(): void;
|
|
929
|
-
applyColumnFilter(column: Column, filter: ColumnFilter | null): void;
|
|
930
|
-
applyQuickFilter(): void;
|
|
931
|
-
moveColumn(colId: string, toIndex: number): void;
|
|
932
|
-
toggleDetail(rowId: string): boolean;
|
|
933
|
-
emitColumnResize(column: Column, finished: boolean): void;
|
|
934
|
-
/** Finalizes one logical resize operation and persists its state once. */
|
|
935
|
-
commitColumnWidths(columns: readonly Column[]): void;
|
|
936
|
-
private columnStateLoadToken;
|
|
937
|
-
loadPersistedColumnState(): void;
|
|
938
|
-
persistColumnState(): void;
|
|
939
|
-
loadPersistedGridState(): void;
|
|
940
|
-
scheduleGridStateSave(): void;
|
|
941
|
-
persistGridState(): void;
|
|
942
|
-
buildDefaultErrorState(): HTMLElement;
|
|
943
|
-
buildDefaultEmptyState(): HTMLElement;
|
|
944
|
-
private lastValidatedDefs;
|
|
945
|
-
private issuedWarningSignatures;
|
|
946
|
-
checkWarnings(inputOptions?: Partial<GridOptions<any>> | Record<string, unknown>): void;
|
|
947
|
-
validateDefs(defs: (ColDef<any> | ColDefGroup<any>)[] | null | undefined): void;
|
|
948
|
-
onColumnsStructureChanged(): void;
|
|
949
|
-
requestUpdate(request: GridUpdateRequest): void;
|
|
950
|
-
batchUpdates<TResult>(callback: () => TResult): TResult;
|
|
951
|
-
private applyScheduledUpdate;
|
|
952
|
-
private applyColumnsStructureChanged;
|
|
953
|
-
relayout(): void;
|
|
954
|
-
refreshAriaState(): void;
|
|
955
|
-
relayoutColumns(invalidateRowHeights?: boolean): void;
|
|
956
|
-
destroy(): void;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
declare function defaultComparator(valueA: any, valueB: any): number;
|
|
960
|
-
|
|
961
8
|
declare function isSafePath(path: string): boolean;
|
|
962
9
|
declare function getByPath(obj: any, path: string): any;
|
|
963
10
|
declare function setByPath(obj: any, path: string, value: any): boolean;
|
|
964
11
|
|
|
965
|
-
interface WidthInput {
|
|
966
|
-
width?: number;
|
|
967
|
-
minWidth?: number;
|
|
968
|
-
maxWidth?: number;
|
|
969
|
-
flex?: number;
|
|
970
|
-
}
|
|
971
|
-
declare function computeColumnWidths(cols: WidthInput[], availableWidth: number): number[];
|
|
972
|
-
/** Fits columns into a viewport while honoring every min/max bound. */
|
|
973
|
-
declare function fitColumnWidths(cols: WidthInput[], availableWidth: number): number[];
|
|
974
|
-
|
|
975
12
|
declare function normalizeColumnFilter(input: unknown): ColumnFilter | null;
|
|
976
13
|
/** Clones and bounds untrusted JSON before it reaches the row pipeline. */
|
|
977
14
|
declare function normalizeAdvancedFilterModel(input: unknown, validColumnIds?: ReadonlySet<string>): AdvancedFilterModel | null;
|
|
@@ -981,431 +18,6 @@ declare function advancedFilterGroup(operator: "and" | "or", children: AdvancedF
|
|
|
981
18
|
not?: boolean;
|
|
982
19
|
}): AdvancedFilterGroup;
|
|
983
20
|
|
|
984
|
-
interface GridSizePreset {
|
|
985
|
-
rowHeight: number;
|
|
986
|
-
headerHeight: number;
|
|
987
|
-
fontSize: number;
|
|
988
|
-
cellPadding: number;
|
|
989
|
-
}
|
|
990
|
-
declare const GRID_SIZE_PRESETS: Record<GridSize, GridSizePreset>;
|
|
991
|
-
|
|
992
|
-
type GridOptionValueKind = "array" | "boolean" | "boolean-object" | "function" | "number" | "object" | "string" | "unknown";
|
|
993
|
-
type GridOptionUpdateMode = "columnDefs" | "options" | "quickFilter" | "rowData";
|
|
994
|
-
interface GridOptionMetadata {
|
|
995
|
-
/** Runtime value category used by framework adapters. */
|
|
996
|
-
kind: GridOptionValueKind;
|
|
997
|
-
/** How a changed framework prop is forwarded to GridApi. */
|
|
998
|
-
update: GridOptionUpdateMode;
|
|
999
|
-
}
|
|
1000
|
-
type EventOptionKey = `on${Capitalize<GridEventType>}`;
|
|
1001
|
-
type GridOptionKey = Exclude<keyof GridOptions<any>, EventOptionKey>;
|
|
1002
|
-
/**
|
|
1003
|
-
* Runtime single source of truth for every non-event GridOptions property.
|
|
1004
|
-
*
|
|
1005
|
-
* The mapped `satisfies` type intentionally makes adding a GridOptions field a
|
|
1006
|
-
* compile error until its adapter/update behavior is declared here.
|
|
1007
|
-
*/
|
|
1008
|
-
declare const GRID_OPTION_META: {
|
|
1009
|
-
readonly columnDefs: {
|
|
1010
|
-
readonly kind: "array";
|
|
1011
|
-
readonly update: "columnDefs";
|
|
1012
|
-
};
|
|
1013
|
-
readonly rowData: {
|
|
1014
|
-
readonly kind: "array";
|
|
1015
|
-
readonly update: "rowData";
|
|
1016
|
-
};
|
|
1017
|
-
readonly defaultColDef: {
|
|
1018
|
-
readonly kind: "object";
|
|
1019
|
-
readonly update: "options";
|
|
1020
|
-
};
|
|
1021
|
-
readonly columnTypes: {
|
|
1022
|
-
readonly kind: "object";
|
|
1023
|
-
readonly update: "options";
|
|
1024
|
-
};
|
|
1025
|
-
readonly getRowId: {
|
|
1026
|
-
readonly kind: "function";
|
|
1027
|
-
readonly update: "options";
|
|
1028
|
-
};
|
|
1029
|
-
readonly rowKey: {
|
|
1030
|
-
readonly kind: "unknown";
|
|
1031
|
-
readonly update: "options";
|
|
1032
|
-
};
|
|
1033
|
-
readonly rowHeight: {
|
|
1034
|
-
readonly kind: "number";
|
|
1035
|
-
readonly update: "options";
|
|
1036
|
-
};
|
|
1037
|
-
readonly headerHeight: {
|
|
1038
|
-
readonly kind: "number";
|
|
1039
|
-
readonly update: "options";
|
|
1040
|
-
};
|
|
1041
|
-
readonly rowBuffer: {
|
|
1042
|
-
readonly kind: "number";
|
|
1043
|
-
readonly update: "options";
|
|
1044
|
-
};
|
|
1045
|
-
readonly columnLayout: {
|
|
1046
|
-
readonly kind: "string";
|
|
1047
|
-
readonly update: "options";
|
|
1048
|
-
};
|
|
1049
|
-
readonly enableColumnResize: {
|
|
1050
|
-
readonly kind: "boolean";
|
|
1051
|
-
readonly update: "options";
|
|
1052
|
-
};
|
|
1053
|
-
readonly domLayout: {
|
|
1054
|
-
readonly kind: "string";
|
|
1055
|
-
readonly update: "options";
|
|
1056
|
-
};
|
|
1057
|
-
readonly rowSelection: {
|
|
1058
|
-
readonly kind: "string";
|
|
1059
|
-
readonly update: "options";
|
|
1060
|
-
};
|
|
1061
|
-
readonly multiSort: {
|
|
1062
|
-
readonly kind: "boolean";
|
|
1063
|
-
readonly update: "options";
|
|
1064
|
-
};
|
|
1065
|
-
readonly size: {
|
|
1066
|
-
readonly kind: "string";
|
|
1067
|
-
readonly update: "options";
|
|
1068
|
-
};
|
|
1069
|
-
readonly stripedRows: {
|
|
1070
|
-
readonly kind: "boolean";
|
|
1071
|
-
readonly update: "options";
|
|
1072
|
-
};
|
|
1073
|
-
readonly showCellBorders: {
|
|
1074
|
-
readonly kind: "boolean";
|
|
1075
|
-
readonly update: "options";
|
|
1076
|
-
};
|
|
1077
|
-
readonly theme: {
|
|
1078
|
-
readonly kind: "string";
|
|
1079
|
-
readonly update: "options";
|
|
1080
|
-
};
|
|
1081
|
-
readonly quickFilterText: {
|
|
1082
|
-
readonly kind: "string";
|
|
1083
|
-
readonly update: "quickFilter";
|
|
1084
|
-
};
|
|
1085
|
-
readonly advancedFilterModel: {
|
|
1086
|
-
readonly kind: "object";
|
|
1087
|
-
readonly update: "options";
|
|
1088
|
-
};
|
|
1089
|
-
readonly masterDetail: {
|
|
1090
|
-
readonly kind: "boolean";
|
|
1091
|
-
readonly update: "options";
|
|
1092
|
-
};
|
|
1093
|
-
readonly detailRowHeight: {
|
|
1094
|
-
readonly kind: "number";
|
|
1095
|
-
readonly update: "options";
|
|
1096
|
-
};
|
|
1097
|
-
readonly detailRowRenderer: {
|
|
1098
|
-
readonly kind: "function";
|
|
1099
|
-
readonly update: "options";
|
|
1100
|
-
};
|
|
1101
|
-
readonly isRowExpandable: {
|
|
1102
|
-
readonly kind: "function";
|
|
1103
|
-
readonly update: "options";
|
|
1104
|
-
};
|
|
1105
|
-
readonly detailToggleColumn: {
|
|
1106
|
-
readonly kind: "boolean";
|
|
1107
|
-
readonly update: "options";
|
|
1108
|
-
};
|
|
1109
|
-
readonly columnMenu: {
|
|
1110
|
-
readonly kind: "boolean";
|
|
1111
|
-
readonly update: "options";
|
|
1112
|
-
};
|
|
1113
|
-
readonly columnStateKey: {
|
|
1114
|
-
readonly kind: "string";
|
|
1115
|
-
readonly update: "options";
|
|
1116
|
-
};
|
|
1117
|
-
readonly columnStateStore: {
|
|
1118
|
-
readonly kind: "object";
|
|
1119
|
-
readonly update: "options";
|
|
1120
|
-
};
|
|
1121
|
-
readonly aggFuncs: {
|
|
1122
|
-
readonly kind: "object";
|
|
1123
|
-
readonly update: "options";
|
|
1124
|
-
};
|
|
1125
|
-
readonly components: {
|
|
1126
|
-
readonly kind: "object";
|
|
1127
|
-
readonly update: "options";
|
|
1128
|
-
};
|
|
1129
|
-
readonly actionPolicy: {
|
|
1130
|
-
readonly kind: "object";
|
|
1131
|
-
readonly update: "options";
|
|
1132
|
-
};
|
|
1133
|
-
readonly features: {
|
|
1134
|
-
readonly kind: "array";
|
|
1135
|
-
readonly update: "options";
|
|
1136
|
-
};
|
|
1137
|
-
readonly initialState: {
|
|
1138
|
-
readonly kind: "object";
|
|
1139
|
-
readonly update: "options";
|
|
1140
|
-
};
|
|
1141
|
-
readonly stateKey: {
|
|
1142
|
-
readonly kind: "string";
|
|
1143
|
-
readonly update: "options";
|
|
1144
|
-
};
|
|
1145
|
-
readonly stateStore: {
|
|
1146
|
-
readonly kind: "object";
|
|
1147
|
-
readonly update: "options";
|
|
1148
|
-
};
|
|
1149
|
-
readonly stateSaveDebounceMs: {
|
|
1150
|
-
readonly kind: "number";
|
|
1151
|
-
readonly update: "options";
|
|
1152
|
-
};
|
|
1153
|
-
readonly locale: {
|
|
1154
|
-
readonly kind: "object";
|
|
1155
|
-
readonly update: "options";
|
|
1156
|
-
};
|
|
1157
|
-
readonly editType: {
|
|
1158
|
-
readonly kind: "string";
|
|
1159
|
-
readonly update: "options";
|
|
1160
|
-
};
|
|
1161
|
-
readonly editableIndicator: {
|
|
1162
|
-
readonly kind: "string";
|
|
1163
|
-
readonly update: "options";
|
|
1164
|
-
};
|
|
1165
|
-
readonly rowEditValidator: {
|
|
1166
|
-
readonly kind: "function";
|
|
1167
|
-
readonly update: "options";
|
|
1168
|
-
};
|
|
1169
|
-
readonly singleClickEdit: {
|
|
1170
|
-
readonly kind: "boolean";
|
|
1171
|
-
readonly update: "options";
|
|
1172
|
-
};
|
|
1173
|
-
readonly manualSorting: {
|
|
1174
|
-
readonly kind: "boolean";
|
|
1175
|
-
readonly update: "options";
|
|
1176
|
-
};
|
|
1177
|
-
readonly manualFiltering: {
|
|
1178
|
-
readonly kind: "boolean";
|
|
1179
|
-
readonly update: "options";
|
|
1180
|
-
};
|
|
1181
|
-
readonly showSummary: {
|
|
1182
|
-
readonly kind: "boolean";
|
|
1183
|
-
readonly update: "options";
|
|
1184
|
-
};
|
|
1185
|
-
readonly summaryMethod: {
|
|
1186
|
-
readonly kind: "function";
|
|
1187
|
-
readonly update: "options";
|
|
1188
|
-
};
|
|
1189
|
-
readonly treeData: {
|
|
1190
|
-
readonly kind: "boolean";
|
|
1191
|
-
readonly update: "options";
|
|
1192
|
-
};
|
|
1193
|
-
readonly childrenKey: {
|
|
1194
|
-
readonly kind: "string";
|
|
1195
|
-
readonly update: "options";
|
|
1196
|
-
};
|
|
1197
|
-
readonly isTreeRowExpandable: {
|
|
1198
|
-
readonly kind: "function";
|
|
1199
|
-
readonly update: "options";
|
|
1200
|
-
};
|
|
1201
|
-
readonly loadTreeChildren: {
|
|
1202
|
-
readonly kind: "function";
|
|
1203
|
-
readonly update: "options";
|
|
1204
|
-
};
|
|
1205
|
-
readonly autoCheckedChildren: {
|
|
1206
|
-
readonly kind: "boolean";
|
|
1207
|
-
readonly update: "options";
|
|
1208
|
-
};
|
|
1209
|
-
readonly defaultExpandAll: {
|
|
1210
|
-
readonly kind: "boolean";
|
|
1211
|
-
readonly update: "options";
|
|
1212
|
-
};
|
|
1213
|
-
readonly indexOffset: {
|
|
1214
|
-
readonly kind: "number";
|
|
1215
|
-
readonly update: "options";
|
|
1216
|
-
};
|
|
1217
|
-
readonly applyRowDrag: {
|
|
1218
|
-
readonly kind: "boolean";
|
|
1219
|
-
readonly update: "options";
|
|
1220
|
-
};
|
|
1221
|
-
readonly undoStackSize: {
|
|
1222
|
-
readonly kind: "number";
|
|
1223
|
-
readonly update: "options";
|
|
1224
|
-
};
|
|
1225
|
-
readonly asyncTransactionWaitMillis: {
|
|
1226
|
-
readonly kind: "number";
|
|
1227
|
-
readonly update: "options";
|
|
1228
|
-
};
|
|
1229
|
-
readonly getRowHeight: {
|
|
1230
|
-
readonly kind: "function";
|
|
1231
|
-
readonly update: "options";
|
|
1232
|
-
};
|
|
1233
|
-
readonly pinnedTopRowData: {
|
|
1234
|
-
readonly kind: "array";
|
|
1235
|
-
readonly update: "options";
|
|
1236
|
-
};
|
|
1237
|
-
readonly pinnedBottomRowData: {
|
|
1238
|
-
readonly kind: "array";
|
|
1239
|
-
readonly update: "options";
|
|
1240
|
-
};
|
|
1241
|
-
readonly pagination: {
|
|
1242
|
-
readonly kind: "boolean-object";
|
|
1243
|
-
readonly update: "options";
|
|
1244
|
-
};
|
|
1245
|
-
readonly watermark: {
|
|
1246
|
-
readonly kind: "boolean-object";
|
|
1247
|
-
readonly update: "options";
|
|
1248
|
-
};
|
|
1249
|
-
readonly suppressWarnings: {
|
|
1250
|
-
readonly kind: "boolean";
|
|
1251
|
-
readonly update: "options";
|
|
1252
|
-
};
|
|
1253
|
-
readonly enableRangeSelection: {
|
|
1254
|
-
readonly kind: "boolean";
|
|
1255
|
-
readonly update: "options";
|
|
1256
|
-
};
|
|
1257
|
-
readonly suppressClipboard: {
|
|
1258
|
-
readonly kind: "boolean";
|
|
1259
|
-
readonly update: "options";
|
|
1260
|
-
};
|
|
1261
|
-
readonly contextMenu: {
|
|
1262
|
-
readonly kind: "boolean";
|
|
1263
|
-
readonly update: "options";
|
|
1264
|
-
};
|
|
1265
|
-
readonly getContextMenuItems: {
|
|
1266
|
-
readonly kind: "function";
|
|
1267
|
-
readonly update: "options";
|
|
1268
|
-
};
|
|
1269
|
-
readonly tooltipComponent: {
|
|
1270
|
-
readonly kind: "function";
|
|
1271
|
-
readonly update: "options";
|
|
1272
|
-
};
|
|
1273
|
-
readonly tooltipShowDelay: {
|
|
1274
|
-
readonly kind: "number";
|
|
1275
|
-
readonly update: "options";
|
|
1276
|
-
};
|
|
1277
|
-
readonly flashCells: {
|
|
1278
|
-
readonly kind: "boolean";
|
|
1279
|
-
readonly update: "options";
|
|
1280
|
-
};
|
|
1281
|
-
readonly fillHandle: {
|
|
1282
|
-
readonly kind: "boolean";
|
|
1283
|
-
readonly update: "options";
|
|
1284
|
-
};
|
|
1285
|
-
readonly statusBar: {
|
|
1286
|
-
readonly kind: "boolean-object";
|
|
1287
|
-
readonly update: "options";
|
|
1288
|
-
};
|
|
1289
|
-
readonly datasource: {
|
|
1290
|
-
readonly kind: "object";
|
|
1291
|
-
readonly update: "options";
|
|
1292
|
-
};
|
|
1293
|
-
readonly datasourceMode: {
|
|
1294
|
-
readonly kind: "string";
|
|
1295
|
-
readonly update: "options";
|
|
1296
|
-
};
|
|
1297
|
-
readonly blockSize: {
|
|
1298
|
-
readonly kind: "number";
|
|
1299
|
-
readonly update: "options";
|
|
1300
|
-
};
|
|
1301
|
-
readonly infiniteBufferRows: {
|
|
1302
|
-
readonly kind: "number";
|
|
1303
|
-
readonly update: "options";
|
|
1304
|
-
};
|
|
1305
|
-
readonly maxBlocksInCache: {
|
|
1306
|
-
readonly kind: "number";
|
|
1307
|
-
readonly update: "options";
|
|
1308
|
-
};
|
|
1309
|
-
readonly datasourceMaxConcurrentRequests: {
|
|
1310
|
-
readonly kind: "number";
|
|
1311
|
-
readonly update: "options";
|
|
1312
|
-
};
|
|
1313
|
-
readonly blockPrefetch: {
|
|
1314
|
-
readonly kind: "number";
|
|
1315
|
-
readonly update: "options";
|
|
1316
|
-
};
|
|
1317
|
-
readonly datasourceRowCount: {
|
|
1318
|
-
readonly kind: "number";
|
|
1319
|
-
readonly update: "options";
|
|
1320
|
-
};
|
|
1321
|
-
readonly dataProcessor: {
|
|
1322
|
-
readonly kind: "object";
|
|
1323
|
-
readonly update: "options";
|
|
1324
|
-
};
|
|
1325
|
-
readonly dataProcessorMinRows: {
|
|
1326
|
-
readonly kind: "number";
|
|
1327
|
-
readonly update: "options";
|
|
1328
|
-
};
|
|
1329
|
-
readonly datasourceRetryCount: {
|
|
1330
|
-
readonly kind: "number";
|
|
1331
|
-
readonly update: "options";
|
|
1332
|
-
};
|
|
1333
|
-
readonly datasourceRetryDelay: {
|
|
1334
|
-
readonly kind: "number";
|
|
1335
|
-
readonly update: "options";
|
|
1336
|
-
};
|
|
1337
|
-
readonly datasourceRetryJitter: {
|
|
1338
|
-
readonly kind: "number";
|
|
1339
|
-
readonly update: "options";
|
|
1340
|
-
};
|
|
1341
|
-
readonly suppressCellFocus: {
|
|
1342
|
-
readonly kind: "boolean";
|
|
1343
|
-
readonly update: "options";
|
|
1344
|
-
};
|
|
1345
|
-
readonly suppressRowHoverHighlight: {
|
|
1346
|
-
readonly kind: "boolean";
|
|
1347
|
-
readonly update: "options";
|
|
1348
|
-
};
|
|
1349
|
-
readonly suppressNoRowsOverlay: {
|
|
1350
|
-
readonly kind: "boolean";
|
|
1351
|
-
readonly update: "options";
|
|
1352
|
-
};
|
|
1353
|
-
readonly suppressHeaderFocus: {
|
|
1354
|
-
readonly kind: "boolean";
|
|
1355
|
-
readonly update: "options";
|
|
1356
|
-
};
|
|
1357
|
-
readonly ariaLabel: {
|
|
1358
|
-
readonly kind: "string";
|
|
1359
|
-
readonly update: "options";
|
|
1360
|
-
};
|
|
1361
|
-
readonly ariaLabelledBy: {
|
|
1362
|
-
readonly kind: "string";
|
|
1363
|
-
readonly update: "options";
|
|
1364
|
-
};
|
|
1365
|
-
readonly ariaDescribedBy: {
|
|
1366
|
-
readonly kind: "string";
|
|
1367
|
-
readonly update: "options";
|
|
1368
|
-
};
|
|
1369
|
-
readonly loading: {
|
|
1370
|
-
readonly kind: "boolean";
|
|
1371
|
-
readonly update: "options";
|
|
1372
|
-
};
|
|
1373
|
-
readonly error: {
|
|
1374
|
-
readonly kind: "unknown";
|
|
1375
|
-
readonly update: "options";
|
|
1376
|
-
};
|
|
1377
|
-
readonly overlayNoRowsTemplate: {
|
|
1378
|
-
readonly kind: "unknown";
|
|
1379
|
-
readonly update: "options";
|
|
1380
|
-
};
|
|
1381
|
-
readonly overlayLoadingTemplate: {
|
|
1382
|
-
readonly kind: "unknown";
|
|
1383
|
-
readonly update: "options";
|
|
1384
|
-
};
|
|
1385
|
-
readonly overlayErrorTemplate: {
|
|
1386
|
-
readonly kind: "unknown";
|
|
1387
|
-
readonly update: "options";
|
|
1388
|
-
};
|
|
1389
|
-
readonly allowUnsafeOverlayHtml: {
|
|
1390
|
-
readonly kind: "boolean";
|
|
1391
|
-
readonly update: "options";
|
|
1392
|
-
};
|
|
1393
|
-
readonly className: {
|
|
1394
|
-
readonly kind: "string";
|
|
1395
|
-
readonly update: "options";
|
|
1396
|
-
};
|
|
1397
|
-
};
|
|
1398
|
-
declare const GRID_OPTION_KEYS: readonly GridOptionKey[];
|
|
1399
|
-
declare const DIRECT_GRID_OPTION_KEYS: readonly GridOptionKey[];
|
|
1400
|
-
|
|
1401
|
-
declare function matchesGridOptionKind(value: unknown, kind: GridOptionValueKind): boolean;
|
|
1402
|
-
/**
|
|
1403
|
-
* Drops unknown and runtime-invalid options before they can partially mutate a grid.
|
|
1404
|
-
* Validation still reports the original patch, while this function guarantees that
|
|
1405
|
-
* JavaScript/JSON callers receive the same safety boundary as TypeScript callers.
|
|
1406
|
-
*/
|
|
1407
|
-
declare function sanitizeGridOptionPatch<TData>(input: Partial<GridOptions<TData>> | Record<string, unknown>): Partial<GridOptions<TData>>;
|
|
1408
|
-
|
|
1409
21
|
declare function describeFilter(filter: ColumnFilter): string;
|
|
1410
22
|
|
|
1411
23
|
type GridValidationCode = "UNKNOWN_OPTION" | "INVALID_OPTION_VALUE" | "OPTION_CONFLICT" | "MISSING_STABLE_ROW_ID";
|
|
@@ -1468,49 +80,11 @@ interface GridSchema {
|
|
|
1468
80
|
}
|
|
1469
81
|
declare function buildColDefsFromSchema<TData = any>(schema: GridSchema): (ColDef<TData> | ColDefGroup<TData>)[];
|
|
1470
82
|
|
|
1471
|
-
interface
|
|
83
|
+
interface GridStateStorage {
|
|
1472
84
|
getItem(key: string): string | null;
|
|
1473
85
|
setItem(key: string, value: string): void;
|
|
1474
86
|
removeItem(key: string): void;
|
|
1475
87
|
}
|
|
1476
|
-
interface StoredColumnState {
|
|
1477
|
-
version: number;
|
|
1478
|
-
savedAt: number;
|
|
1479
|
-
columns: ColumnState[];
|
|
1480
|
-
}
|
|
1481
|
-
interface LocalColumnStateStoreOptions {
|
|
1482
|
-
/** Storage prefix. Separate applications or environments with different values. */
|
|
1483
|
-
namespace?: string;
|
|
1484
|
-
/** Schema version for migrations when column identifiers or meanings change. */
|
|
1485
|
-
version?: number;
|
|
1486
|
-
storage?: ColumnStateStorage;
|
|
1487
|
-
maxColumns?: number;
|
|
1488
|
-
migrate?(columns: readonly ColumnState[], fromVersion: number, toVersion: number): ColumnState[] | null;
|
|
1489
|
-
onError?(error: unknown, operation: "load" | "save" | "clear", key: string): void;
|
|
1490
|
-
}
|
|
1491
|
-
interface ManagedColumnStateStore extends ColumnStateStore {
|
|
1492
|
-
clear(key: string): void;
|
|
1493
|
-
storageKey(key: string): string;
|
|
1494
|
-
}
|
|
1495
|
-
interface ColumnStateKeyParts {
|
|
1496
|
-
app?: string;
|
|
1497
|
-
tenant?: string | number;
|
|
1498
|
-
user?: string | number;
|
|
1499
|
-
route?: string;
|
|
1500
|
-
table: string;
|
|
1501
|
-
schema?: string | number;
|
|
1502
|
-
}
|
|
1503
|
-
/** Builds a collision-resistant key for per-user/per-route table preferences. */
|
|
1504
|
-
declare function createColumnStateKey(parts: ColumnStateKeyParts): string;
|
|
1505
|
-
/**
|
|
1506
|
-
* Creates a versioned local state adapter. Legacy array payloads are read as
|
|
1507
|
-
* version 0, so existing users can migrate without losing preferences.
|
|
1508
|
-
*/
|
|
1509
|
-
declare function createLocalColumnStateStore(options?: LocalColumnStateStoreOptions): ManagedColumnStateStore;
|
|
1510
|
-
declare function saveColumnState(key: string, state: ColumnState[]): void;
|
|
1511
|
-
declare function loadColumnState(key: string): ColumnState[] | null;
|
|
1512
|
-
declare function clearColumnState(key: string): void;
|
|
1513
|
-
|
|
1514
88
|
interface StoredGridState {
|
|
1515
89
|
schemaVersion: 2;
|
|
1516
90
|
savedAt: number;
|
|
@@ -1518,7 +92,7 @@ interface StoredGridState {
|
|
|
1518
92
|
}
|
|
1519
93
|
interface LocalGridStateStoreOptions {
|
|
1520
94
|
namespace?: string;
|
|
1521
|
-
storage?:
|
|
95
|
+
storage?: GridStateStorage;
|
|
1522
96
|
/** Reject unexpectedly large or corrupted payloads. Defaults to 512 KiB. */
|
|
1523
97
|
maxBytes?: number;
|
|
1524
98
|
onError?(error: unknown, operation: "load" | "save" | "clear", key: string): void;
|
|
@@ -1571,12 +145,6 @@ declare function createMachTableCommands<TData = any>(options: MachTableCommandO
|
|
|
1571
145
|
|
|
1572
146
|
declare function sanitizeFormulaCell(value: any): any;
|
|
1573
147
|
|
|
1574
|
-
declare function registerCellRenderer(name: string, renderer: CellRendererFn): () => void;
|
|
1575
|
-
declare function getCellRenderer(name: string): CellRendererFn | undefined;
|
|
1576
|
-
declare function registerCellEditor(name: string, editor: CellEditorFactory): () => void;
|
|
1577
|
-
declare function getCellEditor(name: string): CellEditorFactory | undefined;
|
|
1578
|
-
declare function clearComponentRegistries(): void;
|
|
1579
|
-
|
|
1580
148
|
type TagVariant = "success" | "warning" | "danger" | "info" | "neutral";
|
|
1581
149
|
interface StatusTagConfig {
|
|
1582
150
|
variantMap?: Record<string, TagVariant>;
|
|
@@ -1613,8 +181,6 @@ interface ActionItem<TData = any> {
|
|
|
1613
181
|
icon?: BuiltInActionIcon;
|
|
1614
182
|
label?: string;
|
|
1615
183
|
title?: string;
|
|
1616
|
-
/** Backwards-compatible shorthand for variant="danger". */
|
|
1617
|
-
danger?: boolean;
|
|
1618
184
|
variant?: ActionVariant;
|
|
1619
185
|
show?: (params: CellRendererParams<TData>) => boolean;
|
|
1620
186
|
disabled?: boolean | ((params: CellRendererParams<TData>) => boolean);
|
|
@@ -1648,7 +214,6 @@ interface RowActionsConfig<TData = any> extends Omit<ActionButtonsConfig<TData>,
|
|
|
1648
214
|
}
|
|
1649
215
|
declare function createActionButtonsRenderer<TData = any>(config: ActionButtonsConfig<TData>): CellRendererFn;
|
|
1650
216
|
declare function createRowActionsRenderer<TData = any>(config?: RowActionsConfig<TData>): CellRendererFn;
|
|
1651
|
-
declare function registerBuiltinRenderers(register: (name: string, fn: CellRendererFn) => void): void;
|
|
1652
217
|
|
|
1653
218
|
declare function selectionColumn<TData = any>(overrides?: Partial<ColDef<TData>>): ColDef<TData>;
|
|
1654
219
|
declare function indexColumn<TData = any>(overrides?: Partial<ColDef<TData>>): ColDef<TData>;
|
|
@@ -1681,51 +246,6 @@ declare function defineMachTablePreset<TData>(preset: Partial<GridOptions<TData>
|
|
|
1681
246
|
/** Compile-time helper for reusable, typed grid option objects. */
|
|
1682
247
|
declare function defineGridOptions<TData>(options: GridOptions<TData>): GridOptions<TData>;
|
|
1683
248
|
|
|
1684
|
-
type MachTablePresetSelection = string | readonly string[] | false | null;
|
|
1685
|
-
interface MachTableConfigWarning {
|
|
1686
|
-
code: "UNKNOWN_PRESET";
|
|
1687
|
-
message: string;
|
|
1688
|
-
preset?: string;
|
|
1689
|
-
}
|
|
1690
|
-
interface MachTableRuntimeConfig {
|
|
1691
|
-
/** Defaults inherited by every table in this application or subtree. */
|
|
1692
|
-
defaults?: Partial<GridOptions<any>>;
|
|
1693
|
-
/** Application-wide semantic column types. Kept separate for config readability. */
|
|
1694
|
-
columnTypes?: Readonly<Record<string, Partial<ColDef<any>>>>;
|
|
1695
|
-
/** Application-wide renderer/editor registry. Per-table components can override it. */
|
|
1696
|
-
components?: GridComponents;
|
|
1697
|
-
/** Named, reusable behavior profiles such as `list`, `crud` or `picker`. */
|
|
1698
|
-
presets?: Readonly<Record<string, Partial<GridOptions<any>>>>;
|
|
1699
|
-
/** Preset used when a table does not declare its own preset. Set false to disable. */
|
|
1700
|
-
defaultPreset?: MachTablePresetSelection;
|
|
1701
|
-
onConfigWarning?: (warning: MachTableConfigWarning) => void;
|
|
1702
|
-
}
|
|
1703
|
-
interface ResolvedMachTableConfig {
|
|
1704
|
-
readonly defaults: Partial<GridOptions<any>>;
|
|
1705
|
-
readonly presets: Readonly<Record<string, Partial<GridOptions<any>>>>;
|
|
1706
|
-
readonly defaultPreset: MachTablePresetSelection;
|
|
1707
|
-
readonly onConfigWarning?: (warning: MachTableConfigWarning) => void;
|
|
1708
|
-
}
|
|
1709
|
-
interface MachTableOptionExplanation {
|
|
1710
|
-
readonly key: keyof GridOptions<any> | string;
|
|
1711
|
-
readonly value: unknown;
|
|
1712
|
-
readonly source: string;
|
|
1713
|
-
readonly layers: readonly {
|
|
1714
|
-
name: string;
|
|
1715
|
-
value: unknown;
|
|
1716
|
-
}[];
|
|
1717
|
-
}
|
|
1718
|
-
interface ResolvedMachTableGridOptions<TData = any> {
|
|
1719
|
-
readonly options: GridOptions<TData>;
|
|
1720
|
-
explain(key: keyof GridOptions<TData> | string): MachTableOptionExplanation;
|
|
1721
|
-
}
|
|
1722
|
-
/** Type-checks a dedicated `mach-table.config.ts` without runtime work. */
|
|
1723
|
-
declare function defineMachTableConfig<const TConfig extends MachTableRuntimeConfig>(config: TConfig): TConfig;
|
|
1724
|
-
declare function normalizeMachTableConfig(config?: MachTableRuntimeConfig): ResolvedMachTableConfig;
|
|
1725
|
-
/** Merges app, route and layout configuration while preserving named presets. */
|
|
1726
|
-
declare function mergeMachTableConfig(parent: ResolvedMachTableConfig, child: MachTableRuntimeConfig): ResolvedMachTableConfig;
|
|
1727
|
-
declare function resolveMachTableGridOptions<TData>(config: ResolvedMachTableConfig, requestedPreset: MachTablePresetSelection | undefined, explicit: Partial<GridOptions<TData>>, reportWarning?: (warning: MachTableConfigWarning) => void): ResolvedMachTableGridOptions<TData>;
|
|
1728
|
-
|
|
1729
249
|
type BusinessColumnType = "text" | "number" | "integer" | "money" | "percent" | "percentage" | "date" | "datetime" | "boolean" | "status" | "link";
|
|
1730
250
|
interface BusinessColumnTypeOptions {
|
|
1731
251
|
locale?: string | readonly string[];
|
|
@@ -1774,12 +294,10 @@ interface DictionaryRendererOptions {
|
|
|
1774
294
|
/** Async-safe renderer backed by createCachedDictionary; stale pooled cells are not mutated. */
|
|
1775
295
|
declare function createDictionaryRenderer<TKey extends DictionaryKey = DictionaryKey>(dictionary: CachedDictionary<TKey>, options?: DictionaryRendererOptions): CellRendererFn;
|
|
1776
296
|
|
|
1777
|
-
declare function createSaveSnapshot<TData>(changes: readonly GridChange<TData>[], rowIds?: readonly string[]): GridChange<TData>[];
|
|
1778
|
-
declare function normalizeBatchSaveResult<TData>(submitted: GridChange<TData>[], response: void | SaveChangesResult<TData>): GridBatchSaveResult<TData>;
|
|
1779
297
|
declare function resolveSaveConflict<TData>(api: GridApi<TData>, conflict: SaveChangeConflict<TData>, strategy: "acceptServer" | "keepLocal"): boolean;
|
|
1780
298
|
|
|
1781
|
-
/**
|
|
1782
|
-
declare function
|
|
299
|
+
/** Validates and bounds persisted state before it mutates a live grid. */
|
|
300
|
+
declare function normalizeGridState(input: unknown): GridState | null;
|
|
1783
301
|
|
|
1784
302
|
/** Portable user preference snapshot. Selection and row expansion are deliberately excluded. */
|
|
1785
303
|
interface GridViewState {
|
|
@@ -1815,7 +333,7 @@ interface GridViewManager {
|
|
|
1815
333
|
|
|
1816
334
|
interface LocalGridViewStoreOptions {
|
|
1817
335
|
namespace?: string;
|
|
1818
|
-
storage?:
|
|
336
|
+
storage?: GridStateStorage;
|
|
1819
337
|
maxViews?: number;
|
|
1820
338
|
maxBytes?: number;
|
|
1821
339
|
onError?(error: unknown, operation: "list" | "save" | "remove", scope: string): void;
|
|
@@ -1832,10 +350,6 @@ declare function createGridViewManager<TData>(api: GridApi<TData>, options: {
|
|
|
1832
350
|
store?: GridViewStore;
|
|
1833
351
|
}): GridViewManager;
|
|
1834
352
|
|
|
1835
|
-
declare function evaluateColumnFilter(value: any, filter: ColumnFilter): boolean;
|
|
1836
|
-
|
|
1837
|
-
declare function sortNodes<TData>(nodes: RowNode<TData>[], sortModel: SortModel, columns: Column[], getCellValue: (node: RowNode<TData>, column: Column) => any): RowNode<TData>[];
|
|
1838
|
-
|
|
1839
353
|
declare const version: string;
|
|
1840
354
|
|
|
1841
|
-
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions,
|
|
355
|
+
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions, CellRendererFn, CellRendererParams, ColDef, ColDefGroup, ColumnFilter, type ColumnHelper, ColumnState, type DictionaryEntry, type DictionaryKey, type DictionaryRendererOptions, FieldPath, FieldPathValue, FilterModel, GridApi, GridChange, GridFeature, type GridFeatureIssue, type GridFeatureIssueCode, GridOptions, type GridSchema, type GridSchemaField, type GridSchemaFieldType, type GridSchemaGroup, GridSize, GridState, GridStateInput, type GridStateStorage, GridStateStore, type GridValidationCode, type GridValidationIssue, type GridViewManager, type GridViewState, type GridViewStore, type LocalGridStateStoreOptions, type LocalGridViewStoreOptions, type MachTableCommandOptions, type MachTableCommands, type ManagedGridStateStore, type ProgressConfig, type ResolvedGridFeatures, type RowActionsConfig, SaveChangeConflict, type SavedGridView, type SchemaSelectOption, SortModel, type StatusTagConfig, type StoredGridState, type TagVariant, actionsColumn, advancedFilterCondition, advancedFilterGroup, applyGridViewState, buildColDefsFromSchema, captureGridViewState, clearGridState, createActionButtonsRenderer, createAggResolver, createBusinessColumnTypes, createCachedDictionary, createColumnHelper, createDictionaryRenderer, createEnterprisePreset, createGrid, createGridViewManager, createLocalGridStateStore, createLocalGridViewStore, createMachTableCommands, createMachTablePreset, createProgressBarRenderer, createRowActionsRenderer, createStatusTagRenderer, defineColumns, defineGridOptions, defineMachTablePreset, describeFilter, downloadFile, dragColumn, escapeHtml, getByPath, indexColumn, isSafePath, linkRenderer, loadGridState, normalizeAdvancedFilterModel, normalizeColumnFilter, normalizeFilterModel, normalizeGridState, normalizeGridViewState, normalizeSavedGridView, parseCsv, parseDelimited, parseTsv, resolveGridFeatures, resolveSaveConflict, resolveTagVariant, rowActionsColumn, sanitizeFormulaCell, saveGridState, selectionColumn, setByPath, toTsv, validateGridOptions, version };
|