Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ag-grid-community

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-grid-community - npm Package Compare versions

Comparing version 31.0.1 to 31.0.2

dist/lib/misc/frameworkEventListenerService.d.ts

4

dist/lib/columns/columnModel.d.ts

@@ -111,2 +111,3 @@ import { ColumnGroup } from '../entities/columnGroup';

private displayedColumns;
private ariaOrderColumns;
private displayedColumnsAndGroupsMap;

@@ -301,3 +302,3 @@ private viewportColumns;

lookupGridColumn(key: string): Column<any>;
private getSecondaryColumn;
getSecondaryColumn(key: ColKey): Column | null;
private getColumn;

@@ -350,2 +351,3 @@ getSourceColumnsForGroupColumn(groupCol: Column): Column[] | null;

wasAutoRowHeightEverActive(): boolean;
private joinColumnsAriaOrder;
private joinDisplayedColumns;

@@ -352,0 +354,0 @@ private setLeftValues;

@@ -13,6 +13,6 @@ import { GridOptions } from '../entities/gridOptions';

static STRING_PROPERTIES: ("columnApi" | "api" | "sideBar" | "tooltipTrigger" | "clipboardDelimiter" | "colResizeDefault" | "editType" | "quickFilterText" | "chartThemeOverrides" | "overlayLoadingTemplate" | "overlayNoRowsTemplate" | "pivotPanelShow" | "pivotColumnGroupTotals" | "pivotRowTotals" | "domLayout" | "groupDisplayType" | "rowGroupPanelShow" | "rowModelType" | "serverSidePivotResultFieldSeparator" | "rowSelection" | "fillHandleDirection" | "multiSortKey" | "rowClass" | "gridId" | "treeDataDisplayType")[];
static OBJECT_PROPERTIES: ("columnApi" | "onFilterChanged" | "onSortChanged" | "tabToNextCell" | "api" | "context" | "statusBar" | "sideBar" | "popupParent" | "columnDefs" | "defaultColDef" | "defaultColGroupDef" | "columnTypes" | "dataTypeDefinitions" | "autoSizeStrategy" | "components" | "defaultCsvExportParams" | "defaultExcelExportParams" | "excelStyles" | "quickFilterParser" | "quickFilterMatcher" | "advancedFilterModel" | "advancedFilterParent" | "advancedFilterBuilderParams" | "chartThemes" | "customChartThemes" | "chartThemeOverrides" | "chartToolPanelsDef" | "loadingCellRenderer" | "loadingCellRendererParams" | "loadingCellRendererSelector" | "localeText" | "detailCellRenderer" | "detailCellRendererParams" | "alignedGrids" | "loadingOverlayComponent" | "loadingOverlayComponentParams" | "noRowsOverlayComponent" | "noRowsOverlayComponentParams" | "aggFuncs" | "rowDragText" | "fullWidthCellRenderer" | "fullWidthCellRendererParams" | "autoGroupColumnDef" | "groupRowRenderer" | "groupRowRendererParams" | "pinnedTopRowData" | "pinnedBottomRowData" | "rowData" | "datasource" | "serverSideDatasource" | "viewportDatasource" | "sortingOrder" | "icons" | "rowStyle" | "rowClassRules" | "initialState" | "getContextMenuItems" | "getMainMenuItems" | "postProcessPopup" | "processUnpinnedColumns" | "processCellForClipboard" | "processHeaderForClipboard" | "processGroupHeaderForClipboard" | "processCellFromClipboard" | "sendToClipboard" | "processDataFromClipboard" | "isExternalFilterPresent" | "doesExternalFilterPass" | "getChartToolbarItems" | "createChartContainer" | "navigateToNextHeader" | "tabToNextHeader" | "navigateToNextCell" | "getLocaleText" | "getDocument" | "paginationNumberFormatter" | "getGroupRowAgg" | "isGroupOpenByDefault" | "initialGroupOrderComparator" | "processPivotResultColDef" | "processPivotResultColGroupDef" | "getDataPath" | "getChildCount" | "getServerSideGroupLevelParams" | "isServerSideGroupOpenByDefault" | "isApplyServerSideTransaction" | "isServerSideGroup" | "getServerSideGroupKey" | "getBusinessKeyForNode" | "getRowId" | "processRowPostCreate" | "isRowSelectable" | "isRowMaster" | "fillOperation" | "postSortRows" | "getRowStyle" | "getRowClass" | "getRowHeight" | "isFullWidthRow" | "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onCutStart" | "onCutEnd" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onComponentStateChanged" | "onCellValueChanged" | "onCellEditRequest" | "onRowValueChanged" | "onCellEditingStarted" | "onCellEditingStopped" | "onRowEditingStarted" | "onRowEditingStopped" | "onUndoStarted" | "onUndoEnded" | "onRedoStarted" | "onRedoEnded" | "onRangeDeleteStart" | "onRangeDeleteEnd" | "onFilterOpened" | "onFilterModified" | "onAdvancedFilterBuilderVisibleChanged" | "onChartCreated" | "onChartRangeSelectionChanged" | "onChartOptionsChanged" | "onChartDestroyed" | "onCellKeyDown" | "onGridReady" | "onGridPreDestroyed" | "onFirstDataRendered" | "onGridSizeChanged" | "onModelUpdated" | "onVirtualRowRemoved" | "onViewportChanged" | "onBodyScroll" | "onBodyScrollEnd" | "onDragStarted" | "onDragStopped" | "onStateUpdated" | "onPaginationChanged" | "onRowDragEnter" | "onRowDragMove" | "onRowDragLeave" | "onRowDragEnd" | "onColumnRowGroupChanged" | "onRowGroupOpened" | "onExpandOrCollapseAll" | "onPinnedRowDataChanged" | "onRowDataUpdated" | "onAsyncTransactionsFlushed" | "onStoreRefreshed" | "onCellClicked" | "onCellDoubleClicked" | "onCellFocused" | "onCellMouseOver" | "onCellMouseOut" | "onCellMouseDown" | "onRowClicked" | "onRowDoubleClicked" | "onRowSelected" | "onSelectionChanged" | "onCellContextMenu" | "onRangeSelectionChanged" | "onTooltipShow" | "onTooltipHide" | "onColumnRowGroupChangeRequest" | "onColumnPivotChangeRequest" | "onColumnValueChangeRequest" | "onColumnAggFuncChangeRequest")[];
static OBJECT_PROPERTIES: ("columnApi" | "onFilterChanged" | "onSortChanged" | "tabToNextCell" | "api" | "context" | "statusBar" | "sideBar" | "popupParent" | "columnDefs" | "defaultColDef" | "defaultColGroupDef" | "columnTypes" | "dataTypeDefinitions" | "autoSizeStrategy" | "components" | "defaultCsvExportParams" | "defaultExcelExportParams" | "excelStyles" | "quickFilterParser" | "quickFilterMatcher" | "advancedFilterModel" | "advancedFilterParent" | "advancedFilterBuilderParams" | "chartThemes" | "customChartThemes" | "chartThemeOverrides" | "chartToolPanelsDef" | "loadingCellRenderer" | "loadingCellRendererParams" | "loadingCellRendererSelector" | "localeText" | "detailCellRenderer" | "detailCellRendererParams" | "alignedGrids" | "loadingOverlayComponent" | "loadingOverlayComponentParams" | "noRowsOverlayComponent" | "noRowsOverlayComponentParams" | "aggFuncs" | "rowDragText" | "fullWidthCellRenderer" | "fullWidthCellRendererParams" | "autoGroupColumnDef" | "groupRowRenderer" | "groupRowRendererParams" | "pinnedTopRowData" | "pinnedBottomRowData" | "rowData" | "datasource" | "serverSideDatasource" | "viewportDatasource" | "sortingOrder" | "icons" | "rowStyle" | "rowClassRules" | "initialState" | "getContextMenuItems" | "getMainMenuItems" | "postProcessPopup" | "processUnpinnedColumns" | "processCellForClipboard" | "processHeaderForClipboard" | "processGroupHeaderForClipboard" | "processCellFromClipboard" | "sendToClipboard" | "processDataFromClipboard" | "isExternalFilterPresent" | "doesExternalFilterPass" | "getChartToolbarItems" | "createChartContainer" | "navigateToNextHeader" | "tabToNextHeader" | "navigateToNextCell" | "getLocaleText" | "getDocument" | "paginationNumberFormatter" | "getGroupRowAgg" | "isGroupOpenByDefault" | "initialGroupOrderComparator" | "processPivotResultColDef" | "processPivotResultColGroupDef" | "getDataPath" | "getChildCount" | "getServerSideGroupLevelParams" | "isServerSideGroupOpenByDefault" | "isApplyServerSideTransaction" | "isServerSideGroup" | "getServerSideGroupKey" | "getBusinessKeyForNode" | "getRowId" | "processRowPostCreate" | "isRowSelectable" | "isRowMaster" | "fillOperation" | "postSortRows" | "getRowStyle" | "getRowClass" | "getRowHeight" | "isFullWidthRow" | "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onCutStart" | "onCutEnd" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onColumnHeaderMouseOver" | "onColumnHeaderMouseLeave" | "onColumnHeaderClicked" | "onColumnHeaderContextMenu" | "onComponentStateChanged" | "onCellValueChanged" | "onCellEditRequest" | "onRowValueChanged" | "onCellEditingStarted" | "onCellEditingStopped" | "onRowEditingStarted" | "onRowEditingStopped" | "onUndoStarted" | "onUndoEnded" | "onRedoStarted" | "onRedoEnded" | "onRangeDeleteStart" | "onRangeDeleteEnd" | "onFilterOpened" | "onFilterModified" | "onAdvancedFilterBuilderVisibleChanged" | "onChartCreated" | "onChartRangeSelectionChanged" | "onChartOptionsChanged" | "onChartDestroyed" | "onCellKeyDown" | "onGridReady" | "onGridPreDestroyed" | "onFirstDataRendered" | "onGridSizeChanged" | "onModelUpdated" | "onVirtualRowRemoved" | "onViewportChanged" | "onBodyScroll" | "onBodyScrollEnd" | "onDragStarted" | "onDragStopped" | "onStateUpdated" | "onPaginationChanged" | "onRowDragEnter" | "onRowDragMove" | "onRowDragLeave" | "onRowDragEnd" | "onColumnRowGroupChanged" | "onRowGroupOpened" | "onExpandOrCollapseAll" | "onPinnedRowDataChanged" | "onRowDataUpdated" | "onAsyncTransactionsFlushed" | "onStoreRefreshed" | "onCellClicked" | "onCellDoubleClicked" | "onCellFocused" | "onCellMouseOver" | "onCellMouseOut" | "onCellMouseDown" | "onRowClicked" | "onRowDoubleClicked" | "onRowSelected" | "onSelectionChanged" | "onCellContextMenu" | "onRangeSelectionChanged" | "onTooltipShow" | "onTooltipHide" | "onColumnRowGroupChangeRequest" | "onColumnPivotChangeRequest" | "onColumnValueChangeRequest" | "onColumnAggFuncChangeRequest")[];
static ARRAY_PROPERTIES: ("columnApi" | "api" | "sideBar" | "columnDefs" | "components" | "excelStyles" | "chartThemes" | "chartThemeOverrides" | "alignedGrids" | "paginationPageSizeSelector" | "pinnedTopRowData" | "pinnedBottomRowData" | "rowData" | "sortingOrder" | "rowClass")[];
static NUMBER_PROPERTIES: ("tabIndex" | "columnApi" | "api" | "tooltipShowDelay" | "tooltipHideDelay" | "headerHeight" | "groupHeaderHeight" | "floatingFiltersHeight" | "pivotHeaderHeight" | "pivotGroupHeaderHeight" | "autoSizePadding" | "undoRedoCellEditingLimit" | "chartThemeOverrides" | "keepDetailRowsCount" | "detailRowHeight" | "rowBuffer" | "paginationPageSize" | "pivotDefaultExpanded" | "cellFlashDelay" | "cellFadeDelay" | "groupDefaultExpanded" | "groupLockGroupColumns" | "asyncTransactionWaitMillis" | "cacheOverflowSize" | "infiniteInitialRowCount" | "serverSideInitialRowCount" | "cacheBlockSize" | "maxBlocksInCache" | "maxConcurrentDatasourceRequests" | "blockLoadDebounceMillis" | "viewportRowModelPageSize" | "viewportRowModelBufferSize" | "scrollbarWidth" | "rowHeight")[];
static BOOLEAN_PROPERTIES: ("columnApi" | "api" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "suppressMenuHide" | "enableBrowserTooltips" | "tooltipMouseTrack" | "tooltipInteraction" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "maintainColumnOrder" | "suppressFieldDotNotation" | "allowDragFromColumnsToolPanel" | "suppressMovableColumns" | "suppressColumnMoveAnimation" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "suppressAutoSize" | "skipHeaderOnAutoSize" | "singleClickEdit" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterMovesDown" | "enterMovesDownAfterEdit" | "enterNavigatesVertically" | "enterNavigatesVerticallyAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "suppressCsvExport" | "suppressExcelExport" | "cacheQuickFilter" | "excludeHiddenColumnsFromQuickFilter" | "includeHiddenColumnsInQuickFilter" | "excludeChildrenWhenTreeDataFiltering" | "enableAdvancedFilter" | "includeHiddenColumnsInAdvancedFilter" | "enableCharts" | "chartThemeOverrides" | "enableChartToolPanelsButton" | "suppressChartToolPanelsButton" | "masterDetail" | "keepDetailRows" | "detailRowAutoHeight" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressParentsInRowNodes" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "suppressLoadingOverlay" | "suppressNoRowsOverlay" | "pagination" | "paginationPageSizeSelector" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "suppressAggFuncInHeader" | "alwaysAggregateAtRootLevel" | "suppressAggAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "enableCellChangeFlash" | "allowShowChangeAfterFilter" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "embedFullWidthRows" | "suppressGroupMaintainValueType" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "suppressGroupRowsSticky" | "suppressModelUpdateAfterUpdateTransaction" | "suppressServerSideInfiniteScroll" | "purgeClosedRowNodes" | "serverSideSortAllLevels" | "serverSideOnlyRefreshFilteredGroups" | "serverSideFilterAllLevels" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "suppressClearOnFillReduction" | "accentedSort" | "unSortIcon" | "suppressMultiSort" | "alwaysMultiSort" | "suppressMaintainUnsortedOrder" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "functionsPassive" | "enableGroupEdit" | "resetRowDataOnUpdate")[];
static BOOLEAN_PROPERTIES: ("columnApi" | "api" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "suppressMenuHide" | "enableBrowserTooltips" | "tooltipMouseTrack" | "tooltipInteraction" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "maintainColumnOrder" | "suppressFieldDotNotation" | "allowDragFromColumnsToolPanel" | "suppressMovableColumns" | "suppressColumnMoveAnimation" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "suppressAutoSize" | "skipHeaderOnAutoSize" | "singleClickEdit" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterMovesDown" | "enterMovesDownAfterEdit" | "enterNavigatesVertically" | "enterNavigatesVerticallyAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "suppressCsvExport" | "suppressExcelExport" | "cacheQuickFilter" | "excludeHiddenColumnsFromQuickFilter" | "includeHiddenColumnsInQuickFilter" | "excludeChildrenWhenTreeDataFiltering" | "enableAdvancedFilter" | "includeHiddenColumnsInAdvancedFilter" | "enableCharts" | "chartThemeOverrides" | "enableChartToolPanelsButton" | "suppressChartToolPanelsButton" | "masterDetail" | "keepDetailRows" | "detailRowAutoHeight" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressParentsInRowNodes" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "suppressLoadingOverlay" | "suppressNoRowsOverlay" | "pagination" | "paginationPageSizeSelector" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "suppressAggFuncInHeader" | "alwaysAggregateAtRootLevel" | "suppressAggAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "enableCellChangeFlash" | "allowShowChangeAfterFilter" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "embedFullWidthRows" | "suppressGroupMaintainValueType" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "suppressGroupRowsSticky" | "suppressModelUpdateAfterUpdateTransaction" | "suppressServerSideInfiniteScroll" | "purgeClosedRowNodes" | "serverSideSortAllLevels" | "serverSideOnlyRefreshFilteredGroups" | "serverSideFilterAllLevels" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "suppressClearOnFillReduction" | "accentedSort" | "unSortIcon" | "suppressMultiSort" | "alwaysMultiSort" | "suppressMaintainUnsortedOrder" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "functionsPassive" | "enableGroupEdit" | "reactiveCustomComponents" | "resetRowDataOnUpdate")[];
static FUNCTION_PROPERTIES: (keyof GridOptions<any>)[];

@@ -19,0 +19,0 @@ static ALL_PROPERTIES: (keyof GridOptions<any>)[];

import { IEventEmitter } from "../interfaces/iEventEmitter";
import { EventService } from "../eventService";
import { AgEvent } from "../events";
import { AgEvent, AgEventListener } from "../events";
import { Context } from "./context";

@@ -27,5 +27,4 @@ import { IFrameworkOverrides } from "../interfaces/iFrameworkOverrides";

protected destroy(): void;
addEventListener(eventType: string, listener: Function): void;
removeEventListener(eventType: string, listener: Function): void;
dispatchEventAsync(event: AgEvent): void;
addEventListener(eventType: string, listener: AgEventListener): void;
removeEventListener(eventType: string, listener: AgEventListener): void;
dispatchEvent<T extends AgEvent>(event: T): void;

@@ -39,3 +38,3 @@ addManagedListener(object: Window | HTMLElement | IEventEmitter, event: string, listener: (event?: any) => void): (() => null) | undefined;

*/
addManagedPropertyListener<K extends keyof GridOptions>(event: K, listener: PropertyValueChangedListener<K>): void;
addManagedPropertyListener<K extends keyof GridOptions>(event: K, listener: PropertyValueChangedListener<K>): (() => null);
private propertyListenerId;

@@ -42,0 +41,0 @@ /**

@@ -62,7 +62,2 @@ import { BeanStub } from "../context/beanStub";

/**
* The drop target associated with this dragSource. When dragging starts, this
* target does not get an onDragEnter event.
*/
dragSourceDropTarget?: DropTarget;
/**
* The drag source DOM Data Key, this is useful to detect if the origin grid is the same

@@ -69,0 +64,0 @@ * as the target grid.

@@ -113,3 +113,3 @@ import { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent } from "../events";

declare type StringOrNumKeys<TObj> = keyof TObj & (string | number);
declare type NestedPath<TValue, Prefix extends string, TValueNestedChild, TDepth extends any[]> = TValue extends object ? `${Prefix}.${TDepth['length'] extends 7 ? any : NestedFieldPaths<TValue, TValueNestedChild, TDepth>}` : never;
declare type NestedPath<TValue, Prefix extends string, TValueNestedChild, TDepth extends any[]> = TValue extends object ? `${Prefix}.${TDepth['length'] extends 5 ? any : NestedFieldPaths<TValue, TValueNestedChild, TDepth>}` : never;
/**

@@ -116,0 +116,0 @@ * Returns a union of all possible paths to nested fields in `TData`.

@@ -31,2 +31,4 @@ import { ColumnEventType } from "../events";

private readonly columnHoverService;
private readonly frameworkOverrides;
private frameworkEventListenerService;
private readonly colId;

@@ -63,6 +65,6 @@ private colDef;

private originalParent;
constructor(colDef: ColDef<TValue>, userProvidedColDef: ColDef<TValue> | null, colId: string, primary: boolean);
constructor(colDef: ColDef<any, TValue>, userProvidedColDef: ColDef<any, TValue> | null, colId: string, primary: boolean);
getInstanceId(): number;
private setState;
setColDef(colDef: ColDef<TValue>, userProvidedColDef: ColDef<TValue> | null, source?: ColumnEventType): void;
setColDef(colDef: ColDef<any, TValue>, userProvidedColDef: ColDef<any, TValue> | null, source?: ColumnEventType): void;
/**

@@ -73,3 +75,3 @@ * Returns the column definition provided by the application.

*/
getUserProvidedColDef(): ColDef<TValue> | null;
getUserProvidedColDef(): ColDef<any, TValue> | null;
setParent(parent: ColumnGroup): void;

@@ -100,5 +102,5 @@ /** Returns the parent column group, if column grouping is active. */

/** Add an event listener to the column. */
addEventListener(eventType: ColumnEventName, listener: Function): void;
addEventListener(eventType: ColumnEventName, userListener: Function): void;
/** Remove event listener from the column. */
removeEventListener(eventType: ColumnEventName, listener: Function): void;
removeEventListener(eventType: ColumnEventName, userListener: Function): void;
createColumnFunctionCallbackParams(rowNode: IRowNode): ColumnFunctionCallbackParams;

@@ -165,3 +167,3 @@ isSuppressNavigable(rowNode: IRowNode): boolean;

* Equivalent: `getDefinition` */
getColDef(): ColDef<TValue>;
getColDef(): ColDef<any, TValue>;
getColumnGroupShow(): ColumnGroupShowType | undefined;

@@ -183,3 +185,3 @@ /**

getUniqueId(): string;
getDefinition(): AbstractColDef<TValue>;
getDefinition(): AbstractColDef<any, TValue>;
/** Returns the current width of the column. If the column is resized, the actual width is the new size. */

@@ -186,0 +188,0 @@ getActualWidth(): number;

@@ -6,2 +6,3 @@ import { IProvidedColumn } from "../interfaces/iProvidedColumn";

import { IEventEmitter } from "../interfaces/iEventEmitter";
import { AgEventListener } from "../events";
export declare class ProvidedColumnGroup implements IProvidedColumn, IEventEmitter {

@@ -45,4 +46,4 @@ static EVENT_EXPANDED_CHANGED: string;

private onColumnVisibilityChanged;
addEventListener(eventType: string, listener: Function): void;
removeEventListener(eventType: string, listener: Function): void;
addEventListener(eventType: string, listener: AgEventListener): void;
removeEventListener(eventType: string, listener: AgEventListener): void;
}

@@ -168,2 +168,3 @@ import { SelectionEventSourceType } from "../events";

private eventService;
private frameworkEventListenerService;
private beans;

@@ -279,5 +280,5 @@ private checkAutoHeightsDebounced;

/** Add an event listener. */
addEventListener(eventType: RowNodeEventType, listener: Function): void;
addEventListener(eventType: RowNodeEventType, userListener: Function): void;
/** Remove event listener. */
removeEventListener(eventType: RowNodeEventType, listener: Function): void;
removeEventListener(eventType: RowNodeEventType, userListener: Function): void;
onMouseEnter(): void;

@@ -284,0 +285,0 @@ onMouseLeave(): void;

@@ -39,2 +39,10 @@ export declare class Events {

static EVENT_VIRTUAL_COLUMNS_CHANGED: 'virtualColumnsChanged';
/** Column header mouse over */
static EVENT_COLUMN_HEADER_MOUSE_OVER: 'columnHeaderMouseOver';
/** Column header mouse leave */
static EVENT_COLUMN_HEADER_MOUSE_LEAVE: 'columnHeaderMouseLeave';
/** Column header clicked */
static EVENT_COLUMN_HEADER_CLICKED: 'columnHeaderClicked';
/** Column header context menu event, such as right-click or context menu key press */
static EVENT_COLUMN_HEADER_CONTEXT_MENU: 'columnHeaderContextMenu';
/** Async Transactions Executed */

@@ -41,0 +49,0 @@ static EVENT_ASYNC_TRANSACTIONS_FLUSHED: 'asyncTransactionsFlushed';

@@ -15,2 +15,10 @@ import { Column, ColumnPinnedType } from './entities/column';

export { Events } from './eventKeys';
export interface AgEvent {
/** Event identifier */
type: string;
}
export interface AgGridEvent<TData = any, TContext = any> extends AgGridCommon<TData, TContext>, AgEvent {
}
export declare type AgEventListener<TData = any, TContext = any> = (event: AgGridEvent<TData, TContext>) => void;
export declare type AgGlobalEventListener<TData = any, TContext = any> = (eventType: string, event: AgGridEvent<TData, TContext>) => void;
export interface ModelUpdatedEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {

@@ -45,8 +53,2 @@ /** If true, the grid will try and animate the rows to the new positions */

}
export interface AgEvent {
/** Event identifier */
type: string;
}
export interface AgGridEvent<TData = any, TContext = any> extends AgGridCommon<TData, TContext>, AgEvent {
}
export interface ToolPanelVisibleChangedEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {

@@ -161,2 +163,6 @@ source: 'sideBarButtonClicked' | 'sideBarInitializing' | 'api';

source: string;
/**
* The list of columns impacted by the sort change.
*/
columns?: Column[];
}

@@ -428,2 +434,18 @@ export interface GridReadyEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {

}
export interface ColumnHeaderMouseOverEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {
/** Column or column-group related to the header that triggered the event */
column: Column | ProvidedColumnGroup;
}
export interface ColumnHeaderMouseLeaveEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {
/** Column or column-group related to the header that triggered the event */
column: Column | ProvidedColumnGroup;
}
export interface ColumnHeaderClickedEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {
/** Column or column-group related to the header that triggered the event */
column: Column | ProvidedColumnGroup;
}
export interface ColumnHeaderContextMenuEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {
/** Column or column-group related to the header that triggered the event */
column: Column | ProvidedColumnGroup;
}
/**------------*/

@@ -430,0 +452,0 @@ /** ROW EVENTS */

@@ -1,6 +0,5 @@

import { AgEvent } from "./events";
import { AgEvent, AgEventListener, AgGlobalEventListener } from "./events";
import { GridOptionsService } from "./gridOptionsService";
import { IEventEmitter } from "./interfaces/iEventEmitter";
import { IFrameworkOverrides } from "./interfaces/iFrameworkOverrides";
import { LoggerFactory } from "./logger";
export declare class EventService implements IEventEmitter {

@@ -16,9 +15,10 @@ private allSyncListeners;

private firedEvents;
setBeans(loggerFactory: LoggerFactory, gridOptionsService: GridOptionsService, frameworkOverrides: IFrameworkOverrides, globalEventListener?: Function | null, globalSyncEventListener?: Function | null): void;
setBeans(gridOptionsService: GridOptionsService, frameworkOverrides: IFrameworkOverrides, globalEventListener?: AgGlobalEventListener | null, globalSyncEventListener?: AgGlobalEventListener | null): void;
setFrameworkOverrides(frameworkOverrides: IFrameworkOverrides): void;
private getListeners;
noRegisteredListenersExist(): boolean;
addEventListener(eventType: string, listener: Function, async?: boolean): void;
removeEventListener(eventType: string, listener: Function, async?: boolean): void;
addGlobalListener(listener: Function, async?: boolean): void;
removeGlobalListener(listener: Function, async?: boolean): void;
addEventListener(eventType: string, listener: AgEventListener, async?: boolean): void;
removeEventListener(eventType: string, listener: AgEventListener, async?: boolean): void;
addGlobalListener(listener: AgGlobalEventListener, async?: boolean): void;
removeGlobalListener(listener: AgGlobalEventListener, async?: boolean): void;
dispatchEvent(event: AgEvent): void;

@@ -25,0 +25,0 @@ dispatchEventOnce(event: AgEvent): void;

@@ -28,9 +28,12 @@ import { AgPromise } from '../utils';

private filterModelUpdateQueue;
private columnFilterModelUpdateQueue;
private advancedFilterModelUpdateQueue;
private initialFilterModel;
init(): void;
private isExternalFilterPresentCallback;
private doesExternalFilterPass;
setFilterModel(model: FilterModel, source?: FilterChangedEventSourceType): void;
setFilterModel(model: FilterModel | null, source?: FilterChangedEventSourceType): void;
private setModelOnFilterWrapper;
getFilterModel(): FilterModel;
private getModelFromFilterWrapper;
isColumnFilterPresent(): boolean;

@@ -109,2 +112,3 @@ isAggregateFilterPresent(): boolean;

getFilterInstance<TFilter extends IFilter>(key: string | Column, callback?: (filter: TFilter | null) => void): TFilter | null | undefined;
getColumnFilterInstance<TFilter extends IFilter>(key: string | Column): Promise<TFilter | null | undefined>;
private getFilterInstanceImpl;

@@ -116,2 +120,5 @@ private warnAdvancedFilters;

private processFilterModelUpdateQueue;
getColumnFilterModel(key: string | Column): any;
setColumnFilterModel(key: string | Column, model: any): Promise<void>;
private getFilterWrapper;
protected destroy(): void;

@@ -118,0 +125,0 @@ }

@@ -55,4 +55,12 @@ import { Column } from '../../entities/column';

}
export interface IFloatingFilter<P = any> {
export interface BaseFloatingFilter {
/**
* Optional: A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters), this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.
*/
afterGuiAttached?(): void;
}
export interface IFloatingFilter<P = any> extends BaseFloatingFilter {
/**
* Gets called every time the parent filter changes.

@@ -64,10 +72,5 @@ * Your floating filter would typically refresh its UI to reflect the new filter state.

onParentModelChanged(parentModel: any, filterChangedEvent?: FilterChangedEvent | null): void;
/**
* A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters), this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.
*/
afterGuiAttached?(): void;
onParamsUpdated?(params: IFloatingFilterParams<P>): void;
/** A hook to perform any necessary operations when the column definition is updated. */
onParamsUpdated?(params: IFloatingFilterParams<P>): void;
refresh?(params: IFloatingFilterParams<P>): void;
}

@@ -74,0 +77,0 @@ export interface IFloatingFilterComp<P = any> extends IFloatingFilter<P>, IComponent<IFloatingFilterParams<P>> {

@@ -13,2 +13,3 @@ import { IFloatingFilterComp, IFloatingFilterParams, IFloatingFilterParent } from '../floatingFilter';

onParamsUpdated(params: IFloatingFilterParams): void;
refresh(params: IFloatingFilterParams): void;
}

@@ -26,4 +26,5 @@ import { Component } from '../../../widgets/component';

onParamsUpdated(params: IFloatingFilterParams): void;
refresh(params: IFloatingFilterParams): void;
private doesFilterHaveSingleInput;
private isTypeEditable;
}

@@ -65,2 +65,3 @@ import { IFloatingFilterParams } from '../floatingFilter';

onParamsUpdated(params: ITextInputFloatingFilterParams): void;
refresh(params: ITextInputFloatingFilterParams): void;
protected recreateFloatingFilterInputService(params: ITextInputFloatingFilterParams): void;

@@ -67,0 +68,0 @@ private getAriaLabel;

@@ -18,2 +18,3 @@ import { DateFilter } from './dateFilter';

onParamsUpdated(params: IFloatingFilterParams<DateFilter>): void;
refresh(params: IFloatingFilterParams<DateFilter>): void;
private updateCompOnModelChange;

@@ -20,0 +21,0 @@ protected setEditable(editable: boolean): void;

@@ -13,2 +13,3 @@ import { Component } from '../../../widgets/component';

onParamsUpdated(params: IDateParams): void;
refresh(params: IDateParams): void;
getDate(): Date | null;

@@ -15,0 +16,0 @@ setDate(date: Date): void;

@@ -11,2 +11,3 @@ import { NumberFilterModel } from './numberFilter';

onParamsUpdated(params: INumberFloatingFilterParams): void;
refresh(params: INumberFloatingFilterParams): void;
protected getDefaultFilterOptions(): string[];

@@ -13,0 +14,0 @@ protected getFilterModelFormatter(): SimpleFilterModelFormatter;

@@ -10,2 +10,3 @@ import { TextFilterModel } from './textFilter';

onParamsUpdated(params: ITextFloatingFilterParams): void;
refresh(params: ITextFloatingFilterParams): void;
protected getDefaultFilterOptions(): string[];

@@ -12,0 +13,0 @@ protected getFilterModelFormatter(): SimpleFilterModelFormatter;

@@ -9,3 +9,3 @@ import { AbstractFakeScrollComp } from "./abstractFakeScrollComp";

getScrollPosition(): number;
setScrollPosition(value: number): void;
setScrollPosition(value: number, force?: boolean): void;
}
import { BeanStub } from "../context/beanStub";
import { CtrlsService } from "../ctrlsService";
import { IRowNode } from "../interfaces/iRowNode";
import { IRowNode, VerticalScrollPosition } from "../interfaces/iRowNode";
export declare class GridBodyScrollFeature extends BeanStub {

@@ -18,2 +18,4 @@ ctrlsService: CtrlsService;

private scrollTop;
private lastOffsetHeight;
private lastScrollTop;
private scrollTimer;

@@ -45,6 +47,8 @@ private readonly resetLastHScrollDebounced;

setVerticalScrollPosition(vScrollPosition: number): void;
getVScrollPosition(): {
top: number;
bottom: number;
};
getVScrollPosition(): VerticalScrollPosition;
/** Get an approximate scroll position that returns the last real value read.
* This is useful for avoiding repeated DOM reads that force the browser to recalculate styles.
* This can have big performance improvements but may not be 100% accurate so only use if this is acceptable.
*/
getApproximateVScollPosition(): VerticalScrollPosition;
getHScrollPosition(): {

@@ -51,0 +55,0 @@ left: number;

@@ -32,3 +32,6 @@ import { BeanStub } from "../../context/beanStub";

setViewportHeight(height: string): void;
setRowCtrls(rowCtrls: RowCtrl[], useFlushSync: boolean): void;
setRowCtrls(params: {
rowCtrls: RowCtrl[];
useFlushSync?: boolean;
}): void;
setDomOrder(domOrder: boolean): void;

@@ -43,3 +46,2 @@ setContainerWidth(width: string): void;

static getPinned(name: RowContainerName): ColumnPinnedType;
private scrollVisibleService;
private dragService;

@@ -49,3 +51,2 @@ private ctrlsService;

private resizeObserverService;
private animationFrameService;
private rowRenderer;

@@ -79,3 +80,3 @@ private readonly name;

registerViewportResizeListener(listener: (() => void)): void;
isViewportVisible(): boolean;
isViewportInTheDOMTree(): boolean;
getViewportScrollLeft(): number;

@@ -82,0 +83,0 @@ isHorizontalScrollShowing(): boolean;

@@ -36,5 +36,2 @@ import { DraggingEvent, DragSourceType, DropTarget } from "../dragAndDrop/dragAndDropService";

private isMultiRowDrag;
private isGridSorted;
private isGridFiltered;
private isRowGroupActive;
private lastDraggingEvent;

@@ -44,5 +41,2 @@ private autoScrollService;

private postConstruct;
private onSortChanged;
private onFilterChanged;
private onRowGroupChanged;
getContainer(): HTMLElement;

@@ -49,0 +43,0 @@ isInterestedIn(type: DragSourceType): boolean;

@@ -1,6 +0,4 @@

import { ColumnApi } from "./columns/columnApi";
import { DomLayoutType, GridOptions } from "./entities/gridOptions";
import { GetGroupAggFilteringParams, GetGroupIncludeFooterParams } from "./interfaces/iCallbackParams";
import { AgEvent } from "./events";
import { GridApi } from "./gridApi";
import { AgGridCommon, WithoutGridCommon } from "./interfaces/iCommon";

@@ -11,2 +9,3 @@ import { RowModelType } from "./interfaces/iRowModel";

import { GRID_OPTION_DEFAULTS } from "./validation/rules/gridOptionsValidations";
import { IFrameworkOverrides } from "./interfaces/iFrameworkOverrides";
declare type GetKeys<T, U> = {

@@ -55,2 +54,3 @@ [K in keyof T]: T[K] extends U | undefined ? K : never;

private readonly environment;
frameworkOverrides: IFrameworkOverrides;
private eGridDiv;

@@ -62,6 +62,6 @@ private validationService;

private static readonly alwaysSyncGlobalEvents;
readonly api: GridApi;
private readonly api;
/** @deprecated v31 ColumnApi has been deprecated and all methods moved to the api. */
columnApi: ColumnApi;
get context(): any;
private columnApi;
private get context();
private propertyEventService;

@@ -137,3 +137,5 @@ init(): void;

isGroupUseEntireRow(pivotMode: boolean): boolean;
getGridCommonParams<TData = any, TContext = any>(): AgGridCommon<TData, TContext>;
addGridCommonParams<T extends AgGridCommon<TData, TContext>, TData = any, TContext = any>(params: WithoutGridCommon<T>): T;
}
export {};

@@ -85,2 +85,4 @@ import { UserCompDetails } from "../../../components/framework/userComponentFactory";

private addActiveHeaderMouseListeners;
private handleMouseOverChange;
private handleColumnClick;
private setActiveHeader;

@@ -87,0 +89,0 @@ protected destroy(): void;

@@ -64,2 +64,3 @@ import { Column } from "../../../entities/column";

private readonly columnModel;
private readonly api;
private eFilter;

@@ -66,0 +67,0 @@ private eSortIndicator;

@@ -5,3 +5,2 @@ import { AbstractHeaderCellComp } from "../abstractCell/abstractHeaderCellComp";

private static TEMPLATE;
private userComponentFactory;
private eResize;

@@ -8,0 +7,0 @@ private headerGroupComp;

@@ -29,2 +29,5 @@ import { UserCompDetails } from "../../../components/framework/userComponentFactory";

private setupUserComp;
private addHeaderMouseListeners;
private handleMouseOverChange;
private handleColumnClick;
private setupTooltip;

@@ -31,0 +34,0 @@ private setupExpandable;

@@ -149,4 +149,4 @@ import { Column } from "../entities/column";

export interface ProcessRowGroupForExportParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
/** Row node. */
node: IRowNode<TData>;
column?: Column;
}

@@ -164,2 +164,6 @@ import { HeaderPosition } from "../headerRendering/common/headerPosition";

initialValues: any[];
/** The values that were present before processing, without the aggregation function. */
initialNonAggregatedValues: any[];
/** The values that were present before processing, after being formatted by their value formatter */
initialFormattedValues: any[];
/** The index of the current processed value. */

@@ -166,0 +170,0 @@ currentIndex: number;

@@ -6,8 +6,4 @@ import { ColDef } from "../entities/colDef";

import { IRowNode } from "./iRowNode";
export interface ICellEditor<TValue = any> {
/**
* Return the final value - called by the grid once after editing is complete
*/
getValue(): TValue | null | undefined;
/** Gets called once after initialised. If you return true, the editor will
export interface BaseCellEditor<TData = any, TValue = any, TContext = any> {
/** Optional: Gets called once after initialised. If you return true, the editor will
* appear in a popup, so is not constrained to the boundaries of the cell.

@@ -18,3 +14,3 @@ * This is great if you want to, for example, provide you own custom dropdown list

isPopup?(): boolean;
/** Gets called once, only if isPopup() returns true. Return "over" if the popup
/** Optional: Gets called once, only if isPopup() returns true. Return "over" if the popup
* should cover the cell, or "under" if it should be positioned below leaving the

@@ -24,3 +20,3 @@ * cell value visible. If this method is not present, the default is "over".

getPopupPosition?(): 'over' | 'under' | undefined;
/** Gets called once after initialised. If you return true, the editor will not be
/** Optional: Gets called once after initialised. If you return true, the editor will not be
* used and the grid will continue editing. Use this to make a decision on editing

@@ -31,3 +27,3 @@ * inside the init() function, eg maybe you want to only start editing if the user

isCancelBeforeStart?(): boolean;
/** Gets called once after editing is complete. If your return true, then the new
/** Optional: Gets called once after editing is complete. If your return true, then the new
* value will not be used. The editing will have no impact on the record. Use this

@@ -38,11 +34,21 @@ * if you do not want a new value from your gui, i.e. you want to cancel the editing.

/**
* If doing full line edit, then gets called when focus should be put into the editor
* Optional: If doing full line edit, then gets called when focus should be put into the editor
*/
focusIn?(): void;
/**
* If doing full line edit, then gets called when focus is leaving the editor
* Optional: If doing full line edit, then gets called when focus is leaving the editor
*/
focusOut?(): void;
/**
* A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* Optional: Gets called with the latest cell editor params every time they update
*/
refresh?(params: ICellEditorParams<TData, TValue, TContext>): void;
}
export interface ICellEditor<TValue = any> extends BaseCellEditor<any, TValue> {
/**
* Return the final value - called by the grid once after editing is complete
*/
getValue(): TValue | null | undefined;
/**
* Optional: A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* This method is called each time the edit component is activated.

@@ -88,3 +94,3 @@ * This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.

}
export interface ICellEditorComp<TData = any, TValue = any> extends ICellEditor<TValue>, IPopupComponent<ICellEditorParams<TData, TValue>> {
export interface ICellEditorComp<TData = any, TValue = any, TContext = any> extends ICellEditor<TValue>, IPopupComponent<ICellEditorParams<TData, TValue, TContext>> {
}

@@ -0,4 +1,5 @@

import { AgEventListener } from "../events";
export interface IEventEmitter {
addEventListener(eventType: string, listener: EventListener, async?: boolean, options?: AddEventListenerOptions): void;
removeEventListener(eventType: string, listener: EventListener, async?: boolean, options?: AddEventListenerOptions): void;
addEventListener(eventType: string, listener: AgEventListener, async?: boolean, options?: AddEventListenerOptions): void;
removeEventListener(eventType: string, listener: AgEventListener, async?: boolean, options?: AddEventListenerOptions): void;
}

@@ -34,10 +34,4 @@ import { ColDef, ValueGetterFunc } from '../entities/colDef';

}
export interface IFilter {
export interface BaseFilter {
/**
* Returns `true` if the filter is currently active, otherwise `false`.
* If active then 1) the grid will show the filter icon in the column header
* and 2) the filter will be included in the filtering of the data.
*/
isFilterActive(): boolean;
/**
* The grid will ask each active filter, in turn, whether each row in the grid passes. If any

@@ -50,2 +44,38 @@ * filter fails, then the row will be excluded from the final set. The method is provided a

/**
* Optional: Gets called when new rows are inserted into the grid. If the filter needs to change its
* state after rows are loaded, it can do it here. For example the set filters uses this
* to update the list of available values to select from (e.g. 'Ireland', 'UK' etc for
* Country filter). To get the list of available values from within this method from the
* Client Side Row Model, use `gridApi.forEachLeafNode(callback)`.
*/
onNewRowsLoaded?(): void;
/** Optional: Called whenever any filter is changed. */
onAnyFilterChanged?(): void;
/**
* Optional: Used by AG Grid when rendering floating filters and there isn't a floating filter
* associated for this filter, this will happen if you create a custom filter and NOT a custom floating
* filter.
*/
getModelAsString?(model: any): string;
/**
* Optional: A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters), this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.
*/
afterGuiAttached?(params?: IAfterGuiAttachedParams): void;
/**
* Optional: A hook to perform any necessary operation just after the GUI for this component has been removed from the screen.
* If a parent popup is opened and closed (e.g. for filters), this method is called each time the component is hidden.
* This is useful for any logic to reset the UI state back to the model before the component is reopened.
*/
afterGuiDetached?(): void;
}
export interface IFilter extends BaseFilter {
/**
* Returns `true` if the filter is currently active, otherwise `false`.
* If active then 1) the grid will show the filter icon in the column header
* and 2) the filter will be included in the filtering of the data.
*/
isFilterActive(): boolean;
/**
* Returns a model representing the current state of the filter, or `null` if the filter is

@@ -60,18 +90,3 @@ * not active. The grid calls `getModel()` on all active filters when `gridApi.getFilterModel()` is called.

setModel(model: any): void | AgPromise<void>;
/** Gets called when new rows are inserted into the grid. If the filter needs to change its
state after rows are loaded, it can do it here. For example the set filters uses this
to update the list of available values to select from (e.g. 'Ireland', 'UK' etc for
Country filter). To get the list of available values from within this method from the
Client Side Row Model, use `gridApi.forEachLeafNode(callback)`.
*/
onNewRowsLoaded?(): void;
/** Called whenever any filter is changed. */
onAnyFilterChanged?(): void;
/**
* Optional method used by AG Grid when rendering floating filters and there isn't a floating filter
* associated for this filter, this will happen if you create a custom filter and NOT a custom floating
* filter.
*/
getModelAsString?(model: any): string;
/**
* This method is called when the filter parameters change.

@@ -93,14 +108,2 @@ * The result returned by this method will determine if the filter should be refreshed and reused,

refresh?(newParams: IFilterParams): boolean;
/**
* A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters), this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.
*/
afterGuiAttached?(params?: IAfterGuiAttachedParams): void;
/**
* A hook to perform any necessary operation just after the GUI for this component has been removed from the screen.
* If a parent popup is opened and closed (e.g. for filters), this method is called each time the component is hidden.
* This is useful for any logic to reset the UI state back to the model before the component is reopened.
*/
afterGuiDetached?(): void;
}

@@ -128,6 +131,3 @@ export interface ProvidedFilterModel {

}
/**
* Parameters provided by the grid to the `init` method of an `IFilterComp`
*/
export interface IFilterParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
export interface BaseFilterParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
/** The column this filter is for. */

@@ -147,2 +147,19 @@ column: Column;

/**
* Get the cell value for the given row node and column, which can be the column ID, definition, or `Column` object.
* If no column is provided, the column this filter is on will be used.
*/
getValue: <TValue = any>(node: IRowNode<TData>, column?: string | ColDef<TData, TValue> | Column<TValue>) => TValue | null | undefined;
/**
* A function callback, call with a node to be told whether the node passes all filters except the current filter.
* This is useful if you want to only present to the user values that this filter can filter given the status of the other filters.
* The set filter uses this to remove from the list,
* items that are no longer available due to the state of other filters (like Excel type filtering).
*/
doesRowPassOtherFilter: (rowNode: IRowNode<TData>) => boolean;
}
/**
* Parameters provided by the grid to the `init` method of an `IFilterComp`
*/
export interface IFilterParams<TData = any, TContext = any> extends BaseFilterParams<TData, TContext> {
/**
* A function callback to be called when the filter changes. The

@@ -166,14 +183,2 @@ * grid will then respond by filtering the grid data. The callback

valueGetter: ValueGetterFunc<TData>;
/**
* Get the cell value for the given row node and column, which can be the column ID, definition, or `Column` object.
* If no column is provided, the column this filter is on will be used.
*/
getValue: <TValue = any>(node: IRowNode<TData>, column?: string | ColDef<TData, TValue> | Column<TValue>) => TValue | null | undefined;
/**
* A function callback, call with a node to be told whether the node passes all filters except the current filter.
* This is useful if you want to only present to the user values that this filter can filter given the status of the other filters.
* The set filter uses this to remove from the list,
* items that are no longer available due to the state of other filters (like Excel type filtering).
*/
doesRowPassOtherFilter: (rowNode: IRowNode<TData>) => boolean;
}

@@ -180,0 +185,0 @@ export interface FilterModel {

import { AgPromise } from "../utils";
export interface IFrameworkOverrides {
/** Because Angular uses Zones, you should not use setTimeout or setInterval (as it'll keep angular constantly doing dirty checks etc
* So to get around this, we allow the framework to specify how to execute setTimeout. The default is to just call the browser setTimeout().
*/
setTimeout(action: any, timeout?: any): void;
setInterval(action: any, interval?: any): AgPromise<number>;
/** Again because Angular uses Zones, we allow adding some events outside of Zone JS so that we do not kick off
* the Angular change detection. We do this for some events ONLY, and not all events, just events that get fired
* a lot (eg mouse move), but we need to make sure in AG Grid that we do NOT call any grid callbacks while processing
* these events, as we will be outside of ZoneJS and hence Angular2 Change Detection won't work. However it's fine
* for our code to result in AG Grid events (and Angular application action on these) as these go through
* Event Emitter's.
addEventListener(element: HTMLElement, type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
/**
* This method is to cater for Angular's change detection.
* Angular uses Zones, we want to run internal AG Grid outside of Zone JS so that we do not kick off
* Angular change detection. Any event listener or setTimeout() or setInterval() run by our code
* would trigger change detection in Angular.
*
* This was done by Niall and Sean. The problematic events are mouseover, mouseout, mouseenter and mouseleave.
* Before events are returned to the user, those functions are wrapped in Angular's zone
* again so that the user's code triggers change detection as normal. See wrapOutgoing() below.
*/
addEventListener(element: HTMLElement, type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
dispatchEvent(eventType: string, listener: () => {}, global: boolean): void;
wrapIncoming: <T>(callback: () => T) => T;
/**
* This method is to cater for Angular's change detection.
* This is currently used for events that the user provides either via the component or via registration with the grid api.
* This method should not be implemented for the other frameworks to avoid unnecessary overhead.
*/
wrapOutgoing: <T>(callback: () => T) => T;
/**
* The shouldWrapOutgoing property is used to determine if events should be run outside of Angular or not.
* If an event handler is registered outside of Angular then we should not wrap the event handler
* with runInsideAngular() as the user may not have wanted this.
* This is also used to not wrap internal event listeners that are registered with RowNodes and Columns.
*/
shouldWrapOutgoing?: boolean;
frameworkComponent(name: string, components?: any): any;

@@ -20,0 +29,0 @@ isFrameworkComponent(comp: any): boolean;

@@ -11,3 +11,3 @@ import { AbstractColDef } from "../entities/colDef";

getOldLeft(): number | null;
getDefinition(): AbstractColDef<TValue> | null;
getDefinition(): AbstractColDef<any, TValue> | null;
getColumnGroupShow(): ColumnGroupShowType | undefined;

@@ -14,0 +14,0 @@ getParent(): IHeaderColumn;

@@ -9,5 +9,5 @@ import { ICellEditorParams } from "./iCellEditor";

/** The row height, in pixels, of each value. */
cellHeight: number;
cellHeight?: number;
/** The cell renderer to use to render each value. Cell renderers are useful for rendering rich HTML values, or when processing complex data. */
cellRenderer: any;
cellRenderer?: any;
/**

@@ -22,3 +22,3 @@ * Set to `true` to be able to type values in the display area.

*/
filterList: true;
filterList?: boolean;
/**

@@ -62,5 +62,5 @@ * The type of search algorithm that is used when searching for values.

/** A callback function that allows you to change the displayed value for simple data. */
formatValue: (value: TValue | null | undefined) => string;
formatValue?: (value: TValue | null | undefined) => string;
}
export interface RichCellEditorParams<TData = any, TValue = any, TContext = any> extends IRichCellEditorParams<TData, TValue>, ICellEditorParams<TData, TValue, TContext> {
export interface RichCellEditorParams<TData = any, TValue = any, TContext = any> extends IRichCellEditorParams<TData, TValue>, Omit<ICellEditorParams<TData, TValue, TContext>, "formatValue"> {
}

@@ -32,2 +32,6 @@ import { Column } from "../entities/column";

export declare type RowPinnedType = 'top' | 'bottom' | null | undefined;
export interface VerticalScrollPosition {
top: number;
bottom: number;
}
interface BaseRowNode<TData = any> {

@@ -34,0 +38,0 @@ /** Unique ID for the node. Either provided by the application, or generated by the grid if not. */

@@ -24,2 +24,3 @@ import { RowNode } from "../entities/rowNode";

getSelectAllState(justFiltered?: boolean, justCurrentPage?: boolean): boolean | null;
hasNodesToSelect(justFiltered?: boolean, justCurrentPage?: boolean): boolean;
selectAllRowNodes(params: {

@@ -26,0 +27,0 @@ source: SelectionEventSourceType;

@@ -33,3 +33,3 @@ import { ColDef, KeyCreatorParams, ValueFormatterParams } from '../entities/colDef';

*/
setModel(model: SetFilterModel | null): void | AgPromise<void>;
setModel(model: SetFilterModel | null): AgPromise<void>;
/**

@@ -36,0 +36,0 @@ * @deprecated As of v29 use `getFilterValues` to get the values in the Set Filter

@@ -11,5 +11,21 @@ import { IComponent } from "./iComponent";

}
export interface IStatusPanel {
export declare type AggregationStatusPanelAggFunc = 'count' | 'sum' | 'min' | 'max' | 'avg';
export interface IAggregationStatusPanelParams {
aggFuncs: AggregationStatusPanelAggFunc[];
}
export interface IStatusPanelComp extends IStatusPanel, IComponent<IStatusPanelParams> {
export interface AggregationStatusPanelParams<TData = any, TContext = any> extends IAggregationStatusPanelParams, IStatusPanelParams<TData, TContext> {
aggFuncs: AggregationStatusPanelAggFunc[];
}
export interface IStatusPanel<TData = any, TContext = any> {
/**
* Called when the `statusBar` grid option is updated.
* If this method returns `true`,
* the grid assumes that the status panel has updated with the latest params,
* and takes no further action.
* If this method returns `false`, or is not implemented,
* the grid will destroy and recreate the status panel.
*/
refresh?(params: IStatusPanelParams<TData, TContext>): boolean;
}
export interface IStatusPanelComp<TData = any, TContext = any> extends IStatusPanel<TData, TContext>, IComponent<IStatusPanelParams<TData, TContext>> {
}

@@ -5,16 +5,26 @@ import { ColDef, ColGroupDef } from "../entities/colDef";

import { AgGridCommon } from "./iCommon";
export interface IToolPanelParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
import { ColumnToolPanelState } from "./gridState";
export interface BaseToolPanelParams<TData = any, TContext = any, TState = any> extends AgGridCommon<TData, TContext> {
/** The tool-panel-specific initial state as provided in grid options if applicable */
initialState?: any;
initialState?: TState | undefined;
}
export interface IToolPanelParams<TData = any, TContext = any, TState = any> extends BaseToolPanelParams<TData, TContext, TState> {
/** If tool panel is saving and restoring state, this should be called after the state is updated */
onStateUpdated: () => void;
}
export interface IToolPanel {
refresh(): void;
export interface IToolPanel<TData = any, TContext = any, TState = any> {
/**
* Called when `api.refreshToolPanel()` is called (with the current params).
* Also called when the `sideBar` grid option is updated (with the updated params).
* When `sideBar` is updated, if this method returns `true`,
* then the grid will take no further action.
* Otherwise, the tool panel will be destroyed and recreated.
*/
refresh(params: IToolPanelParams<TData, TContext, TState>): boolean | void;
/** If saving and restoring state, this should return the current state */
getState?(): any;
getState?(): TState | undefined;
}
export interface IToolPanelComp extends IToolPanel, IComponent<IToolPanelParams> {
export interface IToolPanelComp<TData = any, TContext = any, TState = any> extends IToolPanel<TData, TContext, TState>, IComponent<IToolPanelParams<TData, TContext, TState>> {
}
export interface ToolPanelColumnCompParams extends IToolPanelParams {
export interface ToolPanelColumnCompParams<TData = any, TContext = any> extends IToolPanelParams<TData, TContext, ColumnToolPanelState> {
/** Suppress Column Move */

@@ -21,0 +31,0 @@ suppressColumnMove: boolean;

import { AgPromise } from '../utils';
import { IAfterGuiAttachedParams } from '../interfaces/iAfterGuiAttachedParams';
import { Component } from '../widgets/component';
export declare class TabbedLayout extends Component {
import { TabGuardComp } from '../widgets/tabGuardComp';
export declare class TabbedLayout extends TabGuardComp {
private focusService;

@@ -19,2 +19,5 @@ private readonly eHeader;

protected onTabKeyDown(e: KeyboardEvent): void;
private focusInnerElement;
private focusHeader;
private focusBody;
setAfterAttachedParams(params: IAfterGuiAttachedParams): void;

@@ -21,0 +24,0 @@ showFirstItem(): void;

@@ -29,3 +29,3 @@ export { ColumnFactory } from "./columns/columnFactory";

export { RowHighlightPosition, RowPinnedType, IRowNode } from "./interfaces/iRowNode";
export { IFilterDef, IFilterParams, IFilterOptionDef, IDoesFilterPassParams, ProvidedFilterModel, IFilter, IFilterComp, IFilterType, IFloatingFilterType, FilterModel } from "./interfaces/iFilter";
export { IFilterDef, IFilterParams, IFilterOptionDef, IDoesFilterPassParams, ProvidedFilterModel, IFilter, IFilterComp, IFilterType, IFloatingFilterType, FilterModel, BaseFilter, BaseFilterParams } from "./interfaces/iFilter";
export { ISetFilter, SetFilterModel, ISetFilterParams, SetFilterParams, SetFilterValues, SetFilterModelValue, SetFilterValuesFunc, SetFilterValuesFuncParams, ISetFilterTreeListTooltipParams } from "./interfaces/iSetFilter";

@@ -38,5 +38,5 @@ export { FilterManager, FilterWrapper, FilterRequestSource } from "./filter/filterManager";

export { NumberFilter, INumberFilterParams, NumberFilterParams, NumberFilterModel } from "./filter/provided/number/numberFilter";
export { TextFilter, ITextFilterParams, TextFilterParams, TextFilterModel, TextFormatter } from "./filter/provided/text/textFilter";
export { TextFilter, ITextFilterParams, TextFilterParams, TextFilterModel, TextFormatter, TextMatcherParams, TextMatcher } from "./filter/provided/text/textFilter";
export { DateFilter, IDateFilterParams, DateFilterParams, DateFilterModel } from "./filter/provided/date/dateFilter";
export { IFloatingFilter, IFloatingFilterParams, IFloatingFilterComp, BaseFloatingFilterChange, IFloatingFilterParent, IFloatingFilterParentCallback } from "./filter/floating/floatingFilter";
export { IFloatingFilter, IFloatingFilterParams, IFloatingFilterComp, BaseFloatingFilterChange, IFloatingFilterParent, IFloatingFilterParentCallback, BaseFloatingFilter } from "./filter/floating/floatingFilter";
export { TextFloatingFilter, ITextFloatingFilterParams } from './filter/provided/text/textFloatingFilter';

@@ -80,3 +80,3 @@ export { INumberFloatingFilterParams } from './filter/provided/number/numberFloatingFilter';

export { ExpansionService } from "./misc/expansionService";
export { ICellEditor, ICellEditorComp, ICellEditorParams } from "./interfaces/iCellEditor";
export { ICellEditor, ICellEditorComp, ICellEditorParams, BaseCellEditor } from "./interfaces/iCellEditor";
export { LargeTextCellEditor, ILargeTextEditorParams } from "./rendering/cellEditors/largeTextCellEditor";

@@ -97,9 +97,9 @@ export { PopupEditorWrapper } from "./rendering/cellEditors/popupEditorWrapper";

export { GroupCellRendererParams, IGroupCellRendererParams, IGroupCellRendererFullRowParams, FooterValueGetterFunc, IGroupCellRenderer, GroupCellRendererCtrl, GroupCheckboxSelectionCallback, GroupCheckboxSelectionCallbackParams } from "./rendering/cellRenderers/groupCellRendererCtrl";
export { StatusPanelDef, IStatusPanel, IStatusPanelComp, IStatusPanelParams } from "./interfaces/iStatusPanel";
export { StatusPanelDef, IStatusPanel, IStatusPanelComp, IStatusPanelParams, AggregationStatusPanelAggFunc, IAggregationStatusPanelParams, AggregationStatusPanelParams } from "./interfaces/iStatusPanel";
export { IStatusBarService } from "./interfaces/iStatusBarService";
export { IToolPanel, IToolPanelComp, IToolPanelParams, IPrimaryColsPanel, ToolPanelColumnCompParams } from "./interfaces/iToolPanel";
export { IToolPanel, IToolPanelComp, IToolPanelParams, IPrimaryColsPanel, ToolPanelColumnCompParams, BaseToolPanelParams } from "./interfaces/iToolPanel";
export { IColumnToolPanel } from "./interfaces/iColumnToolPanel";
export { IFiltersToolPanel } from "./interfaces/iFiltersToolPanel";
export { ILoadingOverlayComp, ILoadingOverlayParams } from "./rendering/overlays/loadingOverlayComponent";
export { INoRowsOverlayComp, INoRowsOverlayParams } from "./rendering/overlays/noRowsOverlayComponent";
export { ILoadingOverlayComp, ILoadingOverlayParams, ILoadingOverlay } from "./rendering/overlays/loadingOverlayComponent";
export { INoRowsOverlayComp, INoRowsOverlayParams, INoRowsOverlay } from "./rendering/overlays/noRowsOverlayComponent";
export { SetLeftFeature } from "./rendering/features/setLeftFeature";

@@ -225,3 +225,3 @@ export { PositionableFeature, ResizableStructure, ResizableSides, PositionableOptions } from "./rendering/features/positionableFeature";

export { IRowNodeStage, StageExecuteParams } from "./interfaces/iRowNodeStage";
export { IDateParams, IDate, IDateComp } from "./rendering/dateComponent";
export { IDateParams, IDate, IDateComp, BaseDate, BaseDateParams } from "./rendering/dateComponent";
export { IAfterGuiAttachedParams, ContainerType } from "./interfaces/iAfterGuiAttachedParams";

@@ -228,0 +228,0 @@ export { IComponent } from "./interfaces/iComponent";

import { BeanStub } from "../context/beanStub";
import { AgEventListener, AgGlobalEventListener } from "../events";
export declare class ApiEventService extends BeanStub {

@@ -7,6 +8,8 @@ private syncEventListeners;

private asyncGlobalEventListeners;
addEventListener(eventType: string, listener: Function): void;
addGlobalListener(listener: Function): void;
removeEventListener(eventType: string, listener: Function): void;
removeGlobalListener(listener: Function): void;
private frameworkEventWrappingService;
private postConstruct;
addEventListener(eventType: string, userListener: AgEventListener): void;
addGlobalListener(userListener: AgGlobalEventListener): void;
removeEventListener(eventType: string, userListener: AgEventListener): void;
removeGlobalListener(userListener: AgGlobalEventListener): void;
private destroyEventListeners;

@@ -13,0 +16,0 @@ private destroyGlobalListeners;

@@ -19,2 +19,3 @@ import { BeanStub } from "../context/beanStub";

private dispatchStateUpdateEventDebounced;
private columnStates?;
private postConstruct;

@@ -28,2 +29,3 @@ getState(): GridState;

private setColumnState;
private setColumnPivotState;
private getColumnGroupState;

@@ -50,2 +52,3 @@ private setColumnGroupState;

private dispatchQueuedStateUpdateEvents;
private suppressEventsAndDispatchInitEvent;
}

@@ -29,3 +29,2 @@ import { GridOptions } from "./entities/gridOptions";

export declare const INITIAL_GRID_OPTION_KEYS: {
statusBar: boolean;
enableBrowserTooltips: boolean;

@@ -58,3 +57,2 @@ tooltipTrigger: boolean;

detailRowAutoHeight: boolean;
alignedGrids: boolean;
tabIndex: boolean;

@@ -71,6 +69,4 @@ valueCache: boolean;

loadingOverlayComponent: boolean;
loadingOverlayComponentParams: boolean;
suppressLoadingOverlay: boolean;
noRowsOverlayComponent: boolean;
noRowsOverlayComponentParams: boolean;
paginationPageSizeSelector: boolean;

@@ -93,3 +89,2 @@ paginateChildRows: boolean;

suppressGroupMaintainValueType: boolean;
autoGroupColumnDef: boolean;
groupLockGroupColumns: boolean;

@@ -124,2 +119,3 @@ rowGroupPanelSuppressSort: boolean;

getRowId: boolean;
reactiveCustomComponents: boolean;
};

@@ -126,0 +122,0 @@ declare type InitialGridOptionKey = keyof typeof INITIAL_GRID_OPTION_KEYS;

@@ -28,3 +28,3 @@ import { Beans } from "./../beans";

setRenderDetails(compDetails: UserCompDetails | undefined, valueToDisplay: any, forceNewCellRendererInstance: boolean): void;
setEditDetails(compDetails?: UserCompDetails, popup?: boolean, position?: 'over' | 'under'): void;
setEditDetails(compDetails?: UserCompDetails, popup?: boolean, position?: 'over' | 'under', reactiveCustomComponents?: boolean): void;
}

@@ -40,2 +40,3 @@ export declare class CellCtrl extends BeanStub {

private rowCtrl;
private editCompDetails?;
private focusEventToRestore;

@@ -53,3 +54,2 @@ private printLayout;

private editing;
private isCellRenderer;
private includeSelection;

@@ -78,3 +78,3 @@ private includeDndSource;

getTabIndex(): number | undefined;
getIsCellRenderer(): boolean;
isCellRenderer(): boolean;
getValueToDisplay(): any;

@@ -81,0 +81,0 @@ private showValue;

import { ICellRenderer } from "./iCellRenderer";
import { Component } from "../../widgets/component";
export declare class AnimateShowChangeCellRenderer extends Component implements ICellRenderer {
private static TEMPLATE;
private lastValue;

@@ -15,3 +14,3 @@ private eValue;

private hideDeltaValue;
refresh(params: any): boolean;
refresh(params: any, isInitialRender?: boolean): boolean;
}
import { ICellRenderer } from "./iCellRenderer";
import { Component } from "../../widgets/component";
export declare class AnimateSlideCellRenderer extends Component implements ICellRenderer {
private static TEMPLATE;
private eCurrent;

@@ -13,3 +12,3 @@ private ePrevious;

addSlideAnimation(): void;
refresh(params: any): boolean;
refresh(params: any, isInitialRender?: boolean): boolean;
}

@@ -5,7 +5,3 @@ import { IComponent } from "../interfaces/iComponent";

import { AgGridCommon } from "../interfaces/iCommon";
export interface IDate {
/** Returns the current date represented by this component */
getDate(): Date | null;
/** Sets the date represented by this component */
setDate(date: Date | null): void;
export interface BaseDate {
/** Optional: Sets the disabled state of this component */

@@ -18,16 +14,31 @@ setDisabled?(disabled: boolean): void;

/**
* Optional: A hook to perform any necessary operation just after the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters), this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing, such as putting focus on a particular DOM element.
* Optional: A hook to perform any necessary operation just after
* the GUI for this component has been rendered on the screen.
* If a parent popup is closed and reopened (e.g. for filters),
* this method is called each time the component is shown.
* This is useful for any logic that requires attachment before executing,
* such as putting focus on a particular DOM element.
*/
afterGuiAttached?(params?: IAfterGuiAttachedParams): void;
}
export interface IDateParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
export interface IDate extends BaseDate {
/** Returns the current date represented by this component */
getDate(): Date | null;
/** Sets the date represented by this component */
setDate(date: Date | null): void;
onParamsUpdated?(params: IDateParams): void;
/**
* When used in a floating filter, a hook to perform any necessary operations
* when the column definition is updated.
*/
refresh?(params: IDateParams): void;
}
export interface BaseDateParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
filterParams: DateFilterParams;
}
export interface IDateParams<TData = any, TContext = any> extends BaseDateParams<TData, TContext> {
/** Method for component to tell AG Grid that the date has changed. */
onDateChanged: () => void;
filterParams: DateFilterParams;
}
export interface IDateComp extends IComponent<IDateParams>, IDate {
/** When used in a floating filter, a hook to perform any necessary operations when the column definition is updated. */
onParamsUpdated?(params: IDateParams): void;
}

@@ -6,4 +6,7 @@ import { IComponent } from "../../interfaces/iComponent";

}
export interface ILoadingOverlayComp extends IComponent<ILoadingOverlayParams> {
export interface ILoadingOverlay<TData = any, TContext = any> {
refresh?(params: ILoadingOverlayParams<TData, TContext>): void;
}
export interface ILoadingOverlayComp<TData = any, TContext = any> extends IComponent<ILoadingOverlayParams<TData, TContext>>, ILoadingOverlay<TData, TContext> {
}
export declare class LoadingOverlayComponent extends Component implements ILoadingOverlayComp {

@@ -10,0 +13,0 @@ private static DEFAULT_LOADING_OVERLAY_TEMPLATE;

@@ -6,4 +6,7 @@ import { AgGridCommon } from "../../interfaces/iCommon";

}
export interface INoRowsOverlayComp extends IComponent<INoRowsOverlayParams> {
export interface INoRowsOverlay<TData = any, TContext = any> {
refresh?(params: INoRowsOverlayParams<TData, TContext>): void;
}
export interface INoRowsOverlayComp<TData = any, TContext = any> extends IComponent<INoRowsOverlayParams<TData, TContext>>, INoRowsOverlay<TData, TContext> {
}
export declare class NoRowsOverlayComponent extends Component implements INoRowsOverlayComp {

@@ -10,0 +13,0 @@ private static DEFAULT_NO_ROWS_TEMPLATE;

@@ -12,2 +12,3 @@ import { Component } from '../../widgets/component';

private activeOverlayWrapperCssClass;
private updateListenerDestroyFunc?;
constructor();

@@ -17,3 +18,3 @@ updateLayoutClasses(cssClass: string, params: UpdateLayoutClassesParams): void;

private setWrapperTypeClass;
showOverlay(overlayComp: AgPromise<Component> | null, overlayWrapperCssClass: string): void;
showOverlay(overlayComp: AgPromise<Component> | null, overlayWrapperCssClass: string, updateListenerDestroyFunc: () => null): void;
private destroyActiveOverlay;

@@ -20,0 +21,0 @@ hideOverlay(): void;

@@ -22,2 +22,3 @@ import { Component } from "../../widgets/component";

private destroyCells;
private refreshFullWidth;
}

@@ -7,3 +7,3 @@ import { UserCompDetails } from "../../components/framework/userComponentFactory";

import { RowPosition } from "../../entities/rowPositionUtils";
import { CellFocusedEvent, RowEvent } from "../../events";
import { AgEventListener, CellFocusedEvent, RowEvent } from "../../events";
import { RowContainerType } from "../../gridBodyComp/rowContainer/rowContainerCtrl";

@@ -34,2 +34,3 @@ import { IFrameworkOverrides } from "../../interfaces/iFrameworkOverrides";

setUserStyles(styles: RowStyle | undefined): void;
refreshFullWidth(getUpdatedParams: () => ICellRendererParams): boolean;
}

@@ -67,2 +68,3 @@ export declare class RowCtrl extends BeanStub {

private readonly printLayout;
private readonly suppressRowTransform;
private updateColumnListsPending;

@@ -94,3 +96,3 @@ private rowId;

isPrintLayout(): boolean;
getFullWidthCellRenderer(): ICellRenderer<any> | null | undefined;
getFullWidthCellRenderers(): (ICellRenderer<any> | null | undefined)[];
getCellElement(column: Column): HTMLElement | null;

@@ -111,3 +113,2 @@ executeProcessRowPostCreateFunc(): void;

isEditing(): boolean;
stopRowEditing(cancel: boolean): void;
isFullWidth(): boolean;

@@ -117,9 +118,6 @@ getRowType(): RowType;

private addListeners;
private onColumnMoved;
private addListenersForCellComps;
private onRowNodeDataChanged;
private onRowNodeCellChanged;
private postProcessCss;
private onRowNodeHighlightChanged;
private onRowNodeDraggingChanged;
private postProcessRowDragging;

@@ -147,3 +145,2 @@ private updateExpandedCss;

private isLastRowOnPage;
private onModelUpdated;
private refreshFirstAndLastRowStyles;

@@ -165,14 +162,11 @@ stopEditing(cancel?: boolean): void;

addHoverFunctionality(eRow: HTMLElement): void;
roundRowTopToBounds(rowTop: number): number;
private roundRowTopToBounds;
protected getFrameworkOverrides(): IFrameworkOverrides;
private forEachGui;
private onRowHeightChanged;
addEventListener(eventType: string, listener: Function): void;
removeEventListener(eventType: string, listener: Function): void;
destroyFirstPass(): void;
private setupRemoveAnimation;
addEventListener(eventType: string, listener: AgEventListener): void;
removeEventListener(eventType: string, listener: AgEventListener): void;
destroyFirstPass(suppressAnimation?: boolean): void;
destroySecondPass(): void;
private setFocusedClasses;
private onCellFocused;
private onCellFocusCleared;
private onCellFocusChanged;

@@ -193,7 +187,3 @@ private onPaginationChanged;

private updateRowIndexes;
getPinnedLeftRowElement(): HTMLElement;
getPinnedRightRowElement(): HTMLElement;
getBodyRowElement(): HTMLElement;
getFullWidthRowElement(): HTMLElement;
}
export {};
import { RowCtrl } from "./row/rowCtrl";
import { Column } from "../entities/column";
import { RowNode } from "../entities/rowNode";
import { AgEventListener } from "../events";
import { CellPosition } from "../entities/cellPositionUtils";

@@ -100,3 +101,3 @@ import { BeanStub } from "../context/beanStub";

private getAllRowCtrls;
addRenderedRowListener(eventName: string, rowIndex: number, callback: Function): void;
addRenderedRowListener(eventName: string, rowIndex: number, callback: AgEventListener): void;
flashCells(params?: FlashCellsParams): void;

@@ -103,0 +104,0 @@ refreshCells(params?: RefreshCellsParams): void;

@@ -11,7 +11,7 @@ import { RowNode } from "./entities/rowNode";

private selectedNodes;
private logger;
private lastRowNode;
private groupSelectsChildren;
private rowSelection?;
private setBeans;
private init;
protected destroy(): void;
private isMultiselect;

@@ -47,2 +47,3 @@ setNodesSelected(params: ISetNodesSelectedParams): number;

getSelectAllState(justFiltered?: boolean | undefined, justCurrentPage?: boolean | undefined): boolean | null;
hasNodesToSelect(justFiltered?: boolean, justCurrentPage?: boolean): boolean;
/**

@@ -49,0 +50,0 @@ * @param justFiltered whether to just include nodes which have passed the filter

@@ -18,5 +18,5 @@ import { BeanStub } from "./context/beanStub";

private updateSortIndex;
onSortChanged(source: string): void;
onSortChanged(source: string, columns?: Column[]): void;
isSortActive(): boolean;
dispatchSortChangedEvents(source: string): void;
dispatchSortChangedEvents(source: string, columns?: Column[]): void;
private clearSortBarTheseColumns;

@@ -23,0 +23,0 @@ private getNextSortDirection;

@@ -56,2 +56,3 @@ import { RowStyle } from '../entities/gridOptions';

export declare function removeFromParent(node: Element | null): void;
export declare function isInDOM(element: HTMLElement): boolean;
export declare function isVisible(element: HTMLElement): any;

@@ -65,5 +66,2 @@ /**

export declare function loadTemplate(template: string): HTMLElement;
export declare function appendHtml(eContainer: HTMLElement, htmlTemplate: string): void;
export declare function offsetHeight(element: HTMLElement): number;
export declare function offsetWidth(element: HTMLElement): number;
export declare function ensureDomOrder(eContainer: HTMLElement, eChild: HTMLElement, eChildBefore?: HTMLElement | null): void;

@@ -70,0 +68,0 @@ export declare function setDomChildOrder(eContainer: HTMLElement, orderedChildren: (HTMLElement | null)[]): void;

@@ -141,7 +141,5 @@ import * as AriaUtils from './aria';

removeFromParent(node: Element | null): void;
isInDOM(element: HTMLElement): boolean;
isVisible(element: HTMLElement): any;
loadTemplate(template: string): HTMLElement;
appendHtml(eContainer: HTMLElement, htmlTemplate: string): void;
offsetHeight(element: HTMLElement): number;
offsetWidth(element: HTMLElement): number;
ensureDomOrder(eContainer: HTMLElement, eChild: HTMLElement, eChildBefore?: HTMLElement | null | undefined): void;

@@ -148,0 +146,0 @@ setDomChildOrder(eContainer: HTMLElement, orderedChildren: (HTMLElement | null)[]): void;

@@ -8,7 +8,7 @@ import { IFrameworkOverrides } from "./interfaces/iFrameworkOverrides";

constructor(frameworkName?: 'javascript' | 'angular' | 'react' | 'vue' | 'solid');
setTimeout(action: any, timeout?: any): void;
setInterval(action: any, timeout?: any): AgPromise<number>;
isOutsideAngular: (eventType: string) => boolean;
addEventListener(element: HTMLElement, type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
dispatchEvent(eventType: string, listener: () => {}, global?: boolean): void;
wrapIncoming: <T>(callback: () => T) => T;
wrapOutgoing: <T>(callback: () => T) => T;
get shouldWrapOutgoing(): boolean;
frameworkComponent(name: string): any;

@@ -15,0 +15,0 @@ isFrameworkComponent(comp: any): boolean;

@@ -1,1 +0,1 @@

export declare const VERSION = "31.0.1";
export declare const VERSION = "31.0.2";

@@ -17,3 +17,3 @@ import { RichSelectParams } from "./agRichSelect";

private populateWithRenderer;
private onMouseUp;
private onClick;
}

@@ -14,9 +14,13 @@ import { Component } from "./component";

*/
onFocusIn?: (e: FocusEvent) => boolean;
onFocusIn?: (e: FocusEvent) => void;
/**
* @return `true` to prevent the default onFocusOut behavior
*/
onFocusOut?: (e: FocusEvent) => boolean;
onFocusOut?: (e: FocusEvent) => void;
onTabKeyDown?: (e: KeyboardEvent) => void;
handleKeyDown?: (e: KeyboardEvent) => void;
/**
* Set to true to create a circular focus pattern when keyboard tabbing.
*/
focusTrapActive?: boolean;
}): void;

@@ -23,0 +27,0 @@ private createTabGuard;

@@ -16,2 +16,3 @@ import { BeanStub } from "../context/beanStub";

private readonly eFocusableElement;
private readonly focusTrapActive;
private readonly providedFocusInnerElement?;

@@ -29,5 +30,6 @@ private readonly providedFocusIn?;

eFocusableElement: HTMLElement;
focusTrapActive?: boolean;
focusInnerElement?: (fromBottom: boolean) => void;
onFocusIn?: (event: FocusEvent) => boolean;
onFocusOut?: (event: FocusEvent) => boolean;
onFocusIn?: (event: FocusEvent) => void;
onFocusOut?: (event: FocusEvent) => void;
shouldStopEventPropagation?: () => boolean;

@@ -34,0 +36,0 @@ onTabKeyDown?: (e: KeyboardEvent) => void;

@@ -1,2 +0,2 @@

import { AgEvent } from "../events";
import { AgEvent, AgEventListener } from "../events";
import { IEventEmitter } from "../interfaces/iEventEmitter";

@@ -25,4 +25,4 @@ export interface TapEvent extends AgEvent {

private getActiveTouch;
addEventListener(eventType: string, listener: Function): void;
removeEventListener(eventType: string, listener: Function): void;
addEventListener(eventType: string, listener: AgEventListener): void;
removeEventListener(eventType: string, listener: AgEventListener): void;
private onTouchStart;

@@ -29,0 +29,0 @@ private onTouchMove;

@@ -33,4 +33,4 @@ import { Component } from './component';

protected focusInnerElement(fromBottom: boolean): void;
protected onFocusIn(e: FocusEvent): boolean;
protected onFocusOut(e: FocusEvent): boolean;
protected onFocusIn(e: FocusEvent): void;
protected onFocusOut(e: FocusEvent): void;
protected handleKeyDown(e: KeyboardEvent): void;

@@ -37,0 +37,0 @@ protected onTabKeyDown(e: KeyboardEvent): void;

@@ -1,2 +0,2 @@

// Type definitions for ag-grid-community v31.0.1
// Type definitions for ag-grid-community v31.0.2
// Project: https://www.ag-grid.com/

@@ -3,0 +3,0 @@ // Definitions by: Niall Crosby <https://github.com/ag-grid/>

{
"name": "ag-grid-community",
"version": "31.0.1",
"version": "31.0.2",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -57,8 +57,8 @@ "main": "./dist/ag-grid-community.cjs.js",

"devDependencies": {
"@ag-grid-community/all-modules": "~31.0.1",
"@ag-grid-community/core": "~31.0.1",
"@ag-grid-community/client-side-row-model": "~31.0.1",
"@ag-grid-community/csv-export": "~31.0.1",
"@ag-grid-community/infinite-row-model": "~31.0.1",
"@ag-grid-community/styles": "~31.0.1",
"@ag-grid-community/all-modules": "~31.0.2",
"@ag-grid-community/core": "~31.0.2",
"@ag-grid-community/client-side-row-model": "~31.0.2",
"@ag-grid-community/csv-export": "~31.0.2",
"@ag-grid-community/infinite-row-model": "~31.0.2",
"@ag-grid-community/styles": "~31.0.2",
"@types/node": "12.20.20",

@@ -65,0 +65,0 @@ "gulp": "4.0.2",

@@ -80,3 +80,3 @@ ![AG Grid HTML5 Grid trusted by the community, built for enterprise](./github-banner.png "AG Grid")

```js
import { Grid } from 'ag-grid-community';
import { createGrid } from 'ag-grid-community';

@@ -83,0 +83,0 @@ import 'ag-grid-community/styles//ag-grid.css';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc