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 30.0.3 to 30.0.5

32

dist/lib/columns/columnApi.d.ts

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

import { ColDef, ColGroupDef, IAggFunc } from "../entities/colDef";
import { ColDef, ColGroupDef, HeaderLocation, IAggFunc } from "../entities/colDef";
import { IHeaderColumn } from "../interfaces/iHeaderColumn";

@@ -10,3 +10,9 @@ import { ColumnState, ApplyColumnStateParams } from "./columnModel";

private columnModel;
/** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */
/**
* Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`.
* To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead.
* If inferring cell data types with custom column types and row data is provided asynchronously,
* the column sizing will happen asynchronously when row data is added.
* To always perform this synchronously, set `cellDataType = false` on the default column definition.
*/
sizeColumnsToFit(gridWidth: number): void;

@@ -20,5 +26,5 @@ /** Call this if you want to open or close a column group. */

/** Returns the display name for a column. Useful if you are doing your own header rendering and want the grid to work out if `headerValueGetter` is used, or if you are doing your own column management GUI, to know what to show as the column name. */
getDisplayNameForColumn(column: Column, location: string | null): string;
getDisplayNameForColumn(column: Column, location: HeaderLocation): string;
/** Returns the display name for a column group (when grouping columns). */
getDisplayNameForColumnGroup(columnGroup: ColumnGroup, location: string | null): string;
getDisplayNameForColumnGroup(columnGroup: ColumnGroup, location: HeaderLocation): string;
/** Returns the column with the given `colKey`, which can either be the `colId` (a string) or the `colDef` (an object). */

@@ -149,7 +155,19 @@ getColumn(key: any): Column | null;

getAllDisplayedColumnGroups(): IHeaderColumn[] | null;
/** Auto-sizes a column based on its contents. */
/**
* Auto-sizes a column based on its contents. If inferring cell data types with custom column types and row data is provided asynchronously,
* the column sizing will happen asynchronously when row data is added. To always perform this synchronously,
* set `cellDataType = false` on the default column definition.
*/
autoSizeColumn(key: string | Column, skipHeader?: boolean): void;
/** Same as `autoSizeColumn`, but provide a list of column keys. */
/**
* Same as `autoSizeColumn`, but provide a list of column keys. If inferring cell data types with custom column types
* and row data is provided asynchronously, the column sizing will happen asynchronously when row data is added.
* To always perform this synchronously, set `cellDataType = false` on the default column definition.
*/
autoSizeColumns(keys: (string | Column)[], skipHeader?: boolean): void;
/** Calls `autoSizeColumns` on all displayed columns. */
/**
* Calls `autoSizeColumns` on all displayed columns. If inferring cell data types with custom column types
* and row data is provided asynchronously, the column sizing will happen asynchronously when row data is added.
* To always perform this synchronously, set `cellDataType = false` on the default column definition.
*/
autoSizeAllColumns(skipHeader?: boolean): void;

@@ -156,0 +174,0 @@ /** Set the pivot result columns. */

import { ColumnGroup } from '../entities/columnGroup';
import { Column, ColumnPinnedType } from '../entities/column';
import { ColDef, ColGroupDef, IAggFunc } from '../entities/colDef';
import { ColDef, ColGroupDef, IAggFunc, HeaderLocation } from '../entities/colDef';
import { IHeaderColumn } from '../interfaces/iHeaderColumn';

@@ -145,2 +145,4 @@ import { IProvidedColumn } from '../interfaces/iProvidedColumn';

private flexViewportWidth;
private shouldQueueResizeOperations;
private resizeOperationQueue;
private columnDefs;

@@ -284,2 +286,3 @@ init(): void;

resetColumnState(source?: ColumnEventType): void;
getColumnStateFromColDef(column: Column): ColumnState;
applyColumnState(params: ApplyColumnStateParams, source: ColumnEventType): boolean;

@@ -301,5 +304,5 @@ private applyOrderAfterApplyState;

