ag-grid-community 32.0.2 → 32.2.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 +503 -85
- package/dist/ag-grid-community.js +9676 -6678
- package/dist/ag-grid-community.min.js +1 -1
- package/dist/ag-grid-community.min.noStyle.js +1 -1
- package/dist/ag-grid-community.noStyle.js +9577 -6573
- package/dist/package/main.cjs.js +9425 -6504
- package/dist/package/main.cjs.min.js +81 -70
- package/dist/package/main.esm.min.mjs +92 -81
- package/dist/package/main.esm.mjs +9424 -6503
- package/dist/package/package.json +34 -7
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideNodeManager.d.ts +16 -3
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideRowModel.d.ts +27 -7
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideRowModelApi.d.ts +1 -0
- package/dist/types/client-side-row-model/clientSideRowModel/immutableService.d.ts +2 -1
- package/dist/types/client-side-row-model/clientSideRowModel/sortService.d.ts +1 -0
- package/dist/types/client-side-row-model/clientSideRowModelModule.d.ts +3 -4
- package/dist/types/client-side-row-model/version.d.ts +1 -1
- package/dist/types/core/alignedGridsModule.d.ts +1 -2
- package/dist/types/core/alignedGridsService.d.ts +1 -0
- package/dist/types/core/api/apiFunctionService.d.ts +6 -5
- package/dist/types/core/api/apiModule.d.ts +10 -11
- package/dist/types/core/api/apiUtils.d.ts +1 -1
- package/dist/types/core/api/gridApi.d.ts +621 -523
- package/dist/types/core/api/gridApiFunctions.d.ts +255 -0
- package/dist/types/core/api/sharedApiModule.d.ts +2 -3
- package/dist/types/core/api/ssrmInfiniteSharedApi.d.ts +1 -0
- package/dist/types/core/columns/columnEventDispatcher.d.ts +6 -4
- package/dist/types/core/columns/columnFactory.d.ts +6 -1
- package/dist/types/core/columns/columnModel.d.ts +11 -4
- package/dist/types/core/columns/columnModule.d.ts +2 -3
- package/dist/types/core/columns/columnUtils.d.ts +1 -0
- package/dist/types/core/columns/columnViewportService.d.ts +1 -0
- package/dist/types/core/columns/controlsColService.d.ts +11 -0
- package/dist/types/core/columns/dataTypeService.d.ts +3 -10
- package/dist/types/core/components/componentUtil.d.ts +2 -2
- package/dist/types/core/components/emptyBean.d.ts +21 -0
- package/dist/types/core/components/framework/componentTypes.d.ts +1 -0
- package/dist/types/core/components/framework/frameworkComponentWrapper.d.ts +1 -2
- package/dist/types/core/components/framework/userComponentFactory.d.ts +3 -1
- package/dist/types/core/components/framework/userComponentRegistry.d.ts +3 -1
- package/dist/types/core/context/beanStub.d.ts +2 -3
- package/dist/types/core/context/context.d.ts +8 -3
- package/dist/types/core/ctrlsService.d.ts +9 -6
- package/dist/types/core/dragAndDrop/dragAndDropImageComponent.d.ts +24 -0
- package/dist/types/core/dragAndDrop/dragAndDropService.d.ts +22 -10
- package/dist/types/core/dragAndDrop/dragModule.d.ts +1 -2
- package/dist/types/core/dragAndDrop/dragService.d.ts +4 -0
- package/dist/types/core/edit/cellEditors/simpleCellEditor.d.ts +2 -2
- package/dist/types/core/edit/editModule.d.ts +9 -10
- package/dist/types/core/edit/editService.d.ts +1 -1
- package/dist/types/core/edit/rowEditService.d.ts +1 -1
- package/dist/types/core/entities/agColumn.d.ts +4 -2
- package/dist/types/core/entities/agColumnGroup.d.ts +5 -0
- package/dist/types/core/entities/colDef.d.ts +26 -16
- package/dist/types/core/entities/dataType.d.ts +7 -0
- package/dist/types/core/entities/gridOptions.d.ts +248 -13
- package/dist/types/core/entities/rowNode.d.ts +69 -25
- package/dist/types/core/environment.d.ts +7 -4
- package/dist/types/core/eventService.d.ts +3 -3
- package/dist/types/core/eventTypes.d.ts +3 -3
- package/dist/types/core/events.d.ts +58 -12
- package/dist/types/core/filter/columnFilterService.d.ts +3 -1
- package/dist/types/core/filter/filterManager.d.ts +2 -0
- package/dist/types/core/filter/filterModule.d.ts +13 -14
- package/dist/types/core/filter/provided/iScalarFilter.d.ts +2 -0
- package/dist/types/core/filter/provided/providedFilter.d.ts +1 -1
- package/dist/types/core/focusService.d.ts +12 -2
- package/dist/types/core/grid.d.ts +10 -1
- package/dist/types/core/gridBodyComp/abstractFakeScrollComp.d.ts +3 -2
- package/dist/types/core/gridBodyComp/gridBodyCtrl.d.ts +8 -1
- package/dist/types/core/gridBodyComp/gridBodyScrollFeature.d.ts +10 -5
- package/dist/types/core/gridBodyComp/navigationService.d.ts +3 -1
- package/dist/types/core/gridBodyComp/rowContainer/rowContainerCtrl.d.ts +7 -3
- package/dist/types/core/gridBodyComp/rowDragFeature.d.ts +3 -2
- package/dist/types/core/gridBodyComp/scrollVisibleService.d.ts +10 -2
- package/dist/types/core/gridComp/gridCtrl.d.ts +5 -1
- package/dist/types/core/gridCoreModule.d.ts +2 -8
- package/dist/types/core/gridOptionsService.d.ts +10 -38
- package/dist/types/core/gridOptionsUtils.d.ts +54 -0
- package/dist/types/core/headerRendering/cells/abstractCell/abstractHeaderCellCtrl.d.ts +9 -6
- package/dist/types/core/headerRendering/cells/column/headerCellCtrl.d.ts +7 -6
- package/dist/types/core/headerRendering/cells/column/selectAllFeature.d.ts +6 -0
- package/dist/types/core/headerRendering/cells/columnGroup/headerGroupCellComp.d.ts +1 -0
- package/dist/types/core/headerRendering/cells/columnGroup/headerGroupCellCtrl.d.ts +6 -1
- package/dist/types/core/headerRendering/cells/floatingFilter/headerFilterCellCtrl.d.ts +2 -1
- package/dist/types/core/headerRendering/columnDrag/bodyDropPivotTarget.d.ts +1 -0
- package/dist/types/core/headerRendering/columnDrag/bodyDropTarget.d.ts +2 -0
- package/dist/types/core/headerRendering/columnDrag/moveColumnFeature.d.ts +21 -4
- package/dist/types/core/headerRendering/columnMoveHelper.d.ts +20 -10
- package/dist/types/core/headerRendering/gridHeaderCtrl.d.ts +1 -0
- package/dist/types/core/headerRendering/row/headerRowCtrl.d.ts +4 -8
- package/dist/types/core/headerRendering/rowContainer/headerRowContainerCtrl.d.ts +8 -8
- package/dist/types/core/interfaces/IRangeService.d.ts +3 -2
- package/dist/types/core/interfaces/IServerSideStore.d.ts +1 -1
- package/dist/types/core/interfaces/gridState.d.ts +28 -9
- package/dist/types/core/interfaces/iAdvancedFilterCtrl.d.ts +5 -1
- package/dist/types/core/interfaces/iCallbackParams.d.ts +5 -2
- package/dist/types/core/interfaces/iCellEditor.d.ts +4 -0
- package/dist/types/core/interfaces/iClientSideRowModel.d.ts +2 -6
- package/dist/types/core/interfaces/iColumn.d.ts +5 -1
- package/dist/types/core/interfaces/iExcelCreator.d.ts +69 -36
- package/dist/types/core/interfaces/iFrameworkOverrides.d.ts +6 -4
- package/dist/types/core/interfaces/iMenuFactory.d.ts +2 -1
- package/dist/types/core/interfaces/iModule.d.ts +10 -1
- package/dist/types/core/interfaces/iRowNode.d.ts +9 -2
- package/dist/types/core/interfaces/iRowNodeStage.d.ts +1 -3
- package/dist/types/core/interfaces/masterDetail.d.ts +2 -0
- package/dist/types/core/main.d.ts +11 -9
- package/dist/types/core/misc/menuService.d.ts +4 -2
- package/dist/types/core/misc/resizeObserverService.d.ts +0 -4
- package/dist/types/core/misc/state/stateModelMigration.d.ts +2 -0
- package/dist/types/core/misc/state/stateModule.d.ts +3 -4
- package/dist/types/core/misc/state/stateService.d.ts +2 -2
- package/dist/types/core/pagination/pageSizeSelector/pageSizeSelectorComp.d.ts +3 -1
- package/dist/types/core/pagination/paginationComp.d.ts +5 -4
- package/dist/types/core/pagination/paginationModule.d.ts +3 -4
- package/dist/types/core/pinnedRowModel/pinnedRowModel.d.ts +11 -9
- package/dist/types/core/pinnedRowModel/pinnedRowModule.d.ts +1 -2
- package/dist/types/core/propertyKeys.d.ts +2 -1
- package/dist/types/core/rendering/ariaAnnouncementService.d.ts +6 -1
- package/dist/types/core/rendering/cell/cellCtrl.d.ts +13 -10
- package/dist/types/core/rendering/cell/cellRangeFeature.d.ts +1 -1
- package/dist/types/core/rendering/columnAnimationService.d.ts +1 -0
- package/dist/types/core/rendering/columnHoverService.d.ts +1 -0
- package/dist/types/core/rendering/features/stickyRowFeature.d.ts +1 -0
- package/dist/types/core/rendering/overlays/loadingOverlayComponent.d.ts +1 -1
- package/dist/types/core/rendering/overlays/noRowsOverlayComponent.d.ts +1 -1
- package/dist/types/core/rendering/overlays/overlayModule.d.ts +1 -2
- package/dist/types/core/rendering/overlays/overlayService.d.ts +14 -1
- package/dist/types/core/rendering/overlays/overlayWrapperComponent.d.ts +6 -1
- package/dist/types/core/rendering/renderModule.d.ts +1 -2
- package/dist/types/core/rendering/row/rowComp.d.ts +0 -2
- package/dist/types/core/rendering/row/rowCtrl.d.ts +10 -8
- package/dist/types/core/rendering/rowRenderer.d.ts +1 -0
- package/dist/types/core/rowNodeCache/rowNodeBlockModule.d.ts +1 -2
- package/dist/types/core/selection/selectionService.d.ts +3 -2
- package/dist/types/core/syncService.d.ts +0 -1
- package/dist/types/core/utils/dom.d.ts +1 -1
- package/dist/types/core/utils/function.d.ts +2 -2
- package/dist/types/core/utils/icon.d.ts +76 -1
- package/dist/types/core/validation/apiFunctionValidator.d.ts +0 -1
- package/dist/types/core/validation/rules/gridOptionsValidations.d.ts +3 -0
- package/dist/types/core/validation/rules/selectionValidations.d.ts +3 -0
- package/dist/types/core/validation/validationService.d.ts +1 -4
- package/dist/types/core/validation/validationTypes.d.ts +2 -2
- package/dist/types/core/valueService/valueService.d.ts +6 -0
- package/dist/types/core/version.d.ts +1 -1
- package/dist/types/core/widgets/popupService.d.ts +1 -1
- package/dist/types/core/widgets/tooltipStateManager.d.ts +1 -0
- package/dist/types/csv-export/csvExportModule.d.ts +3 -4
- package/dist/types/csv-export/version.d.ts +1 -1
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteRowModel.d.ts +1 -1
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteRowModelApi.d.ts +0 -1
- package/dist/types/infinite-row-model/infiniteRowModelModule.d.ts +3 -4
- package/dist/types/infinite-row-model/version.d.ts +1 -1
- package/package.json +34 -7
- package/styles/_css-content.scss +332 -114
- package/styles/ag-grid-no-native-widgets.css +71 -36
- package/styles/ag-grid-no-native-widgets.min.css +3 -3
- package/styles/ag-grid.css +71 -36
- package/styles/ag-grid.min.css +3 -3
- package/styles/ag-theme-alpine-no-font.css +18 -5
- package/styles/ag-theme-alpine-no-font.min.css +1 -1
- package/styles/ag-theme-alpine.css +18 -5
- package/styles/ag-theme-alpine.min.css +1 -1
- package/styles/ag-theme-balham-no-font.css +18 -0
- package/styles/ag-theme-balham-no-font.min.css +1 -1
- package/styles/ag-theme-balham.css +18 -0
- package/styles/ag-theme-balham.min.css +1 -1
- package/styles/ag-theme-material-no-font.css +41 -6
- package/styles/ag-theme-material-no-font.min.css +1 -1
- package/styles/ag-theme-material.css +41 -6
- package/styles/ag-theme-material.min.css +1 -1
- package/styles/ag-theme-quartz-no-font.css +18 -10
- package/styles/ag-theme-quartz-no-font.min.css +1 -1
- package/styles/ag-theme-quartz.css +18 -10
- package/styles/ag-theme-quartz.min.css +1 -1
- package/dist/types/core/utils/rowNode.d.ts +0 -14
- package/gulpfile.js +0 -34
- package/webpackBuild.sh +0 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-community",
|
|
3
|
-
"version": "32.0
|
|
3
|
+
"version": "32.2.0",
|
|
4
4
|
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
|
|
5
5
|
"main": "./dist/package/main.cjs.js",
|
|
6
6
|
"types": "./dist/types/main.d.ts",
|
|
@@ -12,16 +12,36 @@
|
|
|
12
12
|
"types": "./dist/types/main.d.ts",
|
|
13
13
|
"default": "./dist/package/main.cjs.js"
|
|
14
14
|
},
|
|
15
|
+
"./styles/ag-grid-no-native-widgets.css": "./styles/ag-grid-no-native-widgets.css",
|
|
16
|
+
"./styles/ag-grid-no-native-widgets.min.css": "./styles/ag-grid-no-native-widgets.min.css",
|
|
15
17
|
"./styles/ag-grid.css": "./styles/ag-grid.css",
|
|
16
18
|
"./styles/ag-grid.min.css": "./styles/ag-grid.min.css",
|
|
19
|
+
"./styles/ag-theme-alpine-no-font.css": "./styles/ag-theme-alpine-no-font.css",
|
|
20
|
+
"./styles/ag-theme-alpine-no-font.min.css": "./styles/ag-theme-alpine-no-font.min.css",
|
|
17
21
|
"./styles/ag-theme-alpine.css": "./styles/ag-theme-alpine.css",
|
|
18
22
|
"./styles/ag-theme-alpine.min.css": "./styles/ag-theme-alpine.min.css",
|
|
23
|
+
"./styles/ag-theme-balham-no-font.css": "./styles/ag-theme-balham-no-font.css",
|
|
24
|
+
"./styles/ag-theme-balham-no-font.min.css": "./styles/ag-theme-balham-no-font.min.css",
|
|
19
25
|
"./styles/ag-theme-balham.css": "./styles/ag-theme-balham.css",
|
|
20
26
|
"./styles/ag-theme-balham.min.css": "./styles/ag-theme-balham.min.css",
|
|
27
|
+
"./styles/ag-theme-material-no-font.css": "./styles/ag-theme-material-no-font.css",
|
|
28
|
+
"./styles/ag-theme-material-no-font.min.css": "./styles/ag-theme-material-no-font.min.css",
|
|
21
29
|
"./styles/ag-theme-material.css": "./styles/ag-theme-material.css",
|
|
22
30
|
"./styles/ag-theme-material.min.css": "./styles/ag-theme-material.min.css",
|
|
31
|
+
"./styles/ag-theme-quartz-no-font.css": "./styles/ag-theme-quartz-no-font.css",
|
|
32
|
+
"./styles/ag-theme-quartz-no-font.min.css": "./styles/ag-theme-quartz-no-font.min.css",
|
|
23
33
|
"./styles/ag-theme-quartz.css": "./styles/ag-theme-quartz.css",
|
|
24
34
|
"./styles/ag-theme-quartz.min.css": "./styles/ag-theme-quartz.min.css",
|
|
35
|
+
"./styles/agGridAlpineFont.css": "./styles/agGridAlpineFont.css",
|
|
36
|
+
"./styles/agGridAlpineFont.min.css": "./styles/agGridAlpineFont.min.css",
|
|
37
|
+
"./styles/agGridBalhamFont.css": "./styles/agGridBalhamFont.css",
|
|
38
|
+
"./styles/agGridBalhamFont.min.css": "./styles/agGridBalhamFont.min.css",
|
|
39
|
+
"./styles/agGridClassicFont.css": "./styles/agGridClassicFont.css",
|
|
40
|
+
"./styles/agGridClassicFont.min.css": "./styles/agGridClassicFont.min.css",
|
|
41
|
+
"./styles/agGridMaterialFont.css": "./styles/agGridMaterialFont.css",
|
|
42
|
+
"./styles/agGridMaterialFont.min.css": "./styles/agGridMaterialFont.min.css",
|
|
43
|
+
"./styles/agGridQuartzFont.css": "./styles/agGridQuartzFont.css",
|
|
44
|
+
"./styles/agGridQuartzFont.min.css": "./styles/agGridQuartzFont.min.css",
|
|
25
45
|
"./styles": "./styles/_index.scss"
|
|
26
46
|
},
|
|
27
47
|
"sideEffects": true,
|
|
@@ -34,15 +54,21 @@
|
|
|
34
54
|
"ag-grid",
|
|
35
55
|
"datagrid",
|
|
36
56
|
"data-grid",
|
|
57
|
+
"data grid",
|
|
37
58
|
"datatable",
|
|
38
59
|
"data-table",
|
|
60
|
+
"data table",
|
|
39
61
|
"grid",
|
|
40
62
|
"table",
|
|
41
63
|
"react",
|
|
42
64
|
"table",
|
|
43
65
|
"angular",
|
|
66
|
+
"angular data grid",
|
|
67
|
+
"angular table",
|
|
44
68
|
"angular-component",
|
|
45
69
|
"react",
|
|
70
|
+
"react data grid",
|
|
71
|
+
"react table",
|
|
46
72
|
"react-component",
|
|
47
73
|
"reactjs",
|
|
48
74
|
"vue",
|
|
@@ -62,18 +88,19 @@
|
|
|
62
88
|
],
|
|
63
89
|
"homepage": "https://www.ag-grid.com/",
|
|
64
90
|
"dependencies": {
|
|
65
|
-
"ag-charts-types": "10.0
|
|
91
|
+
"ag-charts-types": "10.2.0"
|
|
66
92
|
},
|
|
67
93
|
"devDependencies": {
|
|
68
94
|
"source-map-loader": "^5.0.0",
|
|
69
95
|
"gulp": "^4.0.0",
|
|
70
96
|
"gulp-replace": "^1.0.0",
|
|
71
97
|
"gulp-rename": "^2.0.0",
|
|
72
|
-
"@ag-grid-community/client-side-row-model": "32.0
|
|
73
|
-
"@ag-grid-community/core": "32.0
|
|
74
|
-
"@ag-grid-community/csv-export": "32.0
|
|
75
|
-
"@ag-grid-community/infinite-row-model": "32.0
|
|
76
|
-
"@ag-grid-community/styles": "32.0
|
|
98
|
+
"@ag-grid-community/client-side-row-model": "32.2.0",
|
|
99
|
+
"@ag-grid-community/core": "32.2.0",
|
|
100
|
+
"@ag-grid-community/csv-export": "32.2.0",
|
|
101
|
+
"@ag-grid-community/infinite-row-model": "32.2.0",
|
|
102
|
+
"@ag-grid-community/styles": "32.2.0",
|
|
103
|
+
"@ag-grid-community/theming": "32.2.0",
|
|
77
104
|
"ts-loader": "^9.5.1",
|
|
78
105
|
"style-loader": "^3.3.4",
|
|
79
106
|
"css-loader": "^6.10.0",
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { BeanCollection, EventService, FuncColsService, GridOptionsService, ISelectionService, RowDataTransaction, RowNodeTransaction } from 'ag-grid-community';
|
|
2
2
|
import { RowNode } from 'ag-grid-community';
|
|
3
|
+
/** Result of ClientSideNodeManager.updateRowData method */
|
|
4
|
+
export interface ClientSideNodeManagerUpdateRowDataResult {
|
|
5
|
+
/** The RowNodeTransaction containing all the removals, updates and additions */
|
|
6
|
+
rowNodeTransaction: RowNodeTransaction;
|
|
7
|
+
/** True if at least one row was inserted (and not just appended) */
|
|
8
|
+
rowsInserted: boolean;
|
|
9
|
+
}
|
|
3
10
|
export declare class ClientSideNodeManager {
|
|
4
11
|
private readonly rootNode;
|
|
5
12
|
private gos;
|
|
@@ -16,13 +23,19 @@ export declare class ClientSideNodeManager {
|
|
|
16
23
|
};
|
|
17
24
|
getRowNode(id: string): RowNode | undefined;
|
|
18
25
|
setRowData(rowData: any[]): RowNode[] | undefined;
|
|
19
|
-
updateRowData(rowDataTran: RowDataTransaction
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
updateRowData(rowDataTran: RowDataTransaction): ClientSideNodeManagerUpdateRowDataResult;
|
|
27
|
+
/**
|
|
28
|
+
* Used by the immutable service, after updateRowData, after updating with a generated transaction to
|
|
29
|
+
* apply the order as specified by the the new data. We use sourceRowIndex to determine the order of the rows.
|
|
30
|
+
* Time complexity is O(n) where n is the number of rows/rowData
|
|
31
|
+
* @returns true if the order changed, otherwise false
|
|
32
|
+
*/
|
|
33
|
+
updateRowOrderFromRowData<TData>(rowData: TData[]): boolean;
|
|
22
34
|
isRowCountReady(): boolean;
|
|
23
35
|
private dispatchRowDataUpdateStartedEvent;
|
|
24
36
|
private updateSelection;
|
|
25
37
|
private executeAdd;
|
|
38
|
+
private sanitizeAddIndex;
|
|
26
39
|
private executeRemove;
|
|
27
40
|
private executeUpdate;
|
|
28
41
|
private lookupRowNode;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BeanCollection, ClientSideRowModelStep, IClientSideRowModel, NamedBean, RefreshModelParams, RowBounds, RowDataTransaction, RowModelType, RowNodeTransaction } from 'ag-grid-community';
|
|
2
2
|
import { BeanStub, ChangedPath, RowHighlightPosition, RowNode } from 'ag-grid-community';
|
|
3
|
+
import { ClientSideNodeManager } from './clientSideNodeManager';
|
|
3
4
|
export interface BatchTransactionItem<TData = any> {
|
|
4
5
|
rowDataTransaction: RowDataTransaction<TData>;
|
|
5
6
|
callback: ((res: RowNodeTransaction<TData>) => void) | undefined;
|
|
@@ -55,7 +56,14 @@ export declare class ClientSideRowModel extends BeanStub implements IClientSideR
|
|
|
55
56
|
getLastHighlightedRowNode(): RowNode | null;
|
|
56
57
|
isLastRowIndexKnown(): boolean;
|
|
57
58
|
getRowCount(): number;
|
|
59
|
+
/**
|
|
60
|
+
* Returns the number of rows with level === 1
|
|
61
|
+
*/
|
|
58
62
|
getTopLevelRowCount(): number;
|
|
63
|
+
/**
|
|
64
|
+
* Get the row display index by the top level index
|
|
65
|
+
* top level index is the index of rows with level === 1
|
|
66
|
+
*/
|
|
59
67
|
getTopLevelRowDisplayedIndex(topLevelIndex: number): number;
|
|
60
68
|
getRowBounds(index: number): RowBounds | null;
|
|
61
69
|
onRowGroupOpened(): void;
|
|
@@ -90,19 +98,31 @@ export declare class ClientSideRowModel extends BeanStub implements IClientSideR
|
|
|
90
98
|
private doRowGrouping;
|
|
91
99
|
private doFilter;
|
|
92
100
|
private doPivot;
|
|
93
|
-
|
|
94
|
-
[id: string]: RowNode;
|
|
95
|
-
};
|
|
101
|
+
getNodeManager(): ClientSideNodeManager;
|
|
96
102
|
getRowNode(id: string): RowNode | undefined;
|
|
97
103
|
setRowData(rowData: any[]): void;
|
|
98
104
|
private dispatchUpdateEventsAndRefresh;
|
|
99
105
|
batchUpdateRowData(rowDataTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
|
|
100
106
|
flushAsyncTransactions(): void;
|
|
101
107
|
private executeBatchUpdateRowData;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
108
|
+
/**
|
|
109
|
+
* Used to apply transaction changes.
|
|
110
|
+
* Called by gridApi & rowDragFeature
|
|
111
|
+
*/
|
|
112
|
+
updateRowData(rowDataTran: RowDataTransaction): RowNodeTransaction | null;
|
|
113
|
+
/**
|
|
114
|
+
* Used to apply generated transaction
|
|
115
|
+
*/
|
|
116
|
+
afterImmutableDataChange(rowNodeTransaction: RowNodeTransaction, rowNodesOrderChanged: boolean): void;
|
|
117
|
+
/**
|
|
118
|
+
* Common to:
|
|
119
|
+
* - executeBatchUpdateRowData (batch transactions)
|
|
120
|
+
* - updateRowData (single transaction)
|
|
121
|
+
* - afterImmutableDataChange (generated transaction)
|
|
122
|
+
*
|
|
123
|
+
* @param rowNodeTrans - the transactions to apply
|
|
124
|
+
* @param orderChanged - whether the order of the rows has changed, either via generated transaction or user provided addIndex
|
|
125
|
+
*/
|
|
106
126
|
private commonUpdateRowData;
|
|
107
127
|
private doRowsToDisplay;
|
|
108
128
|
onRowHeightChanged(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BeanCollection, ClientSideRowModelStep, IRowNode, RowDataTransaction, RowNodeTransaction } from 'ag-grid-community';
|
|
2
2
|
export declare function onGroupExpandedOrCollapsed(beans: BeanCollection): void;
|
|
3
3
|
export declare function refreshClientSideRowModel(beans: BeanCollection, step?: ClientSideRowModelStep): void;
|
|
4
|
+
export declare function isRowDataEmpty(beans: BeanCollection): boolean;
|
|
4
5
|
export declare function forEachLeafNode<TData = any>(beans: BeanCollection, callback: (rowNode: IRowNode<TData>) => void): void;
|
|
5
6
|
export declare function forEachNodeAfterFilter<TData = any>(beans: BeanCollection, callback: (rowNode: IRowNode<TData>, index: number) => void): void;
|
|
6
7
|
export declare function forEachNodeAfterFilterAndSort<TData = any>(beans: BeanCollection, callback: (rowNode: IRowNode<TData>, index: number) => void): void;
|
|
@@ -8,7 +8,8 @@ export declare class ImmutableService extends BeanStub implements NamedBean, IIm
|
|
|
8
8
|
private clientSideRowModel;
|
|
9
9
|
postConstruct(): void;
|
|
10
10
|
isActive(): boolean;
|
|
11
|
-
setRowData(rowData:
|
|
11
|
+
setRowData<TData>(rowData: TData[]): void;
|
|
12
|
+
/** Converts the setRowData() command to a transaction */
|
|
12
13
|
private createTransactionForRowData;
|
|
13
14
|
private onRowDataUpdated;
|
|
14
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const ClientSideRowModelModule: Module;
|
|
1
|
+
export declare const ClientSideRowModelCoreModule: import("ag-grid-community").Module;
|
|
2
|
+
export declare const ClientSideRowModelApiModule: import("ag-grid-community").Module;
|
|
3
|
+
export declare const ClientSideRowModelModule: import("ag-grid-community").Module;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "32.0
|
|
1
|
+
export declare const VERSION = "32.2.0";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const AlignedGridsModule: Module;
|
|
1
|
+
export declare const AlignedGridsModule: import("./interfaces/iModule").Module;
|
|
@@ -19,6 +19,7 @@ export declare class AlignedGridsService extends BeanStub implements NamedBean {
|
|
|
19
19
|
private fireColumnEvent;
|
|
20
20
|
private fireScrollEvent;
|
|
21
21
|
private onScrollEvent;
|
|
22
|
+
private extractDataFromEvent;
|
|
22
23
|
getMasterColumns(event: ColumnEvent): AgColumn[];
|
|
23
24
|
getColumnIds(event: ColumnEvent): string[];
|
|
24
25
|
onColumnEvent(event: AgEvent): void;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import type { NamedBean } from '../context/bean';
|
|
2
2
|
import { BeanStub } from '../context/beanStub';
|
|
3
3
|
import type { BeanCollection } from '../context/context';
|
|
4
|
+
import type { GridApi } from './gridApi';
|
|
4
5
|
import type { ApiFunction, ApiFunctionName } from './iApiFunction';
|
|
5
6
|
export declare class ApiFunctionService extends BeanStub implements NamedBean {
|
|
6
7
|
beanName: "apiFunctionService";
|
|
8
|
+
readonly api: GridApi;
|
|
9
|
+
private fns;
|
|
7
10
|
private beans;
|
|
8
|
-
private functions;
|
|
9
|
-
private isDestroyed;
|
|
10
11
|
private preDestroyLink;
|
|
12
|
+
constructor();
|
|
11
13
|
wireBeans(beans: BeanCollection): void;
|
|
12
14
|
postConstruct(): void;
|
|
13
|
-
callFunction(functionName: ApiFunctionName, args: any[]): any;
|
|
14
15
|
addFunction<TFunctionName extends ApiFunctionName>(functionName: TFunctionName, func: ApiFunction<TFunctionName>): void;
|
|
16
|
+
private makeApi;
|
|
17
|
+
private apiNotFound;
|
|
15
18
|
destroy(): void;
|
|
16
|
-
private destroyedHandler;
|
|
17
|
-
private isFrameworkMethod;
|
|
18
19
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const CommunityApiModule: Module;
|
|
1
|
+
export declare const CoreApiModule: import("../interfaces/iModule").Module;
|
|
2
|
+
export declare const RowSelectionApiModule: import("../interfaces/iModule").Module;
|
|
3
|
+
export declare const RowApiModule: import("../interfaces/iModule").Module;
|
|
4
|
+
export declare const ScrollApiModule: import("../interfaces/iModule").Module;
|
|
5
|
+
export declare const KeyboardNavigationApiModule: import("../interfaces/iModule").Module;
|
|
6
|
+
export declare const EventApiModule: import("../interfaces/iModule").Module;
|
|
7
|
+
export declare const CellApiModule: import("../interfaces/iModule").Module;
|
|
8
|
+
export declare const CommunityMenuApiModule: import("../interfaces/iModule").Module;
|
|
9
|
+
export declare const SortApiModule: import("../interfaces/iModule").Module;
|
|
10
|
+
export declare const CommunityApiModule: import("../interfaces/iModule").Module;
|