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
|
@@ -33,11 +33,12 @@ interface RowGui {
|
|
|
33
33
|
rowComp: IRowComp;
|
|
34
34
|
element: HTMLElement;
|
|
35
35
|
containerType: RowContainerType;
|
|
36
|
+
compBean: BeanStub;
|
|
36
37
|
}
|
|
37
38
|
export type RowCtrlEvent = RenderedRowEvent;
|
|
38
39
|
export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
39
40
|
static DOM_DATA_KEY_ROW_CTRL: string;
|
|
40
|
-
|
|
41
|
+
readonly instanceId: RowCtrlInstanceId;
|
|
41
42
|
private readonly rowNode;
|
|
42
43
|
private readonly beans;
|
|
43
44
|
private tooltipFeature;
|
|
@@ -69,7 +70,6 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
69
70
|
private readonly suppressRowTransform;
|
|
70
71
|
private updateColumnListsPending;
|
|
71
72
|
private rowId;
|
|
72
|
-
private tabIndex;
|
|
73
73
|
private businessKeySanitised;
|
|
74
74
|
private businessKeyForNodeFunc;
|
|
75
75
|
constructor(rowNode: RowNode, beans: BeanCollection, animateIn: boolean, useAnimationFrameForCreate: boolean, printLayout: boolean);
|
|
@@ -77,11 +77,9 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
77
77
|
private updateRowBusinessKey;
|
|
78
78
|
getRowId(): string | null;
|
|
79
79
|
getRowStyles(): RowStyle | undefined;
|
|
80
|
-
getTabIndex(): number | undefined;
|
|
81
80
|
private isSticky;
|
|
82
|
-
getInstanceId(): RowCtrlInstanceId;
|
|
83
81
|
private updateGui;
|
|
84
|
-
setComp(rowComp: IRowComp, element: HTMLElement, containerType: RowContainerType): void;
|
|
82
|
+
setComp(rowComp: IRowComp, element: HTMLElement, containerType: RowContainerType, compBean: BeanStub<any> | undefined): void;
|
|
85
83
|
unsetComp(containerType: RowContainerType): void;
|
|
86
84
|
isCacheable(): boolean;
|
|
87
85
|
setCached(cached: boolean): void;
|
|
@@ -97,6 +95,7 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
97
95
|
getCellElement(column: AgColumn): HTMLElement | null;
|
|
98
96
|
private executeProcessRowPostCreateFunc;
|
|
99
97
|
private areAllContainersReady;
|
|
98
|
+
private isNodeFullWidthCell;
|
|
100
99
|
private setRowType;
|
|
101
100
|
private updateColumnLists;
|
|
102
101
|
private createCellCtrls;
|
|
@@ -121,10 +120,12 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
121
120
|
private onDisplayedColumnsChanged;
|
|
122
121
|
private onVirtualColumnsChanged;
|
|
123
122
|
getRowPosition(): RowPosition;
|
|
123
|
+
private findFullWidthRowGui;
|
|
124
124
|
onKeyboardNavigate(keyboardEvent: KeyboardEvent): void;
|
|
125
125
|
onTabKeyDown(keyboardEvent: KeyboardEvent): void;
|
|
126
126
|
getFullWidthElement(): HTMLElement | null;
|
|
127
127
|
getRowYPosition(): number;
|
|
128
|
+
onSuppressCellFocusChanged(suppressCellFocus: boolean): void;
|
|
128
129
|
onFullWidthRowFocused(event?: CellFocusedEvent): void;
|
|
129
130
|
recreateCell(cellCtrl: CellCtrl): void;
|
|
130
131
|
private removeCellCtrl;
|
|
@@ -132,6 +133,7 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
132
133
|
createRowEvent<T extends AgEventType>(type: T, domEvent?: Event): RowEvent<T>;
|
|
133
134
|
private createRowEventWithSource;
|
|
134
135
|
private onRowDblClick;
|
|
136
|
+
private getColumnForFullWidth;
|
|
135
137
|
private onRowMouseDown;
|
|
136
138
|
onRowClick(mouseEvent: MouseEvent): void;
|
|
137
139
|
isRowSelectionBlocked(): boolean;
|
|
@@ -144,9 +146,9 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
144
146
|
private isLastRowOnPage;
|
|
145
147
|
private refreshFirstAndLastRowStyles;
|
|
146
148
|
stopEditing(cancel?: boolean): void;
|
|
147
|
-
setInlineEditingCss(
|
|
149
|
+
setInlineEditingCss(): void;
|
|
148
150
|
setEditingRow(value: boolean): void;
|
|
149
|
-
startRowEditing(key?: string | null, sourceRenderedCell?: CellCtrl | null, event?: KeyboardEvent | null):
|
|
151
|
+
startRowEditing(key?: string | null, sourceRenderedCell?: CellCtrl | null, event?: KeyboardEvent | null): boolean;
|
|
150
152
|
getAllCellCtrls(): CellCtrl[];
|
|
151
153
|
private postProcessClassesFromGridOptions;
|
|
152
154
|
private postProcessRowClassRules;
|
|
@@ -156,7 +158,7 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
156
158
|
processStylesFromGridOptions(): RowStyle | undefined;
|
|
157
159
|
private onRowSelected;
|
|
158
160
|
announceDescription(): void;
|
|
159
|
-
addHoverFunctionality(
|
|
161
|
+
addHoverFunctionality(eGui: RowGui): void;
|
|
160
162
|
private roundRowTopToBounds;
|
|
161
163
|
protected getFrameworkOverrides(): IFrameworkOverrides;
|
|
162
164
|
forEachGui(gui: RowGui | undefined, callback: (gui: RowGui) => void): void;
|
|
@@ -86,6 +86,7 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
|
|
|
86
86
|
getStickyBottomRowCtrls(): RowCtrl[];
|
|
87
87
|
private updateAllRowCtrls;
|
|
88
88
|
private onCellFocusChanged;
|
|
89
|
+
private onSuppressCellFocusChanged;
|
|
89
90
|
private registerCellEventListeners;
|
|
90
91
|
private setupRangeSelectionListeners;
|
|
91
92
|
private removeGridColumnListeners;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const RowNodeBlockModule: Module;
|
|
1
|
+
export declare const RowNodeBlockModule: import("../interfaces/iModule").Module;
|
|
@@ -14,10 +14,10 @@ export declare class SelectionService extends BeanStub implements NamedBean, ISe
|
|
|
14
14
|
private selectedNodes;
|
|
15
15
|
private selectionCtx;
|
|
16
16
|
private groupSelectsChildren;
|
|
17
|
-
private
|
|
17
|
+
private rowSelectionMode?;
|
|
18
18
|
postConstruct(): void;
|
|
19
19
|
destroy(): void;
|
|
20
|
-
private
|
|
20
|
+
private isMultiSelect;
|
|
21
21
|
/**
|
|
22
22
|
* We override the selection value for UI-triggered events because it's the
|
|
23
23
|
* current selection state that should determine the next selection state. This
|
|
@@ -69,4 +69,5 @@ export declare class SelectionService extends BeanStub implements NamedBean, ISe
|
|
|
69
69
|
getSelectionState(): string[] | null;
|
|
70
70
|
setSelectionState(state: string[] | ServerSideRowSelectionState | ServerSideRowGroupSelectionState, source: SelectionEventSourceType): void;
|
|
71
71
|
private dispatchSelectionChanged;
|
|
72
|
+
private validateSelectAllType;
|
|
72
73
|
}
|
|
@@ -81,7 +81,7 @@ export declare function _isNodeOrElement(o: any): o is Node | Element;
|
|
|
81
81
|
*/
|
|
82
82
|
export declare function _copyNodeList(nodeList: NodeListOf<Node> | null): Node[];
|
|
83
83
|
export declare function _iterateNamedNodeMap(map: NamedNodeMap, callback: (key: string, value: string) => void): void;
|
|
84
|
-
export declare function _addOrRemoveAttribute(element: HTMLElement, name: string, value:
|
|
84
|
+
export declare function _addOrRemoveAttribute(element: HTMLElement, name: string, value: string | number | null | undefined): void;
|
|
85
85
|
export declare function _nodeListForEach<T extends Node>(nodeList: NodeListOf<T> | null, action: (value: T) => void): void;
|
|
86
86
|
/**
|
|
87
87
|
* cell renderers are used in a few places. they bind to dom slightly differently to other cell renders as they
|
|
@@ -8,7 +8,7 @@ export declare function _log(message: string, ...args: any[]): void;
|
|
|
8
8
|
export declare function _warnOnce(msg: string, ...args: any[]): void;
|
|
9
9
|
export declare function _errorOnce(msg: string, ...args: any[]): void;
|
|
10
10
|
export declare function _getFunctionName(funcConstructor: any): any;
|
|
11
|
-
export declare function _isFunction(val: any):
|
|
11
|
+
export declare function _isFunction<T>(val: any): val is () => T;
|
|
12
12
|
export declare function _executeInAWhile(funcs: ((...args: any[]) => any)[]): void;
|
|
13
13
|
export declare function _executeNextVMTurn(func: () => void): void;
|
|
14
14
|
export declare function _executeAfter(funcs: ((...args: any[]) => any)[], milliseconds?: number): void;
|
|
@@ -25,5 +25,5 @@ export declare function _debounce(func: (...args: any[]) => void, delay: number)
|
|
|
25
25
|
*/
|
|
26
26
|
export declare function _throttle(func: (...args: any[]) => void, wait: number): (...args: any[]) => void;
|
|
27
27
|
export declare function _waitUntil(condition: () => boolean, callback: () => void, timeout?: number, timeoutMessage?: string): void;
|
|
28
|
-
export declare function _compose<T>(...fns: ((...args:
|
|
28
|
+
export declare function _compose<T>(...fns: ((...args: T[]) => T)[]): (arg: T) => T;
|
|
29
29
|
export declare const noop: () => void;
|
|
@@ -1,8 +1,83 @@
|
|
|
1
1
|
import type { AgColumn } from '../entities/agColumn';
|
|
2
2
|
import type { GridOptionsService } from '../gridOptionsService';
|
|
3
3
|
export declare const iconNameClassMap: {
|
|
4
|
-
|
|
4
|
+
readonly columnGroupOpened: "expanded";
|
|
5
|
+
readonly columnGroupClosed: "contracted";
|
|
6
|
+
readonly columnSelectClosed: "tree-closed";
|
|
7
|
+
readonly columnSelectOpen: "tree-open";
|
|
8
|
+
readonly columnSelectIndeterminate: "tree-indeterminate";
|
|
9
|
+
readonly columnMovePin: "pin";
|
|
10
|
+
readonly columnMoveHide: "eye-slash";
|
|
11
|
+
readonly columnMoveMove: "arrows";
|
|
12
|
+
readonly columnMoveLeft: "left";
|
|
13
|
+
readonly columnMoveRight: "right";
|
|
14
|
+
readonly columnMoveGroup: "group";
|
|
15
|
+
readonly columnMoveValue: "aggregation";
|
|
16
|
+
readonly columnMovePivot: "pivot";
|
|
17
|
+
readonly dropNotAllowed: "not-allowed";
|
|
18
|
+
readonly groupContracted: "tree-closed";
|
|
19
|
+
readonly groupExpanded: "tree-open";
|
|
20
|
+
readonly setFilterGroupClosed: "tree-closed";
|
|
21
|
+
readonly setFilterGroupOpen: "tree-open";
|
|
22
|
+
readonly setFilterGroupIndeterminate: "tree-indeterminate";
|
|
23
|
+
readonly chart: "chart";
|
|
24
|
+
readonly close: "cross";
|
|
25
|
+
readonly cancel: "cancel";
|
|
26
|
+
readonly check: "tick";
|
|
27
|
+
readonly first: "first";
|
|
28
|
+
readonly previous: "previous";
|
|
29
|
+
readonly next: "next";
|
|
30
|
+
readonly last: "last";
|
|
31
|
+
readonly linked: "linked";
|
|
32
|
+
readonly unlinked: "unlinked";
|
|
33
|
+
readonly colorPicker: "color-picker";
|
|
34
|
+
readonly groupLoading: "loading";
|
|
35
|
+
readonly menu: "menu";
|
|
36
|
+
readonly menuAlt: "menu-alt";
|
|
37
|
+
readonly filter: "filter";
|
|
38
|
+
readonly columns: "columns";
|
|
39
|
+
readonly maximize: "maximize";
|
|
40
|
+
readonly minimize: "minimize";
|
|
41
|
+
readonly menuPin: "pin";
|
|
42
|
+
readonly menuValue: "aggregation";
|
|
43
|
+
readonly menuAddRowGroup: "group";
|
|
44
|
+
readonly menuRemoveRowGroup: "group";
|
|
45
|
+
readonly clipboardCopy: "copy";
|
|
46
|
+
readonly clipboardCut: "cut";
|
|
47
|
+
readonly clipboardPaste: "paste";
|
|
48
|
+
readonly pivotPanel: "pivot";
|
|
49
|
+
readonly rowGroupPanel: "group";
|
|
50
|
+
readonly valuePanel: "aggregation";
|
|
51
|
+
readonly columnDrag: "grip";
|
|
52
|
+
readonly rowDrag: "grip";
|
|
53
|
+
readonly save: "save";
|
|
54
|
+
readonly csvExport: "csv";
|
|
55
|
+
readonly excelExport: "excel";
|
|
56
|
+
readonly smallDown: "small-down";
|
|
57
|
+
readonly smallLeft: "small-left";
|
|
58
|
+
readonly smallRight: "small-right";
|
|
59
|
+
readonly smallUp: "small-up";
|
|
60
|
+
readonly sortAscending: "asc";
|
|
61
|
+
readonly sortDescending: "desc";
|
|
62
|
+
readonly sortUnSort: "none";
|
|
63
|
+
readonly advancedFilterBuilder: "group";
|
|
64
|
+
readonly advancedFilterBuilderDrag: "grip";
|
|
65
|
+
readonly advancedFilterBuilderInvalid: "not-allowed";
|
|
66
|
+
readonly advancedFilterBuilderMoveUp: "up";
|
|
67
|
+
readonly advancedFilterBuilderMoveDown: "down";
|
|
68
|
+
readonly advancedFilterBuilderAdd: "plus";
|
|
69
|
+
readonly advancedFilterBuilderRemove: "minus";
|
|
70
|
+
readonly chartsMenuEdit: "chart";
|
|
71
|
+
readonly chartsMenuAdvancedSettings: "settings";
|
|
72
|
+
readonly chartsMenuAdd: "plus";
|
|
73
|
+
readonly checkboxChecked: "checkbox-checked";
|
|
74
|
+
readonly checkboxIndeterminate: "checkbox-indeterminate";
|
|
75
|
+
readonly checkboxUnchecked: "checkbox-unchecked";
|
|
76
|
+
readonly radioButtonOn: "radio-button-on";
|
|
77
|
+
readonly radioButtonOff: "radio-button-off";
|
|
5
78
|
};
|
|
79
|
+
export type IconName = keyof typeof iconNameClassMap;
|
|
80
|
+
export type IconValue = (typeof iconNameClassMap)[IconName];
|
|
6
81
|
/**
|
|
7
82
|
* If icon provided, use this (either a string, or a function callback).
|
|
8
83
|
* if not, then use the default icon from the theme
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ApiFunction, ApiFunctionName } from '../api/iApiFunction';
|
|
2
2
|
import type { BeanCollection } from '../context/context';
|
|
3
|
-
export declare function warnMissingApiFunction(functionName: ApiFunctionName, gridId: string): void;
|
|
4
3
|
export declare function validateApiFunction<TFunctionName extends ApiFunctionName>(functionName: TFunctionName, apiFunction: ApiFunction<TFunctionName>, beans: BeanCollection): ApiFunction<TFunctionName>;
|
|
@@ -22,10 +22,12 @@ export declare const GRID_OPTION_DEFAULTS: {
|
|
|
22
22
|
readonly suppressClipboardApi: false;
|
|
23
23
|
readonly suppressCutToClipboard: false;
|
|
24
24
|
readonly maintainColumnOrder: false;
|
|
25
|
+
readonly enableStrictPivotColumnOrder: false;
|
|
25
26
|
readonly suppressFieldDotNotation: false;
|
|
26
27
|
readonly allowDragFromColumnsToolPanel: false;
|
|
27
28
|
readonly suppressMovableColumns: false;
|
|
28
29
|
readonly suppressColumnMoveAnimation: false;
|
|
30
|
+
readonly suppressMoveWhenColumnDragging: false;
|
|
29
31
|
readonly suppressDragLeaveHidesColumns: false;
|
|
30
32
|
readonly suppressRowGroupHidesColumns: false;
|
|
31
33
|
readonly suppressAutoSize: false;
|
|
@@ -176,5 +178,6 @@ export declare const GRID_OPTION_DEFAULTS: {
|
|
|
176
178
|
readonly pivotMaxGeneratedColumns: -1;
|
|
177
179
|
readonly columnMenu: "new";
|
|
178
180
|
readonly reactiveCustomComponents: true;
|
|
181
|
+
readonly suppressSetFilterByDefault: false;
|
|
179
182
|
};
|
|
180
183
|
export declare const GRID_OPTIONS_VALIDATORS: () => OptionsValidator<GridOptions>;
|
|
@@ -2,7 +2,6 @@ import type { ApiFunction, ApiFunctionName } from '../api/iApiFunction';
|
|
|
2
2
|
import type { NamedBean } from '../context/bean';
|
|
3
3
|
import { BeanStub } from '../context/beanStub';
|
|
4
4
|
import type { BeanCollection } from '../context/context';
|
|
5
|
-
import type { ColDef, ColGroupDef } from '../entities/colDef';
|
|
6
5
|
import type { GridOptions } from '../entities/gridOptions';
|
|
7
6
|
export declare class ValidationService extends BeanStub implements NamedBean {
|
|
8
7
|
beanName: "validationService";
|
|
@@ -11,10 +10,8 @@ export declare class ValidationService extends BeanStub implements NamedBean {
|
|
|
11
10
|
wireBeans(beans: BeanCollection): void;
|
|
12
11
|
postConstruct(): void;
|
|
13
12
|
processGridOptions(options: GridOptions): void;
|
|
14
|
-
processColumnDefs(options: ColDef | ColGroupDef): void;
|
|
15
|
-
warnMissingApiFunction(functionName: ApiFunctionName): void;
|
|
16
13
|
validateApiFunction<TFunctionName extends ApiFunctionName>(functionName: TFunctionName, apiFunction: ApiFunction<TFunctionName>): ApiFunction<TFunctionName>;
|
|
17
14
|
private processOptions;
|
|
18
|
-
private
|
|
15
|
+
private checkForRequiredDependencies;
|
|
19
16
|
private checkProperties;
|
|
20
17
|
}
|
|
@@ -25,9 +25,9 @@ export type Validations<T extends object> = Partial<{
|
|
|
25
25
|
export interface OptionsValidation<T extends object> {
|
|
26
26
|
module?: ModuleNames | ModuleNames[];
|
|
27
27
|
supportedRowModels?: RowModelType[];
|
|
28
|
-
dependencies?:
|
|
28
|
+
dependencies?: RequiredOptions<T>;
|
|
29
|
+
validate?: (options: T, gridOptions: GridOptions) => string | null;
|
|
29
30
|
}
|
|
30
|
-
export type DependencyValidator<T extends object> = RequiredOptions<T> | ((options: T, gridOptions: GridOptions) => string | null);
|
|
31
31
|
export type RequiredOptions<T extends object> = {
|
|
32
32
|
[K in keyof T]: T[K][];
|
|
33
33
|
};
|
|
@@ -16,8 +16,14 @@ export declare class ValueService extends BeanStub implements NamedBean {
|
|
|
16
16
|
private isSsrm;
|
|
17
17
|
postConstruct(): void;
|
|
18
18
|
private init;
|
|
19
|
+
/**
|
|
20
|
+
* Use this function to get a displayable cell value.
|
|
21
|
+
* This hides values in expanded group rows which are instead displayed by the footer row.
|
|
22
|
+
*/
|
|
23
|
+
getValueForDisplay(column: AgColumn, node: IRowNode): any;
|
|
19
24
|
getValue(column: AgColumn, rowNode?: IRowNode | null, forFilter?: boolean, ignoreAggData?: boolean): any;
|
|
20
25
|
parseValue(column: AgColumn, rowNode: IRowNode | null, newValue: any, oldValue: any): any;
|
|
26
|
+
getDeleteValue(column: AgColumn, rowNode: IRowNode): any;
|
|
21
27
|
formatValue(column: AgColumn, node: IRowNode | null, value: any, suppliedFormatter?: (value: any) => string, useFormatterFromColumn?: boolean): string | null;
|
|
22
28
|
private getOpenedGroup;
|
|
23
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "32.0
|
|
1
|
+
export declare const VERSION = "32.2.0";
|
|
@@ -77,7 +77,7 @@ export declare class PopupService extends BeanStub implements NamedBean {
|
|
|
77
77
|
}): void;
|
|
78
78
|
private shouldRenderUnderOrAbove;
|
|
79
79
|
private setAlignedStyles;
|
|
80
|
-
|
|
80
|
+
callPostProcessPopup(type: string, ePopup: HTMLElement, eventSource?: HTMLElement | null, mouseEvent?: MouseEvent | Touch | null, column?: AgColumn | null, rowNode?: IRowNode | null): void;
|
|
81
81
|
positionPopup(params: PopupPositionParams): void;
|
|
82
82
|
getActivePopups(): HTMLElement[];
|
|
83
83
|
getPopupList(): AgPopup[];
|
|
@@ -56,6 +56,7 @@ export declare class TooltipStateManager extends BeanStub {
|
|
|
56
56
|
private onTooltipMouseEnter;
|
|
57
57
|
private onTooltipMouseLeave;
|
|
58
58
|
private onTooltipFocusIn;
|
|
59
|
+
private isTooltipFocused;
|
|
59
60
|
private onTooltipFocusOut;
|
|
60
61
|
private positionTooltip;
|
|
61
62
|
private destroyTooltipComp;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const CsvExportModule: Module;
|
|
1
|
+
export declare const CsvExportCoreModule: import("ag-grid-community").Module;
|
|
2
|
+
export declare const CsvExportApiModule: import("ag-grid-community").Module;
|
|
3
|
+
export declare const CsvExportModule: import("ag-grid-community").Module;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "32.0
|
|
1
|
+
export declare const VERSION = "32.2.0";
|
|
@@ -30,7 +30,7 @@ export declare class InfiniteRowModel extends BeanStub implements NamedBean, IIn
|
|
|
30
30
|
isRowsToRender(): boolean;
|
|
31
31
|
getNodesInRangeForSelection(firstInRange: RowNode, lastInRange: RowNode): RowNode[];
|
|
32
32
|
private reset;
|
|
33
|
-
private
|
|
33
|
+
private dispatchModelUpdatedEvent;
|
|
34
34
|
private resetCache;
|
|
35
35
|
private updateRowHeights;
|
|
36
36
|
private destroyCache;
|
|
@@ -2,4 +2,3 @@ import type { BeanCollection } from 'ag-grid-community';
|
|
|
2
2
|
export declare function refreshInfiniteCache(beans: BeanCollection): void;
|
|
3
3
|
export declare function purgeInfiniteCache(beans: BeanCollection): void;
|
|
4
4
|
export declare function getInfiniteRowCount(beans: BeanCollection): number | undefined;
|
|
5
|
-
export declare function isLastRowIndexKnown(beans: BeanCollection): boolean | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const InfiniteRowModelModule: Module;
|
|
1
|
+
export declare const InfiniteRowModelCoreModule: import("ag-grid-community").Module;
|
|
2
|
+
export declare const InfiniteRowModelApiModule: import("ag-grid-community").Module;
|
|
3
|
+
export declare const InfiniteRowModelModule: import("ag-grid-community").Module;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "32.0
|
|
1
|
+
export declare const VERSION = "32.2.0";
|
package/package.json
CHANGED
|
@@ -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",
|