private columnsMatch;
getDisplayNameForColumn(column: Column | null, location: string | null, includeAggFunc?: boolean): string | null;
getDisplayNameForProvidedColumnGroup(columnGroup: ColumnGroup | null, providedColumnGroup: ProvidedColumnGroup | null, location: string | null): string | null;
getDisplayNameForColumnGroup(columnGroup: ColumnGroup, location: string | null): string | null;
getDisplayNameForColumn(column: Column | null, location: HeaderLocation, includeAggFunc?: boolean): string | null;
getDisplayNameForProvidedColumnGroup(columnGroup: ColumnGroup | null, providedColumnGroup: ProvidedColumnGroup | null, location: HeaderLocation): string | null;
getDisplayNameForColumnGroup(columnGroup: ColumnGroup, location: HeaderLocation): string | null;
private getHeaderName;

@@ -387,2 +390,10 @@ private wrapHeaderNameWithAggFunc;

getPivotGroupHeaderHeight(): number;
queueResizeOperations(): void;
processResizeOperations(): void;
resetColumnDefIntoColumn(column: Column): boolean;
generateColumnStateForRowGroupAndPivotIndexes(updatedRowGroupColumnState: {
[colId: string]: ColumnState;
}, updatedPivotColumnState: {
[colId: string]: ColumnState;
}): ColumnState[];
}

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

private columnModel;
private columnUtils;
private valueService;

@@ -16,2 +17,6 @@ private valueFormatterService;

private groupHideOpenParents;
private initialData;
private isColumnTypeOverrideInDataTypeDefinitions;
private columnStateUpdatesPendingInference;
private columnStateUpdateListenerDestroyFuncs;
init(): void;

@@ -25,2 +30,3 @@ private processDataTypeDefinitions;

updateColDefAndGetColumnType(colDef: ColDef, userColDef: ColDef, colId: string): string[] | undefined;
addColumnListeners(column: Column): void;
private canInferCellDataType;

@@ -30,3 +36,6 @@ private doColDefPropsPreventInference;

private inferCellDataType;
private getInitialData;
private initWaitForRowData;
private processColumnsPendingInference;
private getUpdatedColumnState;
private checkObjectValueHandlers;

@@ -33,0 +42,0 @@ convertColumnTypes(type: string | string[]): string[];

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

import { IRowNode } from "../interfaces/iRowNode";
import { IAggFunc } from "../entities/colDef";
export interface DragItem {

@@ -22,2 +23,10 @@ /**

};
/** When dragging columns, this contains the pivot state of the columns. This is only populated/used in column tool panel */
pivotState?: {
[key: string]: {
pivot?: boolean;
rowGroup?: boolean;
aggFunc?: string | IAggFunc | null;
};
};
}

@@ -24,0 +33,0 @@ export declare enum DragSourceType {

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

isDragging(): boolean;
addDragSource(params: DragListenerParams, includeTouch?: boolean): void;
addDragSource(params: DragListenerParams): void;
getStartTarget(): EventTarget | null;

@@ -29,2 +29,3 @@ private onTouchStart;

private onMouseMove;
private shouldPreventMouseEvent;
private isOverFormFieldElement;

@@ -48,2 +49,6 @@ onTouchUp(touchEvent: TouchEvent, el: Element): void;

onDragging: (mouseEvent: MouseEvent | Touch) => void;
/** Include touch events for this Drag Listener */
includeTouch?: boolean;
/** If `true`, it will stop the propagation of Touch Events */
stopPropagationForTouch?: boolean;
}

@@ -99,2 +99,6 @@ import { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent } from "../events";

*/
export declare type ColDefField<TData = any, TValue = any> = TData extends any ? NestedFieldPaths<TData, TValue> : never;
/**
* Returns a union of all possible paths to nested fields in `TData`.
*/
export declare type NestedFieldPaths<TData = any, TValue = any> = {

@@ -113,3 +117,3 @@ [TKey in StringOrNumKeys<TData>]: (TData[TKey] extends TValue ? `${TKey}` : never) | NestedPath<TData[TKey], `${TKey}`, TValue>;

*/
field?: NestedFieldPaths<TData, TValue>;
field?: ColDefField<TData, TValue>;
/**

@@ -560,2 +564,3 @@ * A comma separated string or array of strings containing `ColumnType` keys which can be used as a template for a column.

}
export declare type HeaderLocation = 'chart' | 'columnDrop' | 'columnToolPanel' | 'csv' | 'filterToolPanel' | 'groupFilter' | 'header' | 'model' | null;
export interface HeaderValueGetterParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {

@@ -570,3 +575,3 @@ colDef: AbstractColDef<TData, TValue>;

/** Where the column is going to appear */
location: string | null;
location: HeaderLocation;
}

