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,3 +1,4 @@
|
|
|
1
|
+
import type { GridApi } from '../api/gridApi';
|
|
1
2
|
import type { ApiFunction, ApiFunctionName } from '../api/iApiFunction';
|
|
2
3
|
import type { ComponentMeta, ControllerMeta, SingletonBean } from '../context/context';
|
|
3
4
|
import type { RowModelType } from './iRowModel';
|
|
@@ -24,6 +25,14 @@ export interface Module {
|
|
|
24
25
|
rowModel?: RowModelType;
|
|
25
26
|
dependantModules?: Module[];
|
|
26
27
|
apiFunctions?: {
|
|
27
|
-
[
|
|
28
|
+
[K in ApiFunctionName]: ApiFunction<K>;
|
|
28
29
|
};
|
|
29
30
|
}
|
|
31
|
+
export declare function _defineModule(definition: Omit<Module, 'apiFunctions'>): Module;
|
|
32
|
+
export declare function _defineModule<TGridApi extends Readonly<Partial<GridApi>>>(definition: Omit<Module, 'apiFunctions'> & (object extends TGridApi ? {
|
|
33
|
+
apiFunctions: never;
|
|
34
|
+
} : {
|
|
35
|
+
apiFunctions: {
|
|
36
|
+
[K in ApiFunctionName & keyof TGridApi]: ApiFunction<K>;
|
|
37
|
+
};
|
|
38
|
+
})): Module;
|
|
@@ -132,6 +132,12 @@ interface BaseRowNode<TData = any> {
|
|
|
132
132
|
stub: boolean | undefined;
|
|
133
133
|
/** Used by server side row model, `true` if this row node failed a load. */
|
|
134
134
|
failedLoad: boolean | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* The index of the row in the source rowData array including any updates via transactions.
|
|
137
|
+
* It does not change when sorting, filtering, grouping, pivoting or any other UI related operations.
|
|
138
|
+
* If this is a filler node (a visual row created by AG Grid in tree data or grouping) the value will be `-1`.
|
|
139
|
+
*/
|
|
140
|
+
readonly sourceRowIndex: number;
|
|
135
141
|
/** The current row index. If the row is filtered out or in a collapsed group, this value will be `null`. */
|
|
136
142
|
rowIndex: number | null;
|
|
137
143
|
/** If using quick filter, stores a string representation of the row for searching against. */
|
|
@@ -211,6 +217,8 @@ export interface IRowNode<TData = any> extends BaseRowNode<TData>, GroupRowNode<
|
|
|
211
217
|
*/
|
|
212
218
|
setExpanded(expanded: boolean, sourceEvent?: MouseEvent | KeyboardEvent, forceSync?: boolean): void;
|
|
213
219
|
/**
|
|
220
|
+
* @deprecated v32.2.0 Check `node.detail` then user provided callback `isFullWidthRow` instead.
|
|
221
|
+
*
|
|
214
222
|
* Returns:
|
|
215
223
|
* - `true` if the node is a full width cell.
|
|
216
224
|
* - `false` if the node is not a full width cell.
|
|
@@ -264,8 +272,7 @@ export interface IRowNode<TData = any> extends BaseRowNode<TData>, GroupRowNode<
|
|
|
264
272
|
*/
|
|
265
273
|
setDataValue(colKey: string | Column, newValue: any, eventSource?: string): boolean;
|
|
266
274
|
/**
|
|
267
|
-
* Returns the route of the row node. If the Row Node
|
|
268
|
-
* If the Row Node is not a group, it returns `undefined`.
|
|
275
|
+
* Returns the route of the row node. If the Row Node does not have a key (i.e it's a group) returns undefined
|
|
269
276
|
*/
|
|
270
277
|
getRoute(): string[] | undefined;
|
|
271
278
|
}
|
|
@@ -5,9 +5,7 @@ export interface StageExecuteParams<TData = any> {
|
|
|
5
5
|
rowNode: RowNode<TData>;
|
|
6
6
|
rowNodeTransaction?: RowNodeTransaction<TData> | null;
|
|
7
7
|
rowNodeTransactions?: RowNodeTransaction<TData>[] | null;
|
|
8
|
-
|
|
9
|
-
[id: string]: number;
|
|
10
|
-
};
|
|
8
|
+
rowNodesOrderChanged?: boolean;
|
|
11
9
|
changedPath?: ChangedPath;
|
|
12
10
|
afterColumnsChanged?: boolean;
|
|
13
11
|
}
|
|
@@ -21,7 +21,9 @@ export interface IDetailCellRendererParams<TData = any, TDetail = any> extends I
|
|
|
21
21
|
refreshStrategy: 'rows' | 'everything' | 'nothing';
|
|
22
22
|
/** Allows changing the template used around the Detail Grid. */
|
|
23
23
|
template: string | TemplateFunc<TData>;
|
|
24
|
+
/** @deprecated v32.2 This property is no longer used */
|
|
24
25
|
agGridReact: any;
|
|
26
|
+
/** @deprecated v32.2 This property is no longer used */
|
|
25
27
|
frameworkComponentWrapper: any;
|
|
26
28
|
pinned: 'left' | 'right' | null | undefined;
|
|
27
29
|
}
|
|
@@ -11,11 +11,12 @@ export { ColumnSizeService, IColumnLimit, ISizeColumnsToFitParams } from './colu
|
|
|
11
11
|
export { ColumnKeyCreator } from './columns/columnKeyCreator';
|
|
12
12
|
export { VisibleColsService } from './columns/visibleColsService';
|
|
13
13
|
export { GroupInstanceIdCreator } from './columns/groupInstanceIdCreator';
|
|
14
|
-
export { GROUP_AUTO_COLUMN_ID } from './columns/columnUtils';
|
|
14
|
+
export { GROUP_AUTO_COLUMN_ID, isColumnControlsCol, isColumnGroupAutoCol } from './columns/columnUtils';
|
|
15
15
|
export { IAutoColService } from './interfaces/iAutoColService';
|
|
16
16
|
export { SizeColumnsToFitGridColumnLimits, SizeColumnsToContentStrategy, SizeColumnsToFitProvidedWidthStrategy, SizeColumnsToFitGridStrategy, } from './interfaces/autoSizeStrategy';
|
|
17
17
|
export { IRenderStatusService } from './interfaces/renderStatusService';
|
|
18
18
|
export { ComponentUtil, _combineAttributesAndGridOptions, _processOnChange } from './components/componentUtil';
|
|
19
|
+
export { EmptyBean as _EmptyBean } from './components/emptyBean';
|
|
19
20
|
export { ComponentSelector, AgComponentSelector, RefPlaceholder, ComponentEvent } from './widgets/component';
|
|
20
21
|
export { UserComponentRegistry } from './components/framework/userComponentRegistry';
|
|
21
22
|
export { UserComponentFactory, UserCompDetails } from './components/framework/userComponentFactory';
|
|
@@ -24,7 +25,7 @@ export { _unwrapUserComp } from './components/framework/unwrapUserComp';
|
|
|
24
25
|
export { BeanStub } from './context/beanStub';
|
|
25
26
|
export { Bean, NamedBean } from './context/bean';
|
|
26
27
|
export { Context, BeanName, SingletonBean, BeanCollection } from './context/context';
|
|
27
|
-
export { ColumnWidthCallbackParams, RowHeightCallbackParams, IExcelCreator, ExcelAlignment, ExcelBorder, ExcelBorders, ExcelCell, ExcelColumn, ExcelContentType, ExcelData, ExcelDataType, ExcelExportParams, ExcelHeaderFooterConfig, ExcelHeaderFooter, ExcelHeaderFooterContent, ExcelImage, ExcelImagePosition, ExcelHeaderFooterImage, ExcelSheetMargin, ExcelExportMultipleSheetParams, ExcelSheetPageSetup, ExcelFont, ExcelInterior, ExcelNumberFormat, ExcelOOXMLDataType, ExcelOOXMLTemplate, ExcelProtection, ExcelRelationship, ExcelFactoryMode, ExcelRow, ExcelStyle, ExcelTable, ExcelWorksheet, ExcelTableConfig, ExcelSheetNameGetter, ExcelSheetNameGetterParams, } from './interfaces/iExcelCreator';
|
|
28
|
+
export { ColumnWidthCallbackParams, RowHeightCallbackParams, IExcelCreator, ExcelAlignment, ExcelBorder, ExcelBorders, ExcelCell, ExcelColumn, ExcelContentType, ExcelData, ExcelDataType, ExcelExportParams, ExcelHeaderFooterConfig, ExcelHeaderFooter, ExcelHeaderFooterContent, ExcelImage, ExcelImagePosition, ExcelHeaderFooterImage, ExcelSheetMargin, ExcelExportMultipleSheetParams, ExcelSheetPageSetup, ExcelFont, ExcelFreezeRowsGetter, ExcelFreezeColumnsGetter, ExcelInterior, ExcelNumberFormat, ExcelOOXMLDataType, ExcelOOXMLTemplate, ExcelProtection, ExcelRelationship, ExcelFactoryMode, ExcelRow, ExcelStyle, ExcelTable, ExcelWorksheet, ExcelTableConfig, ExcelSheetNameGetter, ExcelSheetNameGetterParams, ExcelWorksheetConfigParams, } from './interfaces/iExcelCreator';
|
|
28
29
|
export { DragAndDropService, DragSourceType, DropTarget, DragSource, DragItem, DraggingEvent, DragAndDropIcon, } from './dragAndDrop/dragAndDropService';
|
|
29
30
|
export { RowDropZoneParams, RowDropZoneEvents } from './gridBodyComp/rowDragFeature';
|
|
30
31
|
export { DragService, DragListenerParams } from './dragAndDrop/dragService';
|
|
@@ -33,7 +34,7 @@ export { Column, ColumnPinnedType, ColumnGroup, ProvidedColumnGroup, ColumnGroup
|
|
|
33
34
|
export { AgColumn, isColumn } from './entities/agColumn';
|
|
34
35
|
export { AgColumnGroup, isColumnGroup } from './entities/agColumnGroup';
|
|
35
36
|
export { AgProvidedColumnGroup, isProvidedColumnGroup } from './entities/agProvidedColumnGroup';
|
|
36
|
-
export { RowNode } from './entities/rowNode';
|
|
37
|
+
export { type ITreeNode, RowNode } from './entities/rowNode';
|
|
37
38
|
export { RowHighlightPosition, RowPinnedType, IRowNode, RowNodeSelectedEvent, MouseEnterEvent, MouseLeaveEvent, HeightChangedEvent, RowIndexChangedEvent, TopChangedEvent, ExpandedChangedEvent, FirstChildChangedEvent, LastChildChangedEvent, ChildIndexChangedEvent, AllChildrenCountChangedEvent, UiLevelChangedEvent, DataChangedEvent, CellChangedEvent, SelectableChangedEvent, DisplayedChangedEvent, MasterChangedEvent, GroupChangedEvent, HasChildrenChangedEvent, RowHighlightChangedEvent, DraggingChangedEvent, } from './interfaces/iRowNode';
|
|
38
39
|
export { IFilterDef, IFilterParams, IFilterOptionDef, IDoesFilterPassParams, ProvidedFilterModel, IFilter, IFilterComp, IFilterType, IFloatingFilterType, FilterModel, BaseFilter, BaseFilterParams, } from './interfaces/iFilter';
|
|
39
40
|
export { ISetFilter, SetFilterModel, ISetFilterParams, SetFilterParams, SetFilterValues, SetFilterModelValue, SetFilterValuesFunc, SetFilterValuesFuncParams, ISetFilterTreeListTooltipParams, } from './interfaces/iSetFilter';
|
|
@@ -124,6 +125,7 @@ export { IColumnToolPanel } from './interfaces/iColumnToolPanel';
|
|
|
124
125
|
export { IFiltersToolPanel } from './interfaces/iFiltersToolPanel';
|
|
125
126
|
export { ILoadingOverlayComp, ILoadingOverlayParams, ILoadingOverlay, } from './rendering/overlays/loadingOverlayComponent';
|
|
126
127
|
export { INoRowsOverlayComp, INoRowsOverlayParams, INoRowsOverlay } from './rendering/overlays/noRowsOverlayComponent';
|
|
128
|
+
export { IDragAndDropImageComponent, IDragAndDropImage, IDragAndDropImageParams, } from './dragAndDrop/dragAndDropImageComponent';
|
|
127
129
|
export { OverlayWrapperComponent } from './rendering/overlays/overlayWrapperComponent';
|
|
128
130
|
export { SetLeftFeature } from './rendering/features/setLeftFeature';
|
|
129
131
|
export { PositionableFeature, ResizableStructure, ResizableSides, PositionableOptions, } from './rendering/features/positionableFeature';
|
|
@@ -190,15 +192,16 @@ export { VanillaFrameworkOverrides } from './vanillaFrameworkOverrides';
|
|
|
190
192
|
export { CellNavigationService } from './cellNavigationService';
|
|
191
193
|
export { KeyCode } from './constants/keyCode';
|
|
192
194
|
export { VerticalDirection, HorizontalDirection } from './constants/direction';
|
|
193
|
-
export { Grid, GridParams, Params, GridCoreCreator, createGrid, provideGlobalGridOptions } from './grid';
|
|
194
|
-
export { GridApi, DetailGridInfo, StartEditingCellParams, GetCellValueParams } from './api/gridApi';
|
|
195
|
+
export { Grid, GridParams, Params, GridCoreCreator, createGrid, provideGlobalGridOptions, GlobalGridOptionsMergeStrategy, _getGlobalGridOption, } from './grid';
|
|
196
|
+
export { GridApi, DetailGridInfo, StartEditingCellParams, GetCellValueParams, _CsvExportGridApi, _ClientSideRowModelGridApi, _SideBarGridApi, _RowGroupingGridApi, _RangeSelectionGridApi, _MenuGridApi, _ServerSideRowModelGridApi, _ExcelExportGridApi, _ClipboardGridApi, _InfiniteRowModelGridApi, _GridChartsGridApi, _MasterDetailGridApi, _StatusBarGridApi, _AdvancedFilterGridApi, } from './api/gridApi';
|
|
195
197
|
export { IDetailGridApiService } from './interfaces/iDetailGridApiService';
|
|
196
198
|
export { RowModelHelperService } from './api/rowModelHelperService';
|
|
197
199
|
export { CsrmSsrmSharedApiModule as _CsrmSsrmSharedApiModule, SsrmInfiniteSharedApiModule as _SsrmInfiniteSharedApiModule, } from './api/sharedApiModule';
|
|
198
200
|
export { CommunityMenuApiModule as _CommunityMenuApiModule } from './api/apiModule';
|
|
199
|
-
export { AgEventType } from './eventTypes';
|
|
201
|
+
export { AgEventType, AgPublicEventType } from './eventTypes';
|
|
200
202
|
export { FocusService } from './focusService';
|
|
201
203
|
export { GridOptionsService, PropertyChangedEvent } from './gridOptionsService';
|
|
204
|
+
export { _getRowIdCallback, _getRowHeightForNode, _isDomLayout, _isAnimateRows, _getGrandTotalRow, _getGroupTotalRowCallback, _isGroupMultiAutoColumn, _isColumnsSortingCoupledToGroup, _isClientSideRowModel, _isServerSideRowModel, _isGroupUseEntireRow, _getRowHeightAsNumber, _getActiveDomElement, _isNothingFocused, _getDocument, _getGroupAggFiltering, _isRowSelection, _isGetRowHeightFunction, _getGroupSelection, _getGroupSelectsDescendants, _getIsRowSelectable, _getHeaderCheckbox, _isMultiRowSelection, _getFillHandle, _isCellSelectionEnabled, _getSuppressMultiRanges, _getRowSelectionMode, _isUsingNewSelectionAPI, } from './gridOptionsUtils';
|
|
202
205
|
export { LocalEventService } from './localEventService';
|
|
203
206
|
export { EventService } from './eventService';
|
|
204
207
|
export { SelectableService } from './rowNodes/selectableService';
|
|
@@ -228,7 +231,7 @@ export { HeaderNavigationService, HeaderNavigationDirection } from './headerRend
|
|
|
228
231
|
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, ColDefField, AbstractColDef, ColTypeDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ValueFormatterFunc, ValueParserFunc, ValueGetterFunc, ValueSetterFunc, HeaderValueGetterFunc, HeaderValueGetterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, SuppressHeaderKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, CellClassFunc, CellStyleFunc, CellStyle, CellClassRules, CellEditorSelectorFunc, CellEditorSelectorResult, CellRendererSelectorFunc, CellRendererSelectorResult, GetQuickFilterTextParams, ColumnFunctionCallbackParams, CheckboxSelectionCallbackParams, CheckboxSelectionCallback, RowDragCallback, RowDragCallbackParams, DndSourceCallback, DndSourceCallbackParams, DndSourceOnRowDragParams, EditableCallbackParams, EditableCallback, SuppressPasteCallback, SuppressPasteCallbackParams, SuppressNavigableCallback, SuppressNavigableCallbackParams, HeaderCheckboxSelectionCallbackParams, HeaderCheckboxSelectionCallback, HeaderLocation, ColumnsMenuParams, ColumnChooserParams, ColumnMenuTab, HeaderClassParams, HeaderClass, ToolPanelClassParams, ToolPanelClass, KeyCreatorParams, SortDirection, NestedFieldPaths, } from './entities/colDef';
|
|
229
232
|
export { DataTypeDefinition, TextDataTypeDefinition, NumberDataTypeDefinition, BooleanDataTypeDefinition, DateDataTypeDefinition, DateStringDataTypeDefinition, ObjectDataTypeDefinition, ValueFormatterLiteFunc, ValueFormatterLiteParams, ValueParserLiteFunc, ValueParserLiteParams, BaseCellDataType, } from './entities/dataType';
|
|
230
233
|
export { DataTypeService } from './columns/dataTypeService';
|
|
231
|
-
export { GridOptions, IsApplyServerSideTransaction, GetContextMenuItems, GetDataPath, IsRowMaster, IsRowSelectable, IsRowFilterable, GetMainMenuItems, GetRowNodeIdFunc, GetRowIdFunc, ChartRef, ChartRefParams, RowClassRules, RowStyle, RowClassParams, ServerSideGroupLevelParams, ServerSideStoreParams, GetServerSideGroupKey, IsServerSideGroup, GetChartToolbarItems, RowGroupingDisplayType, TreeDataDisplayType, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, DomLayoutType, UseGroupFooter, UseGroupTotalRow, GetChartMenuItems, } from './entities/gridOptions';
|
|
234
|
+
export { GridOptions, SelectionOptions, GroupSelectionMode, SelectAllMode, SelectionColumnDef, CellSelectionOptions, RowSelectionOptions, GridTheme, GridThemeUseArgs, IsApplyServerSideTransaction, GetContextMenuItems, GetDataPath, IsRowMaster, IsRowSelectable, IsRowFilterable, GetMainMenuItems, GetRowNodeIdFunc, GetRowIdFunc, ChartRef, ChartRefParams, RowClassRules, RowStyle, RowClassParams, ServerSideGroupLevelParams, ServerSideStoreParams, GetServerSideGroupKey, IsServerSideGroup, GetChartToolbarItems, RowGroupingDisplayType, TreeDataDisplayType, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, DomLayoutType, UseGroupFooter, UseGroupTotalRow, GetChartMenuItems, } from './entities/gridOptions';
|
|
232
235
|
export { FillOperationParams, RowHeightParams, GetRowIdParams, ProcessRowParams, IsServerSideGroupOpenByDefaultParams, ProcessUnpinnedColumnsParams, IsApplyServerSideTransactionParams, IsGroupOpenByDefaultParams, GetServerSideGroupLevelParamsParams, PaginationNumberFormatterParams, ProcessDataFromClipboardParams, SendToClipboardParams, GetChartToolbarItemsParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, GetContextMenuItemsParams, GetMainMenuItemsParams, PostProcessPopupParams, IsExternalFilterPresentParams, InitialGroupOrderComparatorParams, GetGroupRowAggParams, IsFullWidthRowParams, PostSortRowsParams, FocusGridInnerElementParams, GetLocaleTextParams, GetGroupAggFilteringParams, GetGroupIncludeFooterParams, GetGroupIncludeTotalRowParams, IMenuActionParams, } from './interfaces/iCallbackParams';
|
|
233
236
|
export { WithoutGridCommon } from './interfaces/iCommon';
|
|
234
237
|
export { ManagedGridOptionKey, ManagedGridOptions, PropertyKeys } from './propertyKeys';
|
|
@@ -267,13 +270,12 @@ export { _isEventFromPrintableCharacter } from './utils/keyboard';
|
|
|
267
270
|
export { NumberSequence } from './utils/numberSequence';
|
|
268
271
|
export { _formatNumberTwoDecimalPlacesAndCommas, _formatNumberCommas } from './utils/number';
|
|
269
272
|
export { _iterateObject, _cloneObject, _getAllValuesInObject, _mergeDeep } from './utils/object';
|
|
270
|
-
export { _sortRowNodesByOrder } from './utils/rowNode';
|
|
271
273
|
export { _capitalise, _escapeString, _utf8_encode } from './utils/string';
|
|
272
274
|
export { AgPromise } from './utils/promise';
|
|
273
275
|
export { _addFocusableContainerListener } from './utils/focus';
|
|
274
276
|
export * from './interfaces/iChartOptions';
|
|
275
277
|
export * from './interfaces/iSparklineCellRendererParams';
|
|
276
|
-
export { Module, ModuleValidationResult } from './interfaces/iModule';
|
|
278
|
+
export { Module, ModuleValidationResult, _defineModule } from './interfaces/iModule';
|
|
277
279
|
export { ModuleNames } from './modules/moduleNames';
|
|
278
280
|
export { ModuleRegistry } from './modules/moduleRegistry';
|
|
279
281
|
export { CommunityFeaturesModule, GridCoreModule } from './gridCoreModule';
|
|
@@ -2,6 +2,7 @@ import type { NamedBean } from '../context/bean';
|
|
|
2
2
|
import { BeanStub } from '../context/beanStub';
|
|
3
3
|
import type { BeanCollection } from '../context/context';
|
|
4
4
|
import type { AgColumn } from '../entities/agColumn';
|
|
5
|
+
import type { AgProvidedColumnGroup } from '../entities/agProvidedColumnGroup';
|
|
5
6
|
import type { RowNode } from '../entities/rowNode';
|
|
6
7
|
import type { ContainerType } from '../interfaces/iAfterGuiAttachedParams';
|
|
7
8
|
import type { Column } from '../interfaces/iColumn';
|
|
@@ -53,6 +54,7 @@ export declare class MenuService extends BeanStub implements NamedBean {
|
|
|
53
54
|
private ctrlsService;
|
|
54
55
|
private animationFrameService;
|
|
55
56
|
private filterManager?;
|
|
57
|
+
private valueService;
|
|
56
58
|
private rowRenderer;
|
|
57
59
|
private columnChooserFactory?;
|
|
58
60
|
private contextMenuFactory?;
|
|
@@ -62,7 +64,7 @@ export declare class MenuService extends BeanStub implements NamedBean {
|
|
|
62
64
|
postConstruct(): void;
|
|
63
65
|
showColumnMenu(params: ShowColumnMenuParams): void;
|
|
64
66
|
showFilterMenu(params: ShowFilterMenuParams): void;
|
|
65
|
-
showHeaderContextMenu(column: AgColumn | undefined, mouseEvent?: MouseEvent, touchEvent?: TouchEvent): void;
|
|
67
|
+
showHeaderContextMenu(column: AgColumn | AgProvidedColumnGroup | undefined, mouseEvent?: MouseEvent, touchEvent?: TouchEvent): void;
|
|
66
68
|
getContextMenuPosition(rowNode?: RowNode | null, column?: AgColumn | null): {
|
|
67
69
|
x: number;
|
|
68
70
|
y: number;
|
|
@@ -75,7 +77,7 @@ export declare class MenuService extends BeanStub implements NamedBean {
|
|
|
75
77
|
hideColumnChooser(): void;
|
|
76
78
|
isColumnMenuInHeaderEnabled(column: AgColumn): boolean;
|
|
77
79
|
isFilterMenuInHeaderEnabled(column: AgColumn): boolean;
|
|
78
|
-
isHeaderContextMenuEnabled(column?: AgColumn): boolean;
|
|
80
|
+
isHeaderContextMenuEnabled(column?: AgColumn | AgProvidedColumnGroup): boolean;
|
|
79
81
|
isHeaderMenuButtonAlwaysShowEnabled(): boolean;
|
|
80
82
|
isHeaderMenuButtonEnabled(): boolean;
|
|
81
83
|
isHeaderFilterButtonEnabled(column: AgColumn): boolean;
|
|
@@ -2,9 +2,5 @@ import type { NamedBean } from '../context/bean';
|
|
|
2
2
|
import { BeanStub } from '../context/beanStub';
|
|
3
3
|
export declare class ResizeObserverService extends BeanStub implements NamedBean {
|
|
4
4
|
beanName: "resizeObserverService";
|
|
5
|
-
private polyfillFunctions;
|
|
6
|
-
private polyfillScheduled;
|
|
7
5
|
observeResize(element: HTMLElement, callback: () => void): () => void;
|
|
8
|
-
private doNextPolyfillTurn;
|
|
9
|
-
private schedulePolyfill;
|
|
10
6
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const StateModule: Module;
|
|
1
|
+
export declare const StateCoreModule: import("../../interfaces/iModule").Module;
|
|
2
|
+
export declare const StateApiModule: import("../../interfaces/iModule").Module;
|
|
3
|
+
export declare const StateModule: import("../../interfaces/iModule").Module;
|
|
@@ -13,7 +13,6 @@ export declare class StateService extends BeanStub implements NamedBean {
|
|
|
13
13
|
private columnGroupStateService;
|
|
14
14
|
private columnGetStateService;
|
|
15
15
|
private paginationService?;
|
|
16
|
-
private rowModel;
|
|
17
16
|
private selectionService;
|
|
18
17
|
private expansionService;
|
|
19
18
|
private columnAnimationService;
|
|
@@ -32,6 +31,7 @@ export declare class StateService extends BeanStub implements NamedBean {
|
|
|
32
31
|
private columnGroupStates?;
|
|
33
32
|
private staleStateKeys;
|
|
34
33
|
postConstruct(): void;
|
|
34
|
+
private getInitialState;
|
|
35
35
|
getState(): GridState;
|
|
36
36
|
private setupStateOnGridReady;
|
|
37
37
|
private setupStateOnColumnsInitialised;
|
|
@@ -45,7 +45,7 @@ export declare class StateService extends BeanStub implements NamedBean {
|
|
|
45
45
|
private getFilterState;
|
|
46
46
|
private setFilterState;
|
|
47
47
|
private getRangeSelectionState;
|
|
48
|
-
private
|
|
48
|
+
private setCellSelectionState;
|
|
49
49
|
private getScrollState;
|
|
50
50
|
private setScrollState;
|
|
51
51
|
private getSideBarState;
|
|
@@ -6,6 +6,7 @@ export declare class PageSizeSelectorComp extends Component {
|
|
|
6
6
|
wireBeans(beans: BeanCollection): void;
|
|
7
7
|
private selectPageSizeComp;
|
|
8
8
|
private hasEmptyOption;
|
|
9
|
+
private pageSizeOptions?;
|
|
9
10
|
constructor();
|
|
10
11
|
postConstruct(): void;
|
|
11
12
|
private handlePageSizeItemSelected;
|
|
@@ -15,8 +16,9 @@ export declare class PageSizeSelectorComp extends Component {
|
|
|
15
16
|
private onPageSizeSelectorValuesChange;
|
|
16
17
|
shouldShowPageSizeSelector(): boolean;
|
|
17
18
|
private reloadPageSizesSelector;
|
|
19
|
+
private createPageSizeSelectOptions;
|
|
20
|
+
private createPageSizeSelectorComp;
|
|
18
21
|
private getPageSizeSelectorValues;
|
|
19
|
-
private validateValues;
|
|
20
22
|
destroy(): void;
|
|
21
23
|
}
|
|
22
24
|
export declare const PageSizeSelectorSelector: ComponentSelector;
|
|
@@ -3,10 +3,10 @@ import type { FocusableContainer } from '../interfaces/iFocusableContainer';
|
|
|
3
3
|
import type { ComponentSelector } from '../widgets/component';
|
|
4
4
|
import { TabGuardComp } from '../widgets/tabGuardComp';
|
|
5
5
|
export declare class PaginationComp extends TabGuardComp implements FocusableContainer {
|
|
6
|
-
private rowNodeBlockLoader?;
|
|
7
6
|
private rowModel;
|
|
8
7
|
private paginationService;
|
|
9
8
|
private focusService;
|
|
9
|
+
private ariaAnnouncementService;
|
|
10
10
|
wireBeans(beans: BeanCollection): void;
|
|
11
11
|
private readonly btFirst;
|
|
12
12
|
private readonly btPrevious;
|
|
@@ -23,6 +23,8 @@ export declare class PaginationComp extends TabGuardComp implements FocusableCon
|
|
|
23
23
|
private lastButtonDisabled;
|
|
24
24
|
private areListenersSetup;
|
|
25
25
|
private allowFocusInnerElement;
|
|
26
|
+
private ariaRowStatus;
|
|
27
|
+
private ariaPageStatus;
|
|
26
28
|
constructor();
|
|
27
29
|
postConstruct(): void;
|
|
28
30
|
setAllowFocus(allowFocus: boolean): void;
|
|
@@ -30,7 +32,6 @@ export declare class PaginationComp extends TabGuardComp implements FocusableCon
|
|
|
30
32
|
private onPageSizeRelatedOptionsChange;
|
|
31
33
|
private setupListeners;
|
|
32
34
|
private onBtFirst;
|
|
33
|
-
private setCurrentPageLabel;
|
|
34
35
|
private formatNumber;
|
|
35
36
|
private getTemplate;
|
|
36
37
|
private onBtNext;
|
|
@@ -38,9 +39,9 @@ export declare class PaginationComp extends TabGuardComp implements FocusableCon
|
|
|
38
39
|
private onBtLast;
|
|
39
40
|
private enableOrDisableButtons;
|
|
40
41
|
private toggleButtonDisabled;
|
|
41
|
-
private updateRowLabels;
|
|
42
42
|
private isZeroPagesToDisplay;
|
|
43
|
-
private
|
|
43
|
+
private updateLabels;
|
|
44
|
+
private announceAriaStatus;
|
|
44
45
|
private setTotalLabelsToZero;
|
|
45
46
|
}
|
|
46
47
|
export declare const PaginationSelector: ComponentSelector;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const PaginationModule: Module;
|
|
1
|
+
export declare const PaginationCoreModule: import("../interfaces/iModule").Module;
|
|
2
|
+
export declare const PaginationApiModule: import("../interfaces/iModule").Module;
|
|
3
|
+
export declare const PaginationModule: import("../interfaces/iModule").Module;
|
|
@@ -13,21 +13,23 @@ export declare class PinnedRowModel extends BeanStub implements NamedBean {
|
|
|
13
13
|
postConstruct(): void;
|
|
14
14
|
isEmpty(floating: RowPinnedType): boolean;
|
|
15
15
|
isRowsToRender(floating: RowPinnedType): boolean;
|
|
16
|
-
getRowAtPixel(pixel: number, floating: RowPinnedType): number;
|
|
17
16
|
private onGridStylesChanges;
|
|
18
17
|
ensureRowHeightsValid(): boolean;
|
|
19
|
-
private
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
private setPinnedRowData;
|
|
19
|
+
/**
|
|
20
|
+
* Updates existing RowNode instances and creates new ones if necessary
|
|
21
|
+
*
|
|
22
|
+
* Setting data as `undefined` will clear row nodes
|
|
23
|
+
*/
|
|
24
|
+
private updateNodesFromRowData;
|
|
25
|
+
private setRowTopAndRowIndex;
|
|
24
26
|
getPinnedTopTotalHeight(): number;
|
|
27
|
+
getPinnedBottomTotalHeight(): number;
|
|
25
28
|
getPinnedTopRowCount(): number;
|
|
26
29
|
getPinnedBottomRowCount(): number;
|
|
27
30
|
getPinnedTopRow(index: number): RowNode | undefined;
|
|
28
31
|
getPinnedBottomRow(index: number): RowNode | undefined;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
getPinnedBottomTotalHeight(): number;
|
|
32
|
+
getPinnedRowById(id: string, floating: NonNullable<RowPinnedType>): RowNode | undefined;
|
|
33
|
+
forEachPinnedRow(floating: NonNullable<RowPinnedType>, callback: (node: RowNode, index: number) => void): void;
|
|
32
34
|
private getTotalHeight;
|
|
33
35
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const PinnedRowApiModule: Module;
|
|
1
|
+
export declare const PinnedRowApiModule: import("../interfaces/iModule").Module;
|
|
@@ -60,6 +60,7 @@ export declare const INITIAL_GRID_OPTION_KEYS: {
|
|
|
60
60
|
suppressBrowserResizeObserver: boolean;
|
|
61
61
|
suppressPropertyNamesCheck: boolean;
|
|
62
62
|
debug: boolean;
|
|
63
|
+
dragAndDropImageComponent: boolean;
|
|
63
64
|
loadingOverlayComponent: boolean;
|
|
64
65
|
suppressLoadingOverlay: boolean;
|
|
65
66
|
noRowsOverlayComponent: boolean;
|
|
@@ -70,7 +71,6 @@ export declare const INITIAL_GRID_OPTION_KEYS: {
|
|
|
70
71
|
suppressExpandablePivotGroups: boolean;
|
|
71
72
|
aggFuncs: boolean;
|
|
72
73
|
suppressAggFuncInHeader: boolean;
|
|
73
|
-
removePivotHeaderRowWhenSingleValueColumn: boolean;
|
|
74
74
|
allowShowChangeAfterFilter: boolean;
|
|
75
75
|
ensureDomOrder: boolean;
|
|
76
76
|
enableRtl: boolean;
|
|
@@ -109,6 +109,7 @@ export declare const INITIAL_GRID_OPTION_KEYS: {
|
|
|
109
109
|
getRowId: boolean;
|
|
110
110
|
reactiveCustomComponents: boolean;
|
|
111
111
|
columnMenu: boolean;
|
|
112
|
+
suppressSetFilterByDefault: boolean;
|
|
112
113
|
};
|
|
113
114
|
type InitialGridOptionKey = keyof typeof INITIAL_GRID_OPTION_KEYS;
|
|
114
115
|
export type ManagedGridOptionKey = Exclude<GridOptionKey, InitialGridOptionKey>;
|
|
@@ -6,8 +6,13 @@ export declare class AriaAnnouncementService extends BeanStub implements NamedBe
|
|
|
6
6
|
private eGridDiv;
|
|
7
7
|
wireBeans(beans: BeanCollection): void;
|
|
8
8
|
private descriptionContainer;
|
|
9
|
+
private pendingAnnouncements;
|
|
9
10
|
constructor();
|
|
10
11
|
postConstruct(): void;
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* @param key used for debouncing calls
|
|
14
|
+
*/
|
|
15
|
+
announceValue(value: string, key: string): void;
|
|
16
|
+
private updateAnnouncement;
|
|
12
17
|
destroy(): void;
|
|
13
18
|
}
|
|
@@ -37,7 +37,8 @@ export declare class CellCtrl extends BeanStub {
|
|
|
37
37
|
private readonly beans;
|
|
38
38
|
private readonly rowCtrl;
|
|
39
39
|
static DOM_DATA_KEY_CELL_CTRL: string;
|
|
40
|
-
|
|
40
|
+
readonly instanceId: CellCtrlInstanceId;
|
|
41
|
+
readonly colIdSanitised: string;
|
|
41
42
|
private eGui;
|
|
42
43
|
private cellComp;
|
|
43
44
|
private editCompDetails?;
|
|
@@ -56,31 +57,30 @@ export declare class CellCtrl extends BeanStub {
|
|
|
56
57
|
private includeSelection;
|
|
57
58
|
private includeDndSource;
|
|
58
59
|
private includeRowDrag;
|
|
59
|
-
private colIdSanitised;
|
|
60
|
-
private tabIndex;
|
|
61
60
|
private isAutoHeight;
|
|
62
61
|
private suppressRefreshCell;
|
|
63
62
|
private customRowDragComp;
|
|
64
63
|
private onCellCompAttachedFuncs;
|
|
64
|
+
private onCellEditorAttachedFuncs;
|
|
65
65
|
constructor(column: AgColumn, rowNode: RowNode, beans: BeanCollection, rowCtrl: RowCtrl);
|
|
66
66
|
shouldRestoreFocus(): boolean;
|
|
67
|
+
onFocusOut(): void;
|
|
67
68
|
private addFeatures;
|
|
69
|
+
private removeFeatures;
|
|
68
70
|
private enableTooltipFeature;
|
|
69
71
|
private disableTooltipFeature;
|
|
70
|
-
setComp(comp: ICellComp, eGui: HTMLElement, eCellWrapper: HTMLElement | undefined, printLayout: boolean, startEditing: boolean): void;
|
|
72
|
+
setComp(comp: ICellComp, eGui: HTMLElement, eCellWrapper: HTMLElement | undefined, printLayout: boolean, startEditing: boolean, compBean: BeanStub | undefined): void;
|
|
71
73
|
private setupAutoHeight;
|
|
72
74
|
getCellAriaRole(): string;
|
|
73
|
-
getInstanceId(): CellCtrlInstanceId;
|
|
74
|
-
getColumnIdSanitised(): string;
|
|
75
|
-
getTabIndex(): number | undefined;
|
|
76
75
|
isCellRenderer(): boolean;
|
|
77
76
|
getValueToDisplay(): any;
|
|
78
77
|
private showValue;
|
|
79
78
|
private setupControlComps;
|
|
80
79
|
isForceWrapper(): boolean;
|
|
81
80
|
private isIncludeControl;
|
|
81
|
+
private isCheckboxSelection;
|
|
82
82
|
private refreshShouldDestroy;
|
|
83
|
-
startEditing(key?: string | null, cellStartedEdit?: boolean, event?: KeyboardEvent | MouseEvent | null):
|
|
83
|
+
startEditing(key?: string | null, cellStartedEdit?: boolean, event?: KeyboardEvent | MouseEvent | null): boolean;
|
|
84
84
|
setEditing(editing: boolean, compDetails: UserCompDetails | undefined): void;
|
|
85
85
|
stopRowOrCellEdit(cancel?: boolean): void;
|
|
86
86
|
onPopupEditorClosed(): void;
|
|
@@ -134,14 +134,15 @@ export declare class CellCtrl extends BeanStub {
|
|
|
134
134
|
isPrintLayout(): boolean;
|
|
135
135
|
getCellPosition(): CellPosition;
|
|
136
136
|
isEditing(): boolean;
|
|
137
|
-
startRowOrCellEdit(key?: string | null, event?: KeyboardEvent | MouseEvent | null):
|
|
137
|
+
startRowOrCellEdit(key?: string | null, event?: KeyboardEvent | MouseEvent | null): boolean;
|
|
138
138
|
getRowCtrl(): RowCtrl;
|
|
139
139
|
getRowPosition(): RowPosition;
|
|
140
140
|
updateRangeBordersIfRangeCount(): void;
|
|
141
|
-
|
|
141
|
+
onCellSelectionChanged(): void;
|
|
142
142
|
isRangeSelectionEnabled(): boolean;
|
|
143
143
|
focusCell(forceBrowserFocus?: boolean): void;
|
|
144
144
|
onRowIndexChanged(): void;
|
|
145
|
+
onSuppressCellFocusChanged(suppressCellFocus: boolean): void;
|
|
145
146
|
onFirstRightPinnedChanged(): void;
|
|
146
147
|
onLastLeftPinnedChanged(): void;
|
|
147
148
|
onCellFocused(event?: CellFocusedEvent): void;
|
|
@@ -160,4 +161,6 @@ export declare class CellCtrl extends BeanStub {
|
|
|
160
161
|
createRowDragComp(customElement?: HTMLElement, dragStartPixels?: number, suppressVisibilityChange?: boolean): RowDragComp | undefined;
|
|
161
162
|
setSuppressRefreshCell(suppressRefreshCell: boolean): void;
|
|
162
163
|
getEditCompDetails(): UserCompDetails | undefined;
|
|
164
|
+
onCellEditorAttached(callback: () => void): void;
|
|
165
|
+
cellEditorAttached(): void;
|
|
163
166
|
}
|
|
@@ -12,7 +12,7 @@ export declare class CellRangeFeature {
|
|
|
12
12
|
private selectionHandle;
|
|
13
13
|
constructor(beans: BeanCollection, ctrl: CellCtrl);
|
|
14
14
|
setComp(cellComp: ICellComp, eGui: HTMLElement): void;
|
|
15
|
-
|
|
15
|
+
onCellSelectionChanged(): void;
|
|
16
16
|
private updateRangeBorders;
|
|
17
17
|
private isSingleCell;
|
|
18
18
|
private getHasChartRange;
|
|
@@ -9,6 +9,7 @@ export declare class ColumnAnimationService extends BeanStub implements NamedBea
|
|
|
9
9
|
private executeNextFuncs;
|
|
10
10
|
private executeLaterFuncs;
|
|
11
11
|
private active;
|
|
12
|
+
private activeNext;
|
|
12
13
|
private suppressAnimation;
|
|
13
14
|
private animationThreadCount;
|
|
14
15
|
postConstruct(): void;
|
|
@@ -44,6 +44,7 @@ export declare class StickyRowFeature extends BeanStub {
|
|
|
44
44
|
private getStickyAncestors;
|
|
45
45
|
checkStickyRows(): boolean;
|
|
46
46
|
destroyStickyCtrls(): void;
|
|
47
|
+
private resetStickyContainers;
|
|
47
48
|
refreshStickyNode(stickRowNode: RowNode): void;
|
|
48
49
|
/**
|
|
49
50
|
* Destroy old ctrls and create new ctrls where necessary.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OverlayComponent } from './overlayComponent';
|
|
2
1
|
import type { IOverlay, IOverlayComp, IOverlayParams } from './overlayComponent';
|
|
2
|
+
import { OverlayComponent } from './overlayComponent';
|
|
3
3
|
export interface ILoadingOverlayParams<TData = any, TContext = any> extends IOverlayParams<TData, TContext> {
|
|
4
4
|
}
|
|
5
5
|
export interface ILoadingOverlay<TData = any, TContext = any> extends IOverlay<TData, TContext, ILoadingOverlayParams> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OverlayComponent } from './overlayComponent';
|
|
2
1
|
import type { IOverlay, IOverlayComp, IOverlayParams } from './overlayComponent';
|
|
2
|
+
import { OverlayComponent } from './overlayComponent';
|
|
3
3
|
export interface INoRowsOverlayParams<TData = any, TContext = any> extends IOverlayParams<TData, TContext> {
|
|
4
4
|
}
|
|
5
5
|
export interface INoRowsOverlay<TData = any, TContext = any> extends IOverlay<TData, TContext, INoRowsOverlayParams> {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const OverlayApiModule: Module;
|
|
1
|
+
export declare const OverlayApiModule: import("../../interfaces/iModule").Module;
|
|
@@ -6,13 +6,23 @@ export declare class OverlayService extends BeanStub implements NamedBean {
|
|
|
6
6
|
beanName: "overlayService";
|
|
7
7
|
private userComponentFactory;
|
|
8
8
|
private rowModel;
|
|
9
|
+
private ctrlsService;
|
|
10
|
+
private isClientSide;
|
|
9
11
|
private columnModel;
|
|
10
12
|
private state;
|
|
11
13
|
private showInitialOverlay;
|
|
14
|
+
private exclusive?;
|
|
15
|
+
private wrapperPadding;
|
|
12
16
|
wireBeans(beans: BeanCollection): void;
|
|
13
17
|
private overlayWrapperComp;
|
|
14
18
|
postConstruct(): void;
|
|
15
|
-
|
|
19
|
+
setOverlayWrapperComp(overlayWrapperComp: OverlayWrapperComponent | undefined): void;
|
|
20
|
+
/** Returns true if the overlay is visible. */
|
|
21
|
+
isVisible(): boolean;
|
|
22
|
+
/** Returns true if the overlay is visible and is exclusive (popup over the grid) */
|
|
23
|
+
isExclusive(): boolean;
|
|
24
|
+
/** Gets the overlay wrapper component */
|
|
25
|
+
getOverlayWrapper(): OverlayWrapperComponent | undefined;
|
|
16
26
|
showLoadingOverlay(): void;
|
|
17
27
|
showNoRowsOverlay(): void;
|
|
18
28
|
hideOverlay(): void;
|
|
@@ -21,4 +31,7 @@ export declare class OverlayService extends BeanStub implements NamedBean {
|
|
|
21
31
|
private doShowNoRowsOverlay;
|
|
22
32
|
private doHideOverlay;
|
|
23
33
|
private showOverlay;
|
|
34
|
+
private updateExclusive;
|
|
35
|
+
private onGridSizeChanged;
|
|
36
|
+
private refreshWrapperPadding;
|
|
24
37
|
}
|
|
@@ -7,17 +7,22 @@ import { Component } from '../../widgets/component';
|
|
|
7
7
|
import type { IOverlayComp } from './overlayComponent';
|
|
8
8
|
export declare class OverlayWrapperComponent extends Component implements LayoutView {
|
|
9
9
|
private overlayService;
|
|
10
|
+
private focusService;
|
|
10
11
|
wireBeans(beans: BeanCollection): void;
|
|
11
12
|
private readonly eOverlayWrapper;
|
|
12
13
|
private activePromise;
|
|
13
14
|
private activeOverlay;
|
|
14
15
|
private updateListenerDestroyFunc;
|
|
15
16
|
private activeOverlayWrapperCssClass;
|
|
17
|
+
private elToFocusAfter;
|
|
18
|
+
private visibleColsService;
|
|
16
19
|
constructor();
|
|
20
|
+
private handleKeyDown;
|
|
17
21
|
updateLayoutClasses(cssClass: string, params: UpdateLayoutClassesParams): void;
|
|
18
22
|
postConstruct(): void;
|
|
19
23
|
private setWrapperTypeClass;
|
|
20
|
-
showOverlay(overlayComponentPromise: AgPromise<IOverlayComp> | null, overlayWrapperCssClass: string, gridOption?: keyof GridOptions): void;
|
|
24
|
+
showOverlay(overlayComponentPromise: AgPromise<IOverlayComp> | null, overlayWrapperCssClass: string, exclusive: boolean, gridOption?: keyof GridOptions): void;
|
|
25
|
+
updateOverlayWrapperPaddingTop(padding: number): void;
|
|
21
26
|
private destroyActiveOverlay;
|
|
22
27
|
hideOverlay(): void;
|
|
23
28
|
destroy(): void;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const RenderApiModule: Module;
|
|
1
|
+
export declare const RenderApiModule: import("../interfaces/iModule").Module;
|