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 25.2.1 to 25.3.0

2

dist/lib/entities/column.d.ts

@@ -65,2 +65,4 @@ import { ColumnGroupChild } from "./columnGroupChild";

private initialise;
private initDotNotation;
private initMinAndMaxWidths;
resetActualWidth(source?: ColumnEventType): void;

@@ -67,0 +69,0 @@ isEmptyGroup(): boolean;

@@ -81,5 +81,8 @@ /************************************************************************************************

suppressClickEdit?: boolean;
tabIndex?: number;
/** Allows user to suppress certain keyboard events */
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams) => boolean;
/** @deprecated Use stopEditingWhenCellsLoseFocus instead */
stopEditingWhenGridLosesFocus?: boolean;
stopEditingWhenCellsLoseFocus?: boolean;
debug?: boolean;

@@ -191,2 +194,3 @@ icons?: any;

isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
isGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
statusBar?: {

@@ -602,1 +606,8 @@ statusPanels: StatusPanelDef[];

}
export interface IsGroupOpenByDefaultParams {
rowNode: RowNode;
rowGroupColumn: Column;
level: number;
field: string;
key: string;
}

2

dist/lib/entities/rowNode.d.ts

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

/** Groups only - The key for the group eg Ireland, UK, USA */
key: any;
key: string | null;
/** Used by server side row model, true if this row node is a stub */

@@ -116,0 +116,0 @@ stub: boolean;

@@ -254,2 +254,6 @@ import { RowNode } from './entities/rowNode';

}
export interface FullWidthCellKeyDownEvent extends RowEvent {
}
export interface FullWidthCellKeyPressEvent extends RowEvent {
}
/**------------*/

@@ -256,0 +260,0 @@ /** CELL EVENTS */

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

private getFloatingFilterInstance;
private createDynamicParams;
private getFilterComponentPrototype;
private currentParentModel;

@@ -43,0 +41,0 @@ private onParentModelChanged;

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

setLeftSpacerFixedWidth(width: number): void;
setInvisibleStyles(isInvisible: boolean): void;
includeLeftSpacerScrollerCss(cssClass: string, include: boolean): void;

@@ -11,0 +12,0 @@ includeRightSpacerScrollerCss(cssClass: string, include: boolean): void;