@@ -573,0 +578,0 @@ export interface HeaderValueGetterFunc<TData = any, TValue = any> {

@@ -10,3 +10,3 @@ import { IHeaderColumn } from "../interfaces/iHeaderColumn";

export declare type ColumnPinnedType = 'left' | 'right' | boolean | null | undefined;
export declare type ColumnEventName = 'movingChanged' | 'leftChanged' | 'widthChanged' | 'lastLeftPinnedChanged' | 'firstRightPinnedChanged' | 'visibleChanged' | 'filterChanged' | 'filterActiveChanged' | 'sortChanged' | 'colDefChanged' | 'menuVisibleChanged' | 'columnRowGroupChanged' | 'columnPivotChanged' | 'columnValueChanged';
export declare type ColumnEventName = 'movingChanged' | 'leftChanged' | 'widthChanged' | 'lastLeftPinnedChanged' | 'firstRightPinnedChanged' | 'visibleChanged' | 'filterChanged' | 'filterActiveChanged' | 'sortChanged' | 'colDefChanged' | 'menuVisibleChanged' | 'columnRowGroupChanged' | 'columnPivotChanged' | 'columnValueChanged' | 'columnStateUpdated';
export declare function getNextColInstanceId(): number;

@@ -28,2 +28,3 @@ export declare class Column<TValue = any> implements IHeaderColumn<TValue>, IProvidedColumn, IEventEmitter {

static EVENT_VALUE_CHANGED: ColumnEventName;
static EVENT_STATE_UPDATED: ColumnEventName;
private readonly gridOptionsService;

@@ -204,2 +205,3 @@ private readonly columnUtils;

getMenuTabs(defaultValues: ColumnMenuTab[]): ColumnMenuTab[];
private dispatchStateUpdatedEvent;
}

@@ -165,2 +165,3 @@ export declare class Events {

static EVENT_FILTER_DESTROYED: 'filterDestroyed';
static EVENT_ROW_DATA_UPDATE_STARTED: 'rowDataUpdateStarted';
}

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

}
export interface RowDataUpdateStartedEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {
firstRowData: TData | null;
}
export interface PinnedRowDataChangedEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {

@@ -355,3 +358,3 @@ }

/**---------------*/
export declare type ColumnEventType = "sizeColumnsToFit" | "autosizeColumns" | "autosizeColumnHeaderHeight" | "alignedGridChanged" | "filterChanged" | "filterDestroyed" | "gridOptionsChanged" | "gridInitializing" | "toolPanelDragAndDrop" | "toolPanelUi" | "uiColumnMoved" | "uiColumnResized" | "uiColumnDragged" | "uiColumnExpanded" | "uiColumnSorted" | "contextMenu" | "columnMenu" | "rowModelUpdated" | "rowDataUpdated" | "api" | "flex" | "pivotChart" | "columnRowGroupChanged";
export declare type ColumnEventType = "sizeColumnsToFit" | "autosizeColumns" | "autosizeColumnHeaderHeight" | "alignedGridChanged" | "filterChanged" | "filterDestroyed" | "gridOptionsChanged" | "gridInitializing" | "toolPanelDragAndDrop" | "toolPanelUi" | "uiColumnMoved" | "uiColumnResized" | "uiColumnDragged" | "uiColumnExpanded" | "uiColumnSorted" | "contextMenu" | "columnMenu" | "rowModelUpdated" | "rowDataUpdated" | "api" | "flex" | "pivotChart" | "columnRowGroupChanged" | "cellDataTypeInferred";
export interface ColumnEvent<TData = any, TContext = any> extends AgGridEvent<TData, TContext> {

@@ -358,0 +361,0 @@ /** The impacted column, only set if action was on one column */

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

private readonly rowPositionUtils;
private readonly cellPositionUtils;
private readonly rangeService;

@@ -25,2 +26,3 @@ navigationService: NavigationService;

private focusedCellPosition;
private restoredFocusedCellPosition;
private focusedHeaderPosition;

@@ -52,3 +54,3 @@ private static keyboardModeActive;

*/
private static toggleKeyboardMode;
static toggleKeyboardMode(event: KeyboardEvent | MouseEvent | TouchEvent): void;
private init;

@@ -62,2 +64,5 @@ unregisterGridCompController(gridCompController: GridCtrl): void;

getFocusedCell(): CellPosition | null;
shouldRestoreFocus(cell: CellPosition): boolean;
private isCellRestoreFocused;
setRestoreFocusedCell(cellPosition: CellPosition): void;
private getFocusEventParams;

@@ -64,0 +69,0 @@ clearFocusedCell(): void;

@@ -341,3 +341,5 @@ import { AlignedGridsService } from "./alignedGridsService";

/**
* Sets columns to adjust in size to fit the grid horizontally.
* Sets columns to adjust in size to fit the grid horizontally. If inferring cell data types with custom column types
* and row data is provided asynchronously, the column sizing will happen asynchronously when row data is added.
* To always perform this synchronously, set `cellDataType = false` on the default column definition.
**/

@@ -344,0 +346,0 @@ sizeColumnsToFit(params?: ISizeColumnsToFitParams): void;

@@ -14,2 +14,4 @@ import { CtrlsService } from "../ctrlsService";

protected abstract setScrollVisible(): void;
abstract getScrollPosition(): number;
abstract setScrollPosition(value: number): void;
constructor(template: string, direction: 'horizontal' | 'vertical');

@@ -21,4 +23,6 @@ protected postConstruct(): void;

protected hideAndShowInvisibleScrollAsNeeded(): void;
getViewport(): HTMLElement;
protected attemptSettingScrollPosition(value: number): void;
protected getViewport(): HTMLElement;
getContainer(): HTMLElement;
onScrollCallback(fn: () => void): void;
}

@@ -17,2 +17,4 @@ import { AbstractFakeScrollComp } from "./abstractFakeScrollComp";

protected setScrollVisible(): void;
getScrollPosition(): number;
setScrollPosition(value: number): void;
}

@@ -8,2 +8,4 @@ import { AbstractFakeScrollComp } from "./abstractFakeScrollComp";

private onRowContainerHeightChanged;
getScrollPosition(): number;
setScrollPosition(value: number): void;
}

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

private enableRtl;
private eLastHScroll;
private eLastVScroll;
private lastScrollSource;
private eBodyViewport;

@@ -29,4 +28,3 @@ private scrollLeft;

horizontallyScrollHeaderCenterAndFloatingCenter(scrollLeft?: number): void;
private isControllingHScroll;
private isControllingVScroll;
private isControllingScroll;
private onFakeHScroll;

@@ -47,3 +45,3 @@ private onHScroll;

scrollGridIfNeeded(): boolean;
setHorizontalScrollPosition(hScrollPosition: number): void;
setHorizontalScrollPosition(hScrollPosition: number, fromAlignedGridsService?: boolean): void;
setVerticalScrollPosition(vScrollPosition: number): void;

@@ -50,0 +48,0 @@ getVScrollPosition(): {

@@ -24,3 +24,4 @@ import { CellPosition } from "../entities/cellPositionUtils";

private postConstruct;
handlePageScrollingKey(event: KeyboardEvent): boolean;
handlePageScrollingKey(event: KeyboardEvent, fromFullWidth?: boolean): boolean;
private handlePageUpDown;
private navigateTo;

@@ -27,0 +28,0 @@ private onPageDown;

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

setComp(comp: IHeaderCellComp, eGui: HTMLElement, eResize: HTMLElement, eHeaderCompWrapper: HTMLElement): void;
private addMouseDownListenerIfNeeded;
private setupUserComp;

@@ -43,0 +44,0 @@ private setCompDetails;

@@ -21,2 +21,6 @@ import { AgPromise } from "../utils";

isFrameworkComponent(comp: any): boolean;
/**
* Which rendering engine is used for the grid components. Can be either 'vanilla' or 'react'.
*/
renderingEngine: 'vanilla' | 'react';
}

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