import { Component } from "../../widgets/component";
export declare enum RowContainerNames {
LEFT = "left",
RIGHT = "right",
CENTER = "center",
FULL_WIDTH = "fullWidth",
TOP_LEFT = "topLeft",
TOP_RIGHT = "topRight",
TOP_CENTER = "topCenter",
TOP_FULL_WITH = "topFullWidth",
BOTTOM_LEFT = "bottomLeft",
BOTTOM_RIGHT = "bottomRight",
BOTTOM_CENTER = "bottomCenter",
BOTTOM_FULL_WITH = "bottomFullWidth"
}
export declare class RowContainerComp extends Component {

@@ -17,0 +3,0 @@ private rowRenderer;

import { BeanStub } from "../../context/beanStub";
import { RowContainerNames } from "./rowContainerComp";
import { ViewportSizeFeature } from "../viewportSizeFeature";
export declare enum RowContainerNames {
LEFT = "left",
RIGHT = "right",
CENTER = "center",
FULL_WIDTH = "fullWidth",
TOP_LEFT = "topLeft",
TOP_RIGHT = "topRight",
TOP_CENTER = "topCenter",
TOP_FULL_WITH = "topFullWidth",
BOTTOM_LEFT = "bottomLeft",
BOTTOM_RIGHT = "bottomRight",
BOTTOM_CENTER = "bottomCenter",
BOTTOM_FULL_WITH = "bottomFullWidth"
}
export declare const ContainerCssClasses: Map<RowContainerNames, string>;
export declare const ViewportCssClasses: Map<RowContainerNames, string>;
export declare const WrapperCssClasses: Map<RowContainerNames, string>;
export interface RowContainerView {

@@ -17,2 +33,3 @@ setViewportHeight(height: string): void;

private eViewport;
private eWrapper;
private enableRtl;

@@ -26,3 +43,3 @@ private viewportSizeFeature;

getViewportSizeFeature(): ViewportSizeFeature;
setView(view: RowContainerView, eContainer: HTMLElement, eViewport: HTMLElement): void;
setView(view: RowContainerView, eContainer: HTMLElement, eViewport: HTMLElement, eWrapper: HTMLElement): void;
onDisplayedColumnsChanged(): void;

@@ -29,0 +46,0 @@ private onDisplayedColumnsWidthChanged;

import { RowNode } from './entities/rowNode';
import { ChartRef, FillOperationParams, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowNodeIdFunc, GetServerSideStoreParamsParams, GridOptions, IsApplyServerSideTransaction, IsRowMaster, IsRowSelectable, IsServerSideGroupOpenByDefaultParams, NavigateToNextCellParams, NavigateToNextHeaderParams, PaginationNumberFormatterParams, PostProcessPopupParams, ProcessChartOptionsParams, ProcessDataFromClipboardParams, ServerSideStoreParams, TabToNextCellParams, TabToNextHeaderParams } from './entities/gridOptions';
import { ChartRef, FillOperationParams, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowNodeIdFunc, GetServerSideStoreParamsParams, GridOptions, IsApplyServerSideTransaction, IsGroupOpenByDefaultParams, IsRowMaster, IsRowSelectable, IsServerSideGroupOpenByDefaultParams, NavigateToNextCellParams, NavigateToNextHeaderParams, PaginationNumberFormatterParams, PostProcessPopupParams, ProcessChartOptionsParams, ProcessDataFromClipboardParams, ServerSideStoreParams, TabToNextCellParams, TabToNextHeaderParams } from './entities/gridOptions';
import { GridApi } from './gridApi';

@@ -197,3 +197,3 @@ import { ColDef, ColGroupDef, IAggFunc, SuppressKeyboardEventParams } from './entities/colDef';

isSuppressClickEdit(): boolean;
isStopEditingWhenGridLosesFocus(): boolean;
isStopEditingWhenCellsLoseFocus(): boolean;
getGroupDefaultExpanded(): number | undefined;

@@ -291,2 +291,3 @@ getMaxConcurrentDatasourceRequests(): number | undefined;

getIsServerSideGroupOpenByDefaultFunc(): ((params: IsServerSideGroupOpenByDefaultParams) => boolean) | undefined;
getIsGroupOpenByDefaultFunc(): ((params: IsGroupOpenByDefaultParams) => boolean) | undefined;
getServerSideGroupKeyFunc(): ((dataItem: any) => string) | undefined;

@@ -301,2 +302,3 @@ getGroupRowAggNodesFunc(): ((nodes: RowNode[]) => any) | undefined;

getTabToNextCellFunc(): ((params: TabToNextCellParams) => CellPosition) | undefined;
getGridTabIndex(): string;
isTreeData(): boolean;

@@ -303,0 +305,0 @@ isValueCache(): boolean;

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

private refresh;
private refreshHeaderComp;
private destroyHeaderComp;

@@ -48,0 +49,0 @@ private removeMoveDragSource;

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

init(params: IHeaderGroupParams): void;
private checkWarnings;
private setupExpandIcons;

@@ -29,0 +30,0 @@ private addTouchAndClickListeners;

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

/** Iterate through each node. What this does depends on the model type. For clientSide, goes through
* all nodes. For pagination, goes through current page. For virtualPage, goes through what's loaded in memory. */
* all nodes. For serverSide, goes through what's loaded in memory. */
forEachNode(callback: (rowNode: RowNode, index: number) => void): void;

@@ -36,0 +36,0 @@ /** The base class returns the type. We use this instead of 'instanceof' as the client might provide

@@ -5,2 +5,3 @@ import { IRowModel } from "./iRowModel";

import { IServerSideDatasource } from "./iServerSideDatasource";
import { RowNode } from "../entities/rowNode";
export interface IServerSideRowModel extends IRowModel {

@@ -13,2 +14,3 @@ refreshStore(params: RefreshStoreParams): void;

setDatasource(datasource: IServerSideDatasource): void;
forEachNodeAfterFilterAndSort(callback: (node: RowNode, index: number) => void): void;
}

@@ -15,0 +17,0 @@ export interface IServerSideTransactionManager {

@@ -14,2 +14,3 @@ import { NumberSequence } from "../utils";

forEachNodeDeep(callback: (rowNode: RowNode, index: number) => void, sequence?: NumberSequence): void;
forEachNodeDeepAfterFilterAndSort(callback: (rowNode: RowNode, index: number) => void, sequence?: NumberSequence): void;
retryLoads(): void;

@@ -16,0 +17,0 @@ getRowUsingDisplayIndex(displayRowIndex: number, dontCreateBlock?: boolean): RowNode | null;

@@ -20,3 +20,2 @@ import { IComponent } from "./iComponent";

suppressPivotMode: boolean;
suppressSideButtons: boolean;
suppressColumnFilter: boolean;

@@ -23,0 +22,0 @@ suppressColumnSelectAll: boolean;

@@ -165,3 +165,3 @@ export { ColumnFactory } from "./columnController/columnFactory";

export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, SuppressHeaderKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, GetQuickFilterTextParams, ColumnFunctionCallbackParams, CheckboxSelectionCallbackParams, RowDragCallbackParams, DndSourceCallbackParams, EditableCallbackParams, SuppressPasteCallbackParams, SuppressNavigableCallbackParams, IsColumnFunc, IsColumnFuncParams } from "./entities/colDef";
export { GridOptions, IsServerSideGroupOpenByDefaultParams, IsApplyServerSideTransactionParams, IsApplyServerSideTransaction, GetContextMenuItemsParams, GetContextMenuItems, GetChartToolbarItemsParams, GetDataPath, IsRowMaster, IsRowSelectable, MenuItemDef, GetMainMenuItemsParams, GetMainMenuItems, GetRowNodeIdFunc, ProcessRowParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, PostProcessPopupParams, ProcessDataFromClipboardParams, ChartRef, ProcessChartOptionsParams, ProcessChartParams, RowClassParams, ServerSideStoreType, ServerSideStoreParams, GetServerSideStoreParamsParams } from "./entities/gridOptions";
export { GridOptions, IsServerSideGroupOpenByDefaultParams, IsGroupOpenByDefaultParams, IsApplyServerSideTransactionParams, IsApplyServerSideTransaction, GetContextMenuItemsParams, GetContextMenuItems, GetChartToolbarItemsParams, GetDataPath, IsRowMaster, IsRowSelectable, MenuItemDef, GetMainMenuItemsParams, GetMainMenuItems, GetRowNodeIdFunc, ProcessRowParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, PostProcessPopupParams, ProcessDataFromClipboardParams, ChartRef, ProcessChartOptionsParams, ProcessChartParams, RowClassParams, ServerSideStoreType, ServerSideStoreParams, GetServerSideStoreParamsParams } from "./entities/gridOptions";
export * from "./propertyKeys";

@@ -168,0 +168,0 @@ export { OriginalColumnGroupChild } from "./entities/originalColumnGroupChild";

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

checkbox: any;
rowDrag?: boolean;
innerRenderer?: {

@@ -24,2 +25,3 @@ new (): ICellRendererComp;

private static TEMPLATE;
private rowRenderer;
private expressionService;

@@ -41,4 +43,4 @@ private valueFormatterService;

constructor();
private isTopLevelFooter;
init(params: GroupCellRendererParams): void;
private assignBlankValueToGroupFooterCell;
private isEmbeddedRowMismatch;

@@ -53,2 +55,3 @@ private setIndent;

private useFullWidth;
private addFullWidthRowDraggerIfNeeded;
private addChildCount;

@@ -55,0 +58,0 @@ private updateChildCount;

@@ -8,11 +8,10 @@ import { IComponent } from "../../interfaces/iComponent";

export interface ICellRendererParams {
fullWidth?: boolean;
pinned?: string | null;
value: any;
valueFormatted: any;
getValue: () => any;
setValue: (value: any) => void;
formatValue: (value: any) => any;
data: any;
node: RowNode;
colDef: ColDef;
column: Column;
colDef?: ColDef;
column?: Column;
$scope: any;

@@ -23,7 +22,16 @@ rowIndex: number;

context: any;
refreshCell: () => void;
eGridCell: HTMLElement;
eParentOfValue: HTMLElement;
registerRowDragger: (rowDraggerElement: HTMLElement, dragStartPixels?: number) => void;
getValue?: () => any;
setValue?: (value: any) => void;
formatValue?: (value: any) => any;
refreshCell?: () => void;
addRenderedRowListener: (eventType: string, listener: Function) => void;
/**
* registerRowDragger: Function
* @param rowDraggerElement The HTMLElement to be used as Row Dragger
* @param dragStartPixels The amount of pixels required to start the drag (Default: 4)
* @param value The value to be displayed while dragging. Note: Only relevant with Full Width Rows.
*/
registerRowDragger: (rowDraggerElement: HTMLElement, dragStartPixels?: number, value?: string) => void;
}

@@ -30,0 +38,0 @@ export interface ISetFilterCellRendererParams {

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

import { Column } from '../entities/column';
import { Component } from '../widgets/component';
import { RowNode } from '../entities/rowNode';
export declare class CheckboxSelectionComponent extends Component {

@@ -6,3 +8,2 @@ private eCheckbox;

private column;
private isRowSelectableFunc;
constructor();

@@ -16,5 +17,8 @@ private postConstruct;

private onUncheckedClicked;
init(params: any): void;
init(params: {
rowNode: RowNode;
column?: Column;
}): void;
private showOrHideSelect;
private checkboxCallbackExists;
}

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

import { Column } from "../../entities/column";
import { CellFocusedEvent } from "../../events";
import { CellFocusedEvent, RowEvent } from "../../events";
import { IFrameworkOverrides } from "../../interfaces/iFrameworkOverrides";

@@ -11,2 +11,3 @@ import { RowPosition } from "../../entities/rowPosition";

import { BeanStub } from "../../context/beanStub";
import { ICellRendererParams } from "../cellRenderers/iCellRenderer";
export declare enum RowType {

@@ -90,3 +91,3 @@ Normal = "Normal",

onMouseEvent(eventName: string, mouseEvent: MouseEvent): void;
private createRowEvent;
createRowEvent(type: string, domEvent?: Event): RowEvent;
private createRowEventWithSource;

@@ -97,3 +98,4 @@ private onRowDblClick;

setupDetailRowAutoHeight(eDetailGui: HTMLElement): void;
createFullWidthParams(eRow: HTMLElement, pinned: string | null): any;
createFullWidthParams(eRow: HTMLElement, pinned: string | null): ICellRendererParams;
private addFullWidthRowDragging;
private onUiLevelChanged;

@@ -100,0 +102,0 @@ private isFirstRowOnPage;

import { Component } from "../../widgets/component";
import { RowNode } from "../../entities/rowNode";
import { DragItem } from "../../dragAndDrop/dragAndDropService";
import { Beans } from "../beans";
import { Column } from "../../entities/column";

@@ -10,6 +9,5 @@ export interface IRowDragItem extends DragItem {

export declare class RowDragComp extends Component {
private readonly cellValueFn;
private readonly rowNode;
private readonly column;
private readonly cellValueFn;
private readonly beans;
private readonly column?;
private readonly customGui?;

@@ -19,3 +17,4 @@ private readonly dragStartPixels?;

private dragSource;
constructor(rowNode: RowNode, column: Column, cellValueFn: () => string, beans: Beans, customGui?: HTMLElement | undefined, dragStartPixels?: number | undefined);
constructor(cellValueFn: () => string, rowNode: RowNode, column?: Column | undefined, customGui?: HTMLElement | undefined, dragStartPixels?: number | undefined);
private beans;
private postConstruct;

@@ -22,0 +21,0 @@ setDragElement(dragElement: HTMLElement, dragStartPixels?: number): void;

@@ -10,2 +10,3 @@ export declare function isBrowserIE(): boolean;

export declare function getScrollbarWidth(): number | null;
export declare function isInvisibleScrollbar(): boolean;
/** @deprecated */

@@ -12,0 +13,0 @@ export declare function hasOverflowScrolling(): boolean;

@@ -22,3 +22,4 @@ /**

export declare function debounce(func: (...args: any[]) => void, wait: number, immediate?: boolean): (...args: any[]) => void;
export declare function waitUntil(condition: () => boolean, callback: () => void, timeout?: number, timeoutMessage?: string): void;
export declare function compose(...fns: Function[]): (arg: any) => any;
export declare function callIfPresent(func: Function): void;

@@ -12,3 +12,3 @@ export declare function fuzzyCheckStrings(inputValues: string[], validValues: string[], allSuggestions: string[]): {

*/
export declare function fuzzySuggestions(inputValue: string, allSuggestions: string[], hideIrrelevant?: boolean, weighted?: true): string[];
export declare function fuzzySuggestions(inputValue: string, allSuggestions: string[], hideIrrelevant?: boolean, weighted?: boolean): string[];
/**

@@ -15,0 +15,0 @@ * Algorithm to do fuzzy search

@@ -83,3 +83,3 @@ export declare const _: {

};
fuzzySuggestions(inputValue: string, allSuggestions: string[], hideIrrelevant?: boolean | undefined, weighted?: true | undefined): string[];
fuzzySuggestions(inputValue: string, allSuggestions: string[], hideIrrelevant?: boolean | undefined, weighted?: boolean | undefined): string[];
get_bigrams(from: string): any[];

@@ -96,2 +96,3 @@ string_distances(str1: string, str2: string): number;

debounce(func: (...args: any[]) => void, wait: number, immediate?: boolean): (...args: any[]) => void;
waitUntil(condition: () => boolean, callback: () => void, timeout?: number, timeoutMessage?: string | undefined): void;
compose(...fns: Function[]): (arg: any) => any;

@@ -181,2 +182,3 @@ callIfPresent(func: Function): void;

getScrollbarWidth(): number | null;
isInvisibleScrollbar(): boolean;
hasOverflowScrolling(): boolean;

@@ -183,0 +185,0 @@ getBodyWidth(): number;

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

// Type definitions for ag-grid-community v25.2.1
// Type definitions for ag-grid-community v25.3.0
// Project: http://www.ag-grid.com/

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

{
"name": "ag-grid-community",
"version": "25.2.1",
"version": "25.3.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components",

@@ -52,7 +52,7 @@ "main": "./dist/ag-grid-community.cjs.js",

"devDependencies": {
"@ag-grid-community/all-modules": "~25.2.0",
"@ag-grid-community/core": "~25.2.0",
"@ag-grid-community/client-side-row-model": "~25.2.0",
"@ag-grid-community/csv-export": "~25.2.0",
"@ag-grid-community/infinite-row-model": "~25.2.0",
"@ag-grid-community/all-modules": "~25.3.0",
"@ag-grid-community/core": "~25.3.0",
"@ag-grid-community/client-side-row-model": "~25.3.0",
"@ag-grid-community/csv-export": "~25.3.0",
"@ag-grid-community/infinite-row-model": "~25.3.0",
"gulp": "^4.0.0",

@@ -74,2 +74,2 @@ "gulp-clean": "^0.4.0",

}
}
}

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

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

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