export { ColumnWidthCallbackParams, RowHeightCallbackParams, IExcelCreator, ExcelAlignment, ExcelBorder, ExcelBorders, ExcelCell, ExcelColumn, ExcelContentType, ExcelData, ExcelDataType, ExcelExportParams, ExcelHeaderFooterConfig, ExcelHeaderFooter, ExcelHeaderFooterContent, ExcelImage, ExcelImagePosition, ExcelSheetMargin, ExcelExportMultipleSheetParams, ExcelSheetPageSetup, ExcelFont, ExcelInterior, ExcelNumberFormat, ExcelOOXMLDataType, ExcelOOXMLTemplate, ExcelProtection, ExcelRelationship, ExcelFactoryMode, ExcelRow, ExcelStyle, ExcelTable, ExcelXMLTemplate, ExcelWorksheet } from "./interfaces/iExcelCreator";
export { DragAndDropService, DragSourceType, HorizontalDirection, VerticalDirection, DropTarget, DragSource, DraggingEvent } from "./dragAndDrop/dragAndDropService";
export { DragAndDropService, DragSourceType, HorizontalDirection, VerticalDirection, DropTarget, DragSource, DragItem, DraggingEvent } from "./dragAndDrop/dragAndDropService";
export { RowDropZoneParams, RowDropZoneEvents } from "./gridBodyComp/rowDragFeature";

@@ -194,3 +194,3 @@ export { DragService, DragListenerParams } from "./dragAndDrop/dragService";

export { HeaderNavigationService, HeaderNavigationDirection } from "./headerRendering/common/headerNavigationService";
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, 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, ColumnsMenuParams, ColumnMenuTab, HeaderClassParams, HeaderClass, ToolPanelClassParams, ToolPanelClass, KeyCreatorParams, SortDirection, NestedFieldPaths, IsColumnFunc, IsColumnFuncParams } from "./entities/colDef";
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, 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, ColumnMenuTab, HeaderClassParams, HeaderClass, ToolPanelClassParams, ToolPanelClass, KeyCreatorParams, SortDirection, NestedFieldPaths, IsColumnFunc, IsColumnFuncParams } from "./entities/colDef";
export { DataTypeDefinition, TextDataTypeDefinition, NumberDataTypeDefinition, BooleanDataTypeDefinition, DateDataTypeDefinition, DateStringDataTypeDefinition, ObjectDataTypeDefinition, ValueFormatterLiteFunc, ValueFormatterLiteParams, ValueParserLiteFunc, ValueParserLiteParams, } from "./entities/dataType";

@@ -216,3 +216,3 @@ export { GridOptions, IsApplyServerSideTransaction, GetContextMenuItems, GetDataPath, IsRowMaster, IsRowSelectable, IsRowFilterable, MenuItemLeafDef, MenuItemDef, GetMainMenuItems, GetRowNodeIdFunc, GetRowIdFunc, ChartRef, ChartRefParams, RowClassRules, RowStyle, RowClassParams, ServerSideStoreType, ServerSideGroupLevelParams, ServerSideStoreParams, GetServerSideGroupKey, IsServerSideGroup, GetChartToolbarItems, RowGroupingDisplayType, TreeDataDisplayType, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, DomLayoutType } from "./entities/gridOptions";

export { Environment } from "./environment";
export { ITooltipComp, ITooltipParams } from "./rendering/tooltipComponent";
export { ITooltipComp, ITooltipParams, TooltipLocation } from "./rendering/tooltipComponent";
export { CustomTooltipFeature } from "./widgets/customTooltipFeature";

@@ -219,0 +219,0 @@ export { IAggregationStage } from "./interfaces/iAggregationStage";

@@ -10,5 +10,18 @@ import { Module } from "../interfaces/iModule";

private static areGridScopedModules;
static register(module: Module, moduleBased?: boolean, gridId?: string | undefined): void;
static unRegisterGridModules(gridId: string): void;
static registerModules(modules: Module[], moduleBased?: boolean, gridId?: string | undefined): void;
/**
* Globally register the given module for all grids.
* @param module - module to register
*/
static register(module: Module): void;
/**
* Globally register the given modules for all grids.
* @param modules - modules to register
*/
static registerModules(modules: Module[]): void;
/** AG GRID INTERNAL - Module registration helper. */
static __register(module: Module, moduleBased: boolean, gridId: string | undefined): void;
/** AG GRID INTERNAL - Unregister grid scoped module. */
static __unRegisterGridModules(gridId: string): void;
/** AG GRID INTERNAL - Module registration helper. */
static __registerModules(modules: Module[], moduleBased: boolean, gridId: string | undefined): void;
private static isValidModuleVersion;

@@ -18,9 +31,15 @@ private static runVersionChecks;

/**
* INTERNAL - Set if files are being served from a single UMD bundle to provide accurate enterprise upgrade steps.
* AG GRID INTERNAL - Set if files are being served from a single UMD bundle to provide accurate enterprise upgrade steps.
*/
static setIsBundled(): void;
static assertRegistered(moduleName: ModuleNames, reason: string, gridId: string): boolean;
static isRegistered(moduleName: ModuleNames, gridId: string): boolean;
static getRegisteredModules(gridId: string): Module[];
static isPackageBased(): boolean;
static __setIsBundled(): void;
/** AG GRID INTERNAL - Assert a given module has been register, globally or individually with this grid. */
static __assertRegistered(moduleName: ModuleNames, reason: string, gridId: string): boolean;
/** AG GRID INTERNAL - Is the given module registered, globally or individually with this grid. */
static __isRegistered(moduleName: ModuleNames, gridId: string): boolean;
/** AG GRID INTERNAL - Get all registered modules globally / individually for this grid. */
static __getRegisteredModules(gridId: string): Module[];
/** AG GRID INTERNAL - Get the list of modules registered individually for this grid. */
static __getGridRegisteredModules(gridId: string): Module[];
/** INTERNAL */
static __isPackageBased(): boolean;
}

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

constructor(column: Column, rowNode: RowNode, beans: Beans, rowCtrl: RowCtrl);
shouldRestoreFocus(): boolean;
private addFeatures;

@@ -63,0 +64,0 @@ private addTooltipFeature;

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

private onSelectionChanged;
private onCheckedClicked;
private onUncheckedClicked;
private onClicked;
init(params: {

@@ -29,4 +28,5 @@ rowNode: RowNode;

}): void;
private shouldHandleIndeterminateState;
private showOrHideSelect;
private getIsVisible;
}

@@ -110,9 +110,9 @@ import { RowCtrl } from "./row/rowCtrl";

private removeAllRowComps;
private recycleRows;
private getRowsToRecycle;
private removeRowCtrls;
private onBodyScroll;
redrawAfterScroll(): void;
redraw(afterScroll?: boolean): void;
private removeRowCompsNotToDraw;
private calculateIndexesToDraw;
private redraw;
private recycleRows;
private dispatchDisplayedRowsChanged;

@@ -119,0 +119,0 @@ private onDisplayedColumnsChanged;

@@ -8,5 +8,6 @@ import { PopupComponent } from '../widgets/popupComponent';

import { IRowNode } from '../interfaces/iRowNode';
export declare type TooltipLocation = 'cell' | 'columnToolPanelColumn' | 'columnToolPanelColumnGroup' | 'filterToolPanelColumnGroup' | 'header' | 'headerGroup' | 'menu' | 'pivotColumnsList' | 'rowGroupColumnsList' | 'setFilterValue' | 'valueColumnsList' | 'UNKNOWN';
export interface ITooltipParams<TData = any, TValue = any, TContext = any> extends AgGridCommon<TData, TContext> {
/** What part of the application is showing the tooltip, e.g. 'cell', 'header', 'menuItem' etc */
location: string;
location: TooltipLocation;
/** The value to be rendered by the tooltip. */

@@ -13,0 +14,0 @@ value?: TValue | null;

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

export declare const FOCUSABLE_SELECTOR = "[tabindex], input, select, button, textarea, [href]";
export declare const FOCUSABLE_EXCLUDE = ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *";
export declare const FOCUSABLE_EXCLUDE = ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
export declare function isFocusableFormField(element: HTMLElement): boolean;

@@ -44,2 +44,8 @@ export declare function setDisplayed(element: Element, displayed: boolean, options?: {

export declare function getAbsoluteWidth(el: HTMLElement): number;
export declare function getElementRectWithOffset(el: HTMLElement): {
top: number;
left: number;
right: number;
bottom: number;
};
export declare function isRtlNegativeScroll(): boolean;

@@ -46,0 +52,0 @@ export declare function getScrollLeft(element: HTMLElement, rtl: boolean): number;

@@ -129,2 +129,8 @@ import * as AriaUtils from './aria';

getAbsoluteWidth(el: HTMLElement): number;
getElementRectWithOffset(el: HTMLElement): {
top: number;
left: number;
right: number;
bottom: number;
};
isRtlNegativeScroll(): boolean;

@@ -160,3 +166,3 @@ getScrollLeft(element: HTMLElement, rtl: boolean): number;

FOCUSABLE_SELECTOR: "[tabindex], input, select, button, textarea, [href]";
FOCUSABLE_EXCLUDE: ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *";
FOCUSABLE_EXCLUDE: ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
serialiseDate(date: Date | null, includeTime?: boolean, separator?: string): string | null;

@@ -163,0 +169,0 @@ dateToFormattedString(date: Date, format?: string): string;

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

export declare class VanillaFrameworkOverrides implements IFrameworkOverrides {
renderingEngine: 'vanilla' | 'react';
setTimeout(action: any, timeout?: any): void;

@@ -7,0 +8,0 @@ setInterval(action: any, timeout?: any): AgPromise<number>;

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

export declare const VERSION = "30.0.3";
export declare const VERSION = "30.0.5";

@@ -33,2 +33,3 @@ import { AgEvent } from "../events";

private iterateOverQuerySelectors;
protected activateTabIndex(elements?: Element[]): void;
setTemplate(template: string | null | undefined, paramsMap?: {

@@ -35,0 +36,0 @@ [key: string]: any;

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

onTabKeyDown(e: KeyboardEvent): void;
getGridTabIndex(): string;
focusInnerElement(fromBottom?: boolean): void;

@@ -48,0 +47,0 @@ getNextFocusableElement(backwards?: boolean): HTMLElement | null;

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

import { Beans } from "../rendering/beans";
import { ITooltipParams } from "../rendering/tooltipComponent";
import { ITooltipParams, TooltipLocation } from "../rendering/tooltipComponent";
import { ColDef, ColGroupDef } from "../entities/colDef";

@@ -13,3 +13,3 @@ import { WithoutGridCommon } from "../interfaces/iCommon";

getGui(): HTMLElement;
getLocation(): string;
getLocation(): TooltipLocation;
getColumn?(): Column | ColumnGroup;

@@ -16,0 +16,0 @@ getColDef?(): ColDef | ColGroupDef;

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

// Type definitions for ag-grid-community v30.0.3
// Type definitions for ag-grid-community v30.0.5
// Project: https://www.ag-grid.com/

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

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

@@ -58,8 +58,8 @@ "main": "./dist/ag-grid-community.auto.esm.mjs",

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

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

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

AG Grid is developed by a team of co-located developers in London. If you want to join the team check out our [jobs board](https://www.ag-grid.com/ag-grid-jobs-board/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) or send your application to info@ag-grid.com.
AG Grid is developed by a team of co-located developers in London. If you want to join the team send your application to info@ag-grid.com.

@@ -125,0 +125,0 @@ ## License

Sorry, the diff of this file is not supported yet

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 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

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