ag-grid-community
Advanced tools
Comparing version 25.0.1 to 25.1.0
@@ -61,14 +61,15 @@ import { ColumnGroup } from '../entities/columnGroup'; | ||
private gridColsArePrimary; | ||
private displayedLeftColumnTree; | ||
private displayedRightColumnTree; | ||
private displayedCentreColumnTree; | ||
private displayedLeftHeaderRows; | ||
private displayedRightHeaderRows; | ||
private displayedCentreHeaderRows; | ||
private displayedLeftColumns; | ||
private displayedRightColumns; | ||
private displayedCenterColumns; | ||
private allDisplayedColumns; | ||
private allDisplayedVirtualColumns; | ||
private allDisplayedCenterVirtualColumns; | ||
private displayedTreeLeft; | ||
private displayedTreeRight; | ||
private displayedTreeCentre; | ||
private displayedColumnsLeft; | ||
private displayedColumnsRight; | ||
private displayedColumnsCenter; | ||
private displayedColumns; | ||
private displayedColumnsAndGroupsMap; | ||
private viewportColumns; | ||
private viewportColumnsCenter; | ||
private viewportRowLeft; | ||
private viewportRowRight; | ||
private viewportRowCenter; | ||
private colSpanActive; | ||
@@ -109,6 +110,6 @@ private autoRowHeightColumns; | ||
getAllAutoRowHeightCols(): Column[]; | ||
private setVirtualViewportLeftAndRight; | ||
private setViewport; | ||
getDisplayedColumnsStartingAt(column: Column): Column[]; | ||
private checkDisplayedVirtualColumns; | ||
setVirtualViewportPosition(scrollWidth: number, scrollPosition: number): void; | ||
private checkViewportColumns; | ||
setViewportPosition(scrollWidth: number, scrollPosition: number): void; | ||
isPivotMode(): boolean; | ||
@@ -125,20 +126,19 @@ private isPivotSettingAllowed; | ||
private getColumnsFromTree; | ||
getAllDisplayedColumnGroups(): ColumnGroupChild[] | null; | ||
getAllDisplayedTrees(): ColumnGroupChild[] | null; | ||
getPrimaryColumnTree(): OriginalColumnGroupChild[]; | ||
getHeaderRowCount(): number; | ||
getLeftDisplayedColumnGroups(): ColumnGroupChild[]; | ||
getRightDisplayedColumnGroups(): ColumnGroupChild[]; | ||
getCenterDisplayedColumnGroups(): ColumnGroupChild[]; | ||
getDisplayedColumnGroups(type: string): ColumnGroupChild[]; | ||
getDisplayedTreeLeft(): ColumnGroupChild[]; | ||
getDisplayedTreeRight(): ColumnGroupChild[]; | ||
getDisplayedTreeCentre(): ColumnGroupChild[]; | ||
isColumnDisplayed(column: Column): boolean; | ||
getAllDisplayedColumns(): Column[]; | ||
getAllDisplayedVirtualColumns(): Column[]; | ||
getViewportColumns(): Column[]; | ||
getDisplayedLeftColumnsForRow(rowNode: RowNode): Column[]; | ||
getDisplayedRightColumnsForRow(rowNode: RowNode): Column[]; | ||
private getDisplayedColumnsForRow; | ||
getAllDisplayedCenterVirtualColumnsForRow(rowNode: RowNode): Column[]; | ||
getViewportCenterColumnsForRow(rowNode: RowNode): Column[]; | ||
getAriaColumnIndex(col: Column): number; | ||
private isColumnInViewport; | ||
getPinnedLeftContainerWidth(): number; | ||
getPinnedRightContainerWidth(): number; | ||
getDisplayedColumnsLeftWidth(): number; | ||
getDisplayedColumnsRightWidth(): number; | ||
updatePrimaryColumnList(keys: (string | Column)[] | null, masterList: Column[], actionIsAdd: boolean, columnCallback: (column: Column) => void, eventType: string, source?: ColumnEventType): void; | ||
@@ -217,4 +217,5 @@ setRowGroupColumns(colKeys: (string | Column)[], source?: ColumnEventType): void; | ||
private orderColumnStateList; | ||
resetColumnState(suppressEverythingEvent?: boolean, source?: ColumnEventType): void; | ||
resetColumnState(source?: ColumnEventType): void; | ||
applyColumnState(params: ApplyColumnStateParams, source?: ColumnEventType): boolean; | ||
private applyOrderAfterApplyState; | ||
private compareColumnStatesAndRaiseEvents; | ||
@@ -269,14 +270,14 @@ private raiseColumnPinnedEvent; | ||
private addAutoGroupToGridColumns; | ||
private clearDisplayedColumns; | ||
private clearDisplayedAndViewportColumns; | ||
private updateGroupsAndDisplayedColumns; | ||
private updateDisplayedColumnsFromTrees; | ||
private setupAllDisplayedColumns; | ||
private deriveDisplayedColumns; | ||
private joinDisplayedColumns; | ||
private setLeftValues; | ||
private setLeftValuesOfColumns; | ||
private setLeftValuesOfGroups; | ||
private addToDisplayedColumns; | ||
private updateDisplayedCenterVirtualColumns; | ||
private derivedDisplayedColumnsFromDisplayedTree; | ||
private extractViewportColumns; | ||
getVirtualHeaderGroupRow(type: string | null, dept: number): ColumnGroupChild[]; | ||
private updateDisplayedVirtualGroups; | ||
private updateVirtualSets; | ||
private extractViewportRows; | ||
private extractViewport; | ||
private filterOutColumnsWithinViewport; | ||
@@ -293,2 +294,4 @@ refreshFlexedColumns(params?: { | ||
private buildDisplayedTrees; | ||
private updateDisplayedMap; | ||
isDisplayed(item: ColumnGroupChild): boolean; | ||
private updateOpenClosedVisibilityInColumnGroups; | ||
@@ -295,0 +298,0 @@ getGroupAutoColumns(): Column[] | null; |
import { ColDef, ColGroupDef } from "../entities/colDef"; | ||
import { OriginalColumnGroupChild } from "../entities/originalColumnGroupChild"; | ||
import { OriginalColumnGroup } from "../entities/originalColumnGroup"; | ||
import { Column } from "../entities/column"; | ||
@@ -9,6 +10,7 @@ import { BeanStub } from "../context/beanStub"; | ||
private setBeans; | ||
createColumnTree(defs: (ColDef | ColGroupDef)[] | null, primaryColumns: boolean, existingColumns?: Column[]): { | ||
createColumnTree(defs: (ColDef | ColGroupDef)[] | null, primaryColumns: boolean, existingTree?: OriginalColumnGroupChild[]): { | ||
columnTree: OriginalColumnGroupChild[]; | ||
treeDept: number; | ||
}; | ||
private extractExistingTreeData; | ||
createForAutoGroups(autoGroupCols: Column[], gridBalancedTree: OriginalColumnGroupChild[]): OriginalColumnGroupChild[]; | ||
@@ -25,2 +27,3 @@ private createAutoGroupTreeItem; | ||
findExistingColumn(newColDef: ColDef, existingColsCopy: Column[] | null): Column | null; | ||
findExistingGroup(newGroupDef: ColGroupDef, existingGroups: OriginalColumnGroup[]): OriginalColumnGroup | null; | ||
mergeColDefs(colDef: ColDef): ColDef; | ||
@@ -27,0 +30,0 @@ private assignColumnTypes; |
@@ -76,3 +76,3 @@ import { GridOptions } from "../../entities/gridOptions"; | ||
* (global) or columnDef mostly. | ||
* @param paramsFromGrid: Params to be passed to the component and passed by ag-Grid. This will get merged with any params | ||
* @param paramsFromGrid: Params to be passed to the component and passed by AG Grid. This will get merged with any params | ||
* specified by the user in the configuration | ||
@@ -92,3 +92,3 @@ * @param propertyName: The name of the property used in ag-grid as a convention to refer to the component, it can be: | ||
* @param clazz: The class to instantiate, | ||
* @param agGridParams: Params to be passed to the component and passed by ag-Grid. This will get merged with any params | ||
* @param agGridParams: Params to be passed to the component and passed by AG Grid. This will get merged with any params | ||
* specified by the user in the configuration | ||
@@ -126,3 +126,3 @@ * @param modifyParamsCallback: A chance to customise the params passed to the init method. It receives what the current | ||
* 'floatingFilter', 'cellRenderer', is used to find if the user is specifying a custom component | ||
* @param paramsFromGrid: Params to be passed to the component and passed by ag-Grid. This will get merged with any params | ||
* @param paramsFromGrid: Params to be passed to the component and passed by AG Grid. This will get merged with any params | ||
* specified by the user in the configuration | ||
@@ -129,0 +129,0 @@ * @returns {TParams} It merges the user agGridParams with the actual params specified by the user. |
export declare class Constants { | ||
static STEP_EVERYTHING: number; | ||
static STEP_FILTER: number; | ||
static STEP_SORT: number; | ||
static STEP_MAP: number; | ||
static STEP_AGGREGATE: number; | ||
static STEP_PIVOT: number; | ||
static ROW_BUFFER_SIZE: number; | ||
@@ -9,0 +3,0 @@ static LAYOUT_INTERVAL: number; |
@@ -76,3 +76,3 @@ import { BeanStub } from "../context/beanStub"; | ||
getContainer(): HTMLElement; | ||
/** If any secondary containers. For example when moving columns in ag-Grid, we listen for drops | ||
/** If any secondary containers. For example when moving columns in AG Grid, we listen for drops | ||
* in the header as well as the body (main rows and pinned rows) of the grid. */ | ||
@@ -79,0 +79,0 @@ getSecondaryContainers?(): HTMLElement[]; |
import { BeanStub } from "../context/beanStub"; | ||
/** Adds drag listening onto an element. In ag-Grid this is used twice, first is resizing columns, | ||
/** Adds drag listening onto an element. In AG Grid this is used twice, first is resizing columns, | ||
* second is moving the columns and column groups around (ie the 'drag' part of Drag and Drop. */ | ||
@@ -4,0 +4,0 @@ export declare class DragService extends BeanStub { |
@@ -14,2 +14,3 @@ import { RowNode } from "./rowNode"; | ||
import { ColumnGroup } from "./columnGroup"; | ||
import { RowClassParams } from "./gridOptions"; | ||
/*********************************************************************** | ||
@@ -55,9 +56,9 @@ * Don't forget to update PropertyKeys if changing this class. PLEASE! * | ||
marryChildren?: boolean; | ||
/** The custom header group component to be used for rendering the component header. If none specified the default ag-Grid is used**/ | ||
/** The custom header group component to be used for rendering the component header. If none specified the default AG Grid is used**/ | ||
headerGroupComponent?: string | { | ||
new (): IHeaderGroupComp; | ||
}; | ||
/** The custom header group component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default ag-Grid is used**/ | ||
/** The custom header group component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default AG Grid is used**/ | ||
headerGroupComponentFramework?: any; | ||
/** The custom header group component to be used for rendering the component header. If none specified the default ag-Grid is used**/ | ||
/** The custom header group component to be used for rendering the component header. If none specified the default AG Grid is used**/ | ||
headerGroupComponentParams?: any; | ||
@@ -195,3 +196,3 @@ } | ||
/** Set to true to render a selection checkbox in the column. */ | ||
checkboxSelection?: boolean | ((params: any) => boolean) | null; | ||
checkboxSelection?: boolean | ((params: CheckboxSelectionCallbackParams) => boolean); | ||
/** If true, a 'select all' checkbox will be put into the header */ | ||
@@ -202,7 +203,7 @@ headerCheckboxSelection?: boolean | ((params: any) => boolean); | ||
/** For grid row dragging, set to true to enable row dragging within the grid */ | ||
rowDrag?: boolean | ((params: any) => boolean); | ||
rowDrag?: boolean | ((params: RowDragCallbackParams) => boolean); | ||
/** To configure the text to be displayed in the floating div while dragging a row when rowDrag is true */ | ||
rowDragText?: ((params: IRowDragItem, dragItemCount: number) => string); | ||
/** For native drag and drop, set to true to enable drag source */ | ||
dndSource?: boolean | ((params: any) => boolean); | ||
dndSource?: boolean | ((params: DndSourceCallbackParams) => boolean); | ||
/** For native drag and drop, set to true to allow custom onRowDrag processing */ | ||
@@ -247,9 +248,9 @@ dndSourceOnRowDrag?: ((params: { | ||
/** Set to true if this col is editable, otherwise false. Can also be a function to have different rows editable. */ | ||
editable?: boolean | IsColumnFunc; | ||
editable?: boolean | ((params: EditableCallbackParams) => boolean); | ||
colSpan?: (params: ColSpanParams) => number; | ||
rowSpan?: (params: RowSpanParams) => number; | ||
/** Set to true if this col should not be allowed take new values from the clipboard . */ | ||
suppressPaste?: boolean | IsColumnFunc; | ||
/** Set to tru if this col should not be navigable with the tab key. Can also be a function to have different rows editable. */ | ||
suppressNavigable?: boolean | IsColumnFunc; | ||
suppressPaste?: boolean | ((params: SuppressPasteCallbackParams) => boolean); | ||
/** Set to true if this col should not be navigable with the tab key. Can also be a function to have different rows editable. */ | ||
suppressNavigable?: boolean | ((params: SuppressNavigableCallbackParams) => boolean); | ||
/** To create the quick filter text for this column, if toString is not good enough on the value. */ | ||
@@ -290,7 +291,7 @@ getQuickFilterText?: (params: GetQuickFilterTextParams) => string; | ||
pivotTotalColumnIds?: string[]; | ||
/** The custom header component to be used for rendering the component header. If none specified the default ag-Grid is used**/ | ||
/** The custom header component to be used for rendering the component header. If none specified the default AG Grid is used**/ | ||
headerComponent?: string | { | ||
new (): any; | ||
}; | ||
/** The custom header component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default ag-Grid is used**/ | ||
/** The custom header component to be used for rendering the component header in the hosting framework (ie: React/Angular). If none specified the default AG Grid is used**/ | ||
headerComponentFramework?: any; | ||
@@ -309,6 +310,3 @@ /** The custom header component parameters**/ | ||
} | ||
export interface IsColumnFunc { | ||
(params: IsColumnFuncParams): boolean; | ||
} | ||
export interface IsColumnFuncParams { | ||
export interface ColumnFunctionCallbackParams { | ||
node: RowNode; | ||
@@ -322,2 +320,27 @@ data: any; | ||
} | ||
export interface CheckboxSelectionCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface RowDragCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface DndSourceCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface EditableCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface SuppressPasteCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface SuppressNavigableCallbackParams extends ColumnFunctionCallbackParams { | ||
} | ||
/** | ||
* @deprecated | ||
* No longer in use. Replaced with (params: ColumnFunctionCallbackParams) => boolean. | ||
*/ | ||
export interface IsColumnFunc { | ||
(params: IsColumnFuncParams): boolean; | ||
} | ||
/** | ||
* @deprecated | ||
* Replaced with ColumnFunctionCallbackParams | ||
*/ | ||
export interface IsColumnFuncParams extends ColumnFunctionCallbackParams { | ||
} | ||
export interface GetQuickFilterTextParams { | ||
@@ -367,3 +390,3 @@ value: any; | ||
} | ||
export interface SuppressKeyboardEventParams extends IsColumnFuncParams { | ||
export interface SuppressKeyboardEventParams extends ColumnFunctionCallbackParams { | ||
event: KeyboardEvent; | ||
@@ -381,12 +404,5 @@ editing: boolean; | ||
} | ||
export interface CellClassParams { | ||
export interface CellClassParams extends RowClassParams { | ||
colDef: ColDef; | ||
value: any; | ||
data: any; | ||
node: RowNode; | ||
colDef?: ColDef; | ||
rowIndex: number; | ||
$scope: any; | ||
api: GridApi; | ||
columnApi: ColumnApi; | ||
context: any; | ||
} |
@@ -76,3 +76,3 @@ import { ColumnGroupChild } from "./columnGroupChild"; | ||
removeEventListener(eventType: string, listener: Function): void; | ||
private createIsColumnFuncParams; | ||
private createColumnFunctionCallbackParams; | ||
isSuppressNavigable(rowNode: RowNode): boolean; | ||
@@ -79,0 +79,0 @@ isCellEditable(rowNode: RowNode): boolean; |
@@ -10,3 +10,2 @@ import { ColumnGroupChild } from "./columnGroupChild"; | ||
static HEADER_GROUP_SHOW_CLOSED: string; | ||
static HEADER_GROUP_PADDING: string; | ||
static EVENT_LEFT_CHANGED: string; | ||
@@ -13,0 +12,0 @@ static EVENT_DISPLAYED_CHILDREN_CHANGED: string; |
@@ -59,2 +59,3 @@ /************************************************************************************************ | ||
suppressHorizontalScroll?: boolean; | ||
alwaysShowHorizontalScroll?: boolean; | ||
alwaysShowVerticalScroll?: boolean; | ||
@@ -126,2 +127,3 @@ debounceVerticalScrollbar?: boolean; | ||
rememberGroupStateWhenNewData?: boolean; | ||
suppressModelUpdateAfterUpdateTransaction?: boolean; | ||
viewportRowModelPageSize?: number; | ||
@@ -463,2 +465,11 @@ viewportRowModelBufferSize?: number; | ||
} | ||
export interface RowClassParams { | ||
data: any; | ||
node: RowNode; | ||
rowIndex: number; | ||
$scope: any; | ||
api: GridApi; | ||
columnApi: ColumnApi; | ||
context: any; | ||
} | ||
export interface ProcessChartOptionsParams { | ||
@@ -465,0 +476,0 @@ type: ChartType; |
@@ -36,3 +36,3 @@ import { OriginalColumnGroupChild } from "./originalColumnGroupChild"; | ||
setExpandable(): void; | ||
findChildren(): OriginalColumnGroupChild[]; | ||
private findChildrenRemovingPadding; | ||
private onColumnVisibilityChanged; | ||
@@ -39,0 +39,0 @@ addEventListener(eventType: string, listener: Function): void; |
@@ -40,2 +40,3 @@ import { AgEvent } from "../events"; | ||
static EVENT_TOP_CHANGED: string; | ||
static EVENT_DISPLAYED_CHANGED: string; | ||
static EVENT_FIRST_CHILD_CHANGED: string; | ||
@@ -52,2 +53,3 @@ static EVENT_LAST_CHILD_CHANGED: string; | ||
private mainEventService; | ||
private rowRenderer; | ||
private gridOptionsWrapper; | ||
@@ -101,3 +103,3 @@ private selectionController; | ||
/** The index of this node in the grid, only valid if node is displayed in the grid, otherwise it should be ignored as old index may be present */ | ||
rowIndex: number | undefined; | ||
rowIndex: number | null; | ||
/** Either 'top' or 'bottom' if row pinned, otherwise undefined or null */ | ||
@@ -146,2 +148,6 @@ rowPinned: string; | ||
rowHeightEstimated: boolean; | ||
/** | ||
* True if the RowNode is not filtered, or in a collapsed group. | ||
*/ | ||
displayed: boolean; | ||
/** The top pixel for this row */ | ||
@@ -189,3 +195,2 @@ rowTop: number | null; | ||
isPixelInRange(pixel: number): boolean; | ||
clearRowTop(): void; | ||
setFirstChild(firstChild: boolean): void; | ||
@@ -195,2 +200,4 @@ setLastChild(lastChild: boolean): void; | ||
setRowTop(rowTop: number | null): void; | ||
clearRowTopAndRowIndex(): void; | ||
private setDisplayed; | ||
setDragging(dragging: boolean): void; | ||
@@ -201,3 +208,3 @@ setHighlighted(highlighted: 'above' | 'below' | null): void; | ||
setRowHeight(rowHeight: number | undefined | null, estimated?: boolean): void; | ||
setRowIndex(rowIndex?: number): void; | ||
setRowIndex(rowIndex: number | null): void; | ||
setUiLevel(uiLevel: number): void; | ||
@@ -204,0 +211,0 @@ setExpanded(expanded: boolean): void; |
@@ -110,3 +110,3 @@ export declare class Events { | ||
static EVENT_PAGINATION_CHANGED: string; | ||
/** Only used by React, Angular 2+, Web Components and VueJS ag-Grid components | ||
/** Only used by React, Angular 2+, Web Components and VueJS AG Grid components | ||
* (not used if doing plain JavaScript or Angular 1.x). If the grid receives changes due | ||
@@ -113,0 +113,0 @@ * to bound properties, this event fires after the grid has finished processing the change. */ |
@@ -231,3 +231,3 @@ import { RowNode } from './entities/rowNode'; | ||
data: any; | ||
rowIndex: number; | ||
rowIndex: number | null; | ||
rowPinned: string; | ||
@@ -234,0 +234,0 @@ context: any; |
@@ -16,3 +16,3 @@ import { LoggerFactory } from "./logger"; | ||
private firedEvents; | ||
setBeans(loggerFactory: LoggerFactory, gridOptionsWrapper: GridOptionsWrapper, globalEventListener: Function | null | undefined, frameworkOverrides: IFrameworkOverrides): void; | ||
setBeans(loggerFactory: LoggerFactory, gridOptionsWrapper: GridOptionsWrapper, frameworkOverrides: IFrameworkOverrides, globalEventListener?: Function | null): void; | ||
private getListeners; | ||
@@ -19,0 +19,0 @@ addEventListener(eventType: string, listener: Function, async?: boolean): void; |
@@ -1,2 +0,2 @@ | ||
import { ProvidedFilterModel, IDoesFilterPassParams, IFilterComp, IFilterParams } from '../../interfaces/iFilter'; | ||
import { IDoesFilterPassParams, IFilterComp, IFilterParams } from '../../interfaces/iFilter'; | ||
import { IRowModel } from '../../interfaces/iRowModel'; | ||
@@ -19,6 +19,6 @@ import { IAfterGuiAttachedParams } from '../../interfaces/iAfterGuiAttachedParams'; | ||
* Contains common logic to all provided filters (apply button, clear button, etc). | ||
* All the filters that come with ag-Grid extend this class. User filters do not | ||
* All the filters that come with AG Grid extend this class. User filters do not | ||
* extend this class. | ||
*/ | ||
export declare abstract class ProvidedFilter extends ManagedFocusComponent implements IFilterComp { | ||
export declare abstract class ProvidedFilter<T> extends ManagedFocusComponent implements IFilterComp { | ||
private readonly filterNameKey; | ||
@@ -38,7 +38,7 @@ private newRowsActionKeep; | ||
protected abstract resetUiToDefaults(silent?: boolean): AgPromise<void>; | ||
protected abstract setModelIntoUi(model: ProvidedFilterModel): AgPromise<void>; | ||
protected abstract areModelsEqual(a: ProvidedFilterModel, b: ProvidedFilterModel): boolean; | ||
protected abstract setModelIntoUi(model: T): AgPromise<void>; | ||
protected abstract areModelsEqual(a: T, b: T): boolean; | ||
/** Used to get the filter type for filter models. */ | ||
protected abstract getFilterType(): string; | ||
abstract getModelFromUi(): ProvidedFilterModel | null; | ||
abstract getModelFromUi(): T | null; | ||
getFilterTitle(): string; | ||
@@ -56,4 +56,4 @@ /** @deprecated */ | ||
private setupOnBtApplyDebounce; | ||
getModel(): ProvidedFilterModel | null; | ||
setModel(model: ProvidedFilterModel): AgPromise<void>; | ||
getModel(): T | null; | ||
setModel(model: T | null): AgPromise<void>; | ||
private onBtCancel; | ||
@@ -66,3 +66,3 @@ private onBtClear; | ||
applyModel(): boolean; | ||
protected isModelValid(model: ProvidedFilterModel): boolean; | ||
protected isModelValid(model: T): boolean; | ||
protected onBtApply(afterFloatingFilter?: boolean, afterDataChange?: boolean, e?: Event): void; | ||
@@ -69,0 +69,0 @@ onNewRowsLoaded(): void; |
@@ -30,3 +30,3 @@ import { IDoesFilterPassParams, IFilterOptionDef, ProvidedFilterModel } from '../../interfaces/iFilter'; | ||
*/ | ||
export declare abstract class SimpleFilter<M extends ISimpleFilterModel> extends ProvidedFilter { | ||
export declare abstract class SimpleFilter<M extends ISimpleFilterModel> extends ProvidedFilter<M | ICombinedSimpleModel<M>> { | ||
static EMPTY: string; | ||
@@ -33,0 +33,0 @@ static EQUALS: string; |
@@ -18,2 +18,3 @@ import { IDoesFilterPassParams } from '../../../interfaces/iFilter'; | ||
textFormatter?: (from: string) => string; | ||
trimInput?: boolean; | ||
} | ||
@@ -31,3 +32,3 @@ export declare class TextFilter extends SimpleFilter<TextFilterModel> { | ||
constructor(); | ||
static cleanInput(value?: string | null): string | null | undefined; | ||
static trimInput(value?: string | null): string | null | undefined; | ||
protected getDefaultDebounceMs(): number; | ||
@@ -34,0 +35,0 @@ private getCleanValue; |
@@ -17,2 +17,3 @@ import { BeanStub } from "./context/beanStub"; | ||
private readonly rangeController; | ||
static AG_KEYBOARD_FOCUS: string; | ||
private gridCore; | ||
@@ -19,0 +20,0 @@ private focusedCellPosition; |
@@ -147,3 +147,3 @@ import { ColumnApi } from "./columnController/columnApi"; | ||
exportDataAsCsv(params?: CsvExportParams): void; | ||
getDataAsExcel(params?: ExcelExportParams): string | undefined; | ||
getDataAsExcel(params?: ExcelExportParams): string | Blob | undefined; | ||
exportDataAsExcel(params?: ExcelExportParams): void; | ||
@@ -186,2 +186,3 @@ /** @deprecated */ | ||
}; | ||
setAlwaysShowHorizontalScroll(show: boolean): void; | ||
setAlwaysShowVerticalScroll(show: boolean): void; | ||
@@ -188,0 +189,0 @@ refreshToolPanel(): void; |
@@ -111,2 +111,3 @@ import { RowNode } from './entities/rowNode'; | ||
isExcludeChildrenWhenTreeDataFiltering(): boolean; | ||
isAlwaysShowHorizontalScroll(): boolean; | ||
isAlwaysShowVerticalScroll(): boolean; | ||
@@ -303,2 +304,3 @@ isDebounceVerticalScrollbar(): boolean; | ||
isTooltipMouseTrack(): boolean; | ||
isSuppressModelUpdateAfterUpdateTransaction(): boolean; | ||
getDocument(): Document; | ||
@@ -305,0 +307,0 @@ getMinColWidth(): number | undefined; |
import { RowContainerComponent } from '../rendering/row/rowContainerComponent'; | ||
import { RowComp } from '../rendering/row/rowComp'; | ||
import { RowDragFeature } from './rowDragFeature'; | ||
@@ -70,2 +71,3 @@ import { Component } from '../widgets/component'; | ||
private scrollTop; | ||
private nextScrollTop; | ||
private centerWidth; | ||
@@ -111,2 +113,4 @@ private lastHorizontalScrollElement; | ||
private processKeyboardEvent; | ||
private processCellKeyboardEvent; | ||
processFullWidthRowKeyboardEvent(rowComp: RowComp, eventName: string, keyboardEvent: KeyboardEvent): void; | ||
private doGridOperations; | ||
@@ -125,4 +129,4 @@ scrollToTop(): void; | ||
getCenterWidth(): number; | ||
isHorizontalScrollShowing(): boolean; | ||
isVerticalScrollShowing(): boolean; | ||
isHorizontalScrollShowing(): boolean; | ||
private onScrollbarWidthChanged; | ||
@@ -167,2 +171,3 @@ checkViewportAndScrolls(): void; | ||
private onVerticalScroll; | ||
executeAnimationFrameScroll(): boolean; | ||
private shouldBlockScrollUpdate; | ||
@@ -169,0 +174,0 @@ private isControllingScroll; |
@@ -16,5 +16,6 @@ import { GridPanel } from "./gridPanel"; | ||
private setTimeLastPageEventProcessed; | ||
private navigateTo; | ||
private onPageDown; | ||
private onPageUp; | ||
private navigateTo; | ||
private getIndexToFocus; | ||
private onCtrlUpOrDown; | ||
@@ -21,0 +22,0 @@ private onCtrlLeftOrRight; |
@@ -13,3 +13,2 @@ import { DraggingEvent, DragSourceType, DropTarget } from "../dragAndDrop/dragAndDropService"; | ||
getContainer: () => HTMLElement; | ||
fromGrid?: boolean; | ||
} | ||
@@ -16,0 +15,0 @@ export declare class RowDragFeature extends BeanStub implements DropTarget { |
@@ -17,2 +17,3 @@ import { AgCheckbox } from "../../widgets/agCheckbox"; | ||
private showOrHideSelectAll; | ||
private refreshHeaderAriaDescribedBy; | ||
private onModelChanged; | ||
@@ -19,0 +20,0 @@ private onSelectionChanged; |
@@ -28,3 +28,6 @@ import { Component } from '../widgets/component'; | ||
private onDisplayedColumnsChanged; | ||
private getItemsAtDepth; | ||
private getColumnsInViewport; | ||
private getColumnsInViewportPrintLayout; | ||
private getActualDepth; | ||
private getColumnsInViewportNormalLayout; | ||
private onVirtualColumnsChanged; | ||
@@ -31,0 +34,0 @@ private createHeaderComp; |
@@ -277,3 +277,3 @@ export declare enum ChartType { | ||
export interface PieSeriesLabelOptions extends SeriesLabelOptions { | ||
minRequiredAngle: number; | ||
minAngle: number; | ||
offset: number; | ||
@@ -280,0 +280,0 @@ } |
import { IRowModel } from './iRowModel'; | ||
import { RowNodeTransaction } from './rowNodeTransaction'; | ||
import { RowDataTransaction } from './rowDataTransaction'; | ||
import { RefreshModelParams } from './refreshModelParams'; | ||
import { RowNode } from '../entities/rowNode'; | ||
import { ChangedPath } from '../utils/changedPath'; | ||
export declare enum ClientSideRowModelSteps { | ||
EVERYTHING = "group", | ||
FILTER = "filter", | ||
SORT = "sort", | ||
MAP = "map", | ||
AGGREGATE = "aggregate", | ||
PIVOT = "pivot", | ||
NOTHING = "nothing" | ||
} | ||
export interface IClientSideRowModel extends IRowModel { | ||
@@ -31,1 +39,14 @@ updateRowData(rowDataTran: RowDataTransaction, rowNodeOrder?: { | ||
} | ||
export interface RefreshModelParams { | ||
step: ClientSideRowModelSteps; | ||
groupState?: any; | ||
keepRenderedRows?: boolean; | ||
animate?: boolean; | ||
keepEditingRows?: boolean; | ||
rowNodeTransactions?: RowNodeTransaction[]; | ||
rowNodeOrder?: { | ||
[id: string]: number; | ||
}; | ||
newData?: boolean; | ||
afterColumnsChanged?: boolean; | ||
} |
@@ -48,3 +48,3 @@ import { ExportParams } from "./exportParams"; | ||
exportDataAsExcel(params?: ExcelExportParams): void; | ||
getDataAsExcelXml(params?: ExcelExportParams): string; | ||
getDataAsExcel(params?: ExcelExportParams): Blob | string; | ||
} | ||
@@ -51,0 +51,0 @@ export interface ExcelStyle { |
@@ -18,3 +18,3 @@ import { Column } from '../entities/column'; | ||
filterParams?: any; | ||
/** The custom component to be used for rendering the floating filter. If none is specified the default ag-Grid is used. **/ | ||
/** The custom component to be used for rendering the floating filter. If none is specified the default AG Grid is used. **/ | ||
floatingFilterComponent?: string | { | ||
@@ -47,3 +47,3 @@ new (): IFloatingFilterComp; | ||
/** | ||
* Optional method used by ag-Grid when rendering floating filters and there isn't a floating filter | ||
* 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 | ||
@@ -55,3 +55,3 @@ * filter. | ||
export interface ProvidedFilterModel { | ||
filterType: string; | ||
filterType?: string; | ||
} | ||
@@ -58,0 +58,0 @@ export interface IFilterComp extends IFilter, IComponent<IFilterParams> { |
@@ -7,5 +7,5 @@ export interface IFrameworkOverrides { | ||
* 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 | ||
* 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 | ||
* for our code to result in AG Grid events (and Angular application action on these) as these go through | ||
* Event Emitter's. | ||
@@ -12,0 +12,0 @@ * |
@@ -56,5 +56,5 @@ import { Column } from "../entities/column"; | ||
export interface CellRangeParams { | ||
rowStartIndex?: number; | ||
rowStartIndex: number | null; | ||
rowStartPinned?: string | null; | ||
rowEndIndex?: number; | ||
rowEndIndex: number | null; | ||
rowEndPinned?: string | null; | ||
@@ -61,0 +61,0 @@ columnStart?: string | Column; |
@@ -12,3 +12,3 @@ import { RowNode } from "../entities/rowNode"; | ||
getRowNode(id: string): RowNode | null; | ||
/** This is legacy, not used by ag-Grid, but keeping for backward compatibility */ | ||
/** This is legacy, not used by AG Grid, but keeping for backward compatibility */ | ||
getRowCount(): number; | ||
@@ -15,0 +15,0 @@ getTopLevelRowCount(): number; |
@@ -18,3 +18,3 @@ import { NumberSequence } from "../utils"; | ||
isPixelInRange(pixel: number): boolean; | ||
getRowIndexAtPixel(pixel: number): number | undefined; | ||
getRowIndexAtPixel(pixel: number): number | null; | ||
getChildStore(keys: string[]): IServerSideStore | null; | ||
@@ -21,0 +21,0 @@ refreshAfterSort(params: StoreRefreshAfterParams): void; |
@@ -19,2 +19,3 @@ export { ColumnFactory } from "./columnController/columnFactory"; | ||
export { DragAndDropService, DragSourceType, HorizontalDirection, VerticalDirection, DropTarget, DragSource, DraggingEvent } from "./dragAndDrop/dragAndDropService"; | ||
export { RowDropZoneParams } from "./gridPanel/rowDragFeature"; | ||
export { DragService } from "./dragAndDrop/dragService"; | ||
@@ -56,2 +57,3 @@ export { IRowDragItem } from "./rendering/row/rowDragComp"; | ||
export { IImmutableService } from "./interfaces/iImmutableService"; | ||
export { AnimationFrameService } from "./misc/animationFrameService"; | ||
export { ICellEditor, ICellEditorComp, ICellEditorParams } from "./interfaces/iCellEditor"; | ||
@@ -91,4 +93,3 @@ export { LargeTextCellEditor } from "./rendering/cellEditors/largeTextCellEditor"; | ||
export { PaginationProxy } from "./pagination/paginationProxy"; | ||
export { RefreshModelParams } from "./interfaces/refreshModelParams"; | ||
export { IClientSideRowModel } from "./interfaces/iClientSideRowModel"; | ||
export { IClientSideRowModel, ClientSideRowModelSteps, RefreshModelParams } from "./interfaces/iClientSideRowModel"; | ||
export { IInfiniteRowModel } from "./interfaces/iInfiniteRowModel"; | ||
@@ -120,3 +121,3 @@ export { ColumnVO } from "./interfaces/iColumnVO"; | ||
export { PopupComponent } from "./widgets/popupComponent"; | ||
export { PopupService, } from "./widgets/popupService"; | ||
export { PopupService } from "./widgets/popupService"; | ||
export { TouchListener, TapEvent, LongTapEvent } from "./widgets/touchListener"; | ||
@@ -161,4 +162,4 @@ export { VirtualList, VirtualListModel } from "./widgets/virtualList"; | ||
export { HeaderNavigationService, HeaderNavigationDirection } from "./headerRendering/header/headerNavigationService"; | ||
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, SuppressHeaderKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, GetQuickFilterTextParams, 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, ServerSideStoreType, ServerSideStoreParams, GetServerSideStoreParamsParams } from "./entities/gridOptions"; | ||
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 * from "./propertyKeys"; | ||
@@ -165,0 +166,0 @@ export { OriginalColumnGroupChild } from "./entities/originalColumnGroupChild"; |
import { BeanStub } from "../context/beanStub"; | ||
import { GridPanel } from "../gridPanel/gridPanel"; | ||
export declare class AnimationFrameService extends BeanStub { | ||
@@ -12,4 +13,6 @@ private createTasksP1; | ||
private cancelledTasks; | ||
private gridPanel; | ||
setScrollTop(scrollTop: number): void; | ||
private init; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
private verifyAnimationFrameOn; | ||
@@ -16,0 +19,0 @@ createTask(task: () => void, index: number, list: 'createTasksP1' | 'createTasksP2'): void; |
@@ -30,2 +30,6 @@ import { RowBounds } from "../interfaces/iRowModel"; | ||
getCurrentPageHeight(): number; | ||
getCurrentPagePixelRange(): { | ||
pageFirstPixel: number; | ||
pageLastPixel: number; | ||
}; | ||
isRowPresent(rowNode: RowNode): boolean; | ||
@@ -32,0 +36,0 @@ isEmpty(): boolean; |
@@ -14,2 +14,3 @@ import { Column } from "../entities/column"; | ||
import { ITooltipParams } from "./tooltipComponent"; | ||
import { RowPosition } from "../entities/rowPosition"; | ||
export declare class CellComp extends Component implements TooltipParentComp { | ||
@@ -33,2 +34,3 @@ static DOM_DATA_KEY_CELL_COMP: string; | ||
private includeDndSourceComponent; | ||
private rowDraggingComp; | ||
private cellFocused; | ||
@@ -64,2 +66,3 @@ private editingCell; | ||
getCreateTemplate(): string; | ||
private getCellWrapperString; | ||
private getStylesForRowSpanning; | ||
@@ -162,2 +165,3 @@ afterAttached(): void; | ||
private createGridCellVo; | ||
getRowPosition(): RowPosition; | ||
getCellPosition(): CellPosition; | ||
@@ -185,2 +189,3 @@ getParentRow(): HTMLElement; | ||
onLastLeftPinnedChanged(): void; | ||
refreshShouldDestroy(): boolean; | ||
private populateTemplate; | ||
@@ -187,0 +192,0 @@ protected getFrameworkOverrides(): IFrameworkOverrides; |
@@ -61,4 +61,4 @@ import { Component } from "../../widgets/component"; | ||
onExpandOrContract(): void; | ||
private isShowRowGroupForThisRow; | ||
private isExpandable; | ||
private isShowRowGroupForThisRow; | ||
private showExpandAndContractIcons; | ||
@@ -65,0 +65,0 @@ destroy(): void; |
@@ -25,2 +25,3 @@ import { IComponent } from "../../interfaces/iComponent"; | ||
eParentOfValue: HTMLElement; | ||
registerRowDragger: (rowDraggerElement: HTMLElement) => void; | ||
addRenderedRowListener: (eventType: string, listener: Function) => void; | ||
@@ -27,0 +28,0 @@ } |
@@ -9,2 +9,3 @@ import { Component } from '../widgets/component'; | ||
private postConstruct; | ||
getCheckboxId(): string; | ||
private onDataChanged; | ||
@@ -11,0 +12,0 @@ private onSelectableChanged; |
@@ -12,3 +12,3 @@ import { IComponent } from "../interfaces/iComponent"; | ||
export interface IDateParams { | ||
/** Method for component to tell ag-Grid that the date has changed. */ | ||
/** Method for component to tell AG Grid that the date has changed. */ | ||
onDateChanged: () => void; | ||
@@ -15,0 +15,0 @@ filterParams: IDateFilterParams; |
@@ -5,5 +5,7 @@ import { Beans } from "../beans"; | ||
import { Column } from "../../entities/column"; | ||
import { CellFocusedEvent } from "../../events"; | ||
import { RowContainerComponent } from "./rowContainerComponent"; | ||
import { Component } from "../../widgets/component"; | ||
import { IFrameworkOverrides } from "../../interfaces/iFrameworkOverrides"; | ||
import { RowPosition } from "../../entities/rowPosition"; | ||
export declare class RowComp extends Component { | ||
@@ -97,2 +99,7 @@ static DOM_DATA_KEY_RENDERED_ROW: string; | ||
private onColumnResized; | ||
getRowPosition(): RowPosition; | ||
onKeyboardNavigate(keyboardEvent: KeyboardEvent): void; | ||
onTabKeyDown(keyboardEvent: KeyboardEvent): void; | ||
onFullWidthRowFocused(event: CellFocusedEvent): void; | ||
refreshCell(cellComp: CellComp): void; | ||
private refreshCells; | ||
@@ -154,3 +161,3 @@ private refreshCellsInAnimationFrame; | ||
getRowNode(): RowNode; | ||
getRenderedCellForColumn(column: Column): CellComp | null | undefined; | ||
getRenderedCellForColumn(column: Column): CellComp | null; | ||
private onRowIndexChanged; | ||
@@ -157,0 +164,0 @@ private updateRowIndexes; |
@@ -25,3 +25,3 @@ import { RowNode } from "../../entities/rowNode"; | ||
getInitialRowClasses(params: RowCssClassCalculatorParams): string[]; | ||
processClassesFromGridOptions(rowNode: RowNode): string[] | undefined; | ||
processClassesFromGridOptions(rowNode: RowNode, scope: any): string[]; | ||
private preProcessRowClassRules; | ||
@@ -28,0 +28,0 @@ processRowClassRules(rowNode: RowNode, scope: any, onApplicableClass: (className: string) => void, onNotApplicableClass?: (className: string) => void): void; |
@@ -14,7 +14,12 @@ import { Component } from "../../widgets/component"; | ||
private readonly beans; | ||
constructor(rowNode: RowNode, column: Column, cellValueFn: () => string, beans: Beans); | ||
private readonly customGui?; | ||
isCustomGui: boolean; | ||
private dragSource; | ||
constructor(rowNode: RowNode, column: Column, cellValueFn: () => string, beans: Beans, customGui?: HTMLElement | undefined); | ||
private postConstruct; | ||
setDragElement(dragElement: HTMLElement): void; | ||
private getSelectedCount; | ||
private checkCompatibility; | ||
private addDragSource; | ||
private removeDragSource; | ||
} |
import { GridPanel } from "../gridPanel/gridPanel"; | ||
import { RowComp } from "./row/rowComp"; | ||
import { Column } from "../entities/column"; | ||
@@ -19,3 +20,2 @@ import { RowNode } from "../entities/rowNode"; | ||
private rowModel; | ||
private loggerFactory; | ||
private focusController; | ||
@@ -101,2 +101,5 @@ private cellNavigationService; | ||
navigateToNextCell(event: KeyboardEvent | null, key: number, currentCell: CellPosition, allowUserOverride: boolean): void; | ||
private getNormalisedPosition; | ||
private tryToFocusFullWidthRow; | ||
private focusPosition; | ||
private isValidNavigateCell; | ||
@@ -106,5 +109,6 @@ private getLastCellOfColSpan; | ||
startEditingCell(gridCell: CellPosition, keyPress?: number | null, charPress?: string | null): void; | ||
private getRowCompByPosition; | ||
getComponentForCell(cellPosition: CellPosition): CellComp | null; | ||
getRowNode(gridRow: RowPosition): RowNode | null; | ||
onTabKeyDown(previousRenderedCell: CellComp, keyboardEvent: KeyboardEvent): void; | ||
onTabKeyDown(previousRenderedCell: CellComp | RowComp, keyboardEvent: KeyboardEvent): void; | ||
tabToNextCell(backwards: boolean): boolean; | ||
@@ -111,0 +115,0 @@ private moveToCellAfter; |
import { CellClassParams, ColDef } from "../entities/colDef"; | ||
import { BeanStub } from "../context/beanStub"; | ||
import { RowClassParams } from "../entities/gridOptions"; | ||
export declare class StylingService extends BeanStub { | ||
@@ -8,4 +9,4 @@ private expressionService; | ||
[cssClassName: string]: (Function | string); | ||
} | undefined, params: CellClassParams, onApplicableClass: (className: string) => void, onNotApplicableClass?: (className: string) => void): void; | ||
} | undefined, params: RowClassParams | CellClassParams, onApplicableClass: (className: string) => void, onNotApplicableClass?: (className: string) => void): void; | ||
processStaticCellClasses(colDef: ColDef, params: CellClassParams, onApplicableClass: (className: string) => void): void; | ||
} |
@@ -6,2 +6,3 @@ import { Column } from '../entities/column'; | ||
export declare function getAriaPosInSet(element: HTMLElement): number; | ||
export declare function getAriaDescribedBy(element: HTMLElement): string; | ||
export declare function setAriaLabel(element: HTMLElement, label: string): void; | ||
@@ -8,0 +9,0 @@ export declare function setAriaLabelledBy(element: HTMLElement, labelledBy: string): void; |
import { GridOptionsWrapper } from '../gridOptionsWrapper'; | ||
import { CellComp } from '../rendering/cellComp'; | ||
import { IFrameworkOverrides } from '../interfaces/iFrameworkOverrides'; | ||
@@ -9,3 +8,3 @@ /** | ||
* checkbox clicks (so the rows didn't pick them up as row selection selection clicks). | ||
* to get around this, we have a pattern to stop propagation for the purposes of ag-Grid, | ||
* to get around this, we have a pattern to stop propagation for the purposes of AG Grid, | ||
* but we still let the event pass back to the body. | ||
@@ -17,3 +16,3 @@ * @param {Event} event | ||
export declare const isEventSupported: (eventName: any) => boolean; | ||
export declare function getCellCompForEvent(gridOptionsWrapper: GridOptionsWrapper, event: Event): CellComp | null; | ||
export declare function getComponentForEvent<T>(gridOptionsWrapper: GridOptionsWrapper, event: Event, type: string): T | null; | ||
/** | ||
@@ -20,0 +19,0 @@ * @deprecated |
@@ -15,3 +15,3 @@ import { ICellRendererComp } from '../rendering/cellRenderers/iCellRenderer'; | ||
* so the javascript code can use this to give feedback. this is NOT intended to be called in production. | ||
* it is intended the ag-Grid developer calls this to troubleshoot, but then takes out the calls before | ||
* it is intended the AG Grid developer calls this to troubleshoot, but then takes out the calls before | ||
* checking in. | ||
@@ -18,0 +18,0 @@ * @param {string} msg |
@@ -96,3 +96,3 @@ export declare const _: { | ||
isStopPropagationForAgGrid(event: Event): boolean; | ||
getCellCompForEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, event: Event): import("../main").CellComp | null; | ||
getComponentForEvent<T_21>(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, event: Event, type: string): T_21 | null; | ||
addChangeListener(element: HTMLElement, listener: EventListener): void; | ||
@@ -164,3 +164,3 @@ getTarget(event: Event): Element; | ||
addOrRemoveAttribute(element: HTMLElement, name: string, value: any): void; | ||
nodeListForEach<T_21 extends Node>(nodeList: NodeListOf<T_21> | null, action: (value: T_21) => void): void; | ||
nodeListForEach<T_22 extends Node>(nodeList: NodeListOf<T_22> | null, action: (value: T_22) => void): void; | ||
serialiseDate(date: Date | null, includeTime?: boolean, separator?: string): string | null; | ||
@@ -183,31 +183,32 @@ parseDateTimeFromString(value?: string | null | undefined): Date | null; | ||
anyExists(values: any[]): boolean; | ||
existsAndNotEmpty<T_22>(value?: T_22[] | undefined): boolean; | ||
last<T_23>(arr: T_23[]): T_23; | ||
last<T_24 extends Node>(arr: NodeListOf<T_24>): T_24; | ||
areEqual<T_25>(a?: T_25[] | null | undefined, b?: T_25[] | null | undefined, comparator?: ((a: T_25, b: T_25) => boolean) | undefined): boolean; | ||
existsAndNotEmpty<T_23>(value?: T_23[] | undefined): boolean; | ||
last<T_24>(arr: T_24[]): T_24; | ||
last<T_25 extends Node>(arr: NodeListOf<T_25>): T_25; | ||
areEqual<T_26>(a?: T_26[] | null | undefined, b?: T_26[] | null | undefined, comparator?: ((a: T_26, b: T_26) => boolean) | undefined): boolean; | ||
compareArrays(array1?: any[] | undefined, array2?: any[] | undefined): boolean; | ||
shallowCompare(arr1: any[], arr2: any[]): boolean; | ||
sortNumerically(array: number[]): number[]; | ||
removeRepeatsFromArray<T_26>(array: T_26[], object: T_26): void; | ||
removeFromArray<T_27>(array: T_27[], object: T_27): void; | ||
removeAllFromArray<T_28>(array: T_28[], toRemove: T_28[]): void; | ||
insertIntoArray<T_29>(array: T_29[], object: T_29, toIndex: number): void; | ||
insertArrayIntoArray<T_30>(dest: T_30[], src: T_30[], toIndex: number): void; | ||
moveInArray<T_31>(array: T_31[], objectsToMove: T_31[], toIndex: number): void; | ||
includes<T_32>(array: T_32[], value: T_32): boolean; | ||
removeRepeatsFromArray<T_27>(array: T_27[], object: T_27): void; | ||
removeFromArray<T_28>(array: T_28[], object: T_28): void; | ||
removeAllFromArray<T_29>(array: T_29[], toRemove: T_29[]): void; | ||
insertIntoArray<T_30>(array: T_30[], object: T_30, toIndex: number): void; | ||
insertArrayIntoArray<T_31>(dest: T_31[], src: T_31[], toIndex: number): void; | ||
moveInArray<T_32>(array: T_32[], objectsToMove: T_32[], toIndex: number): void; | ||
includes<T_33>(array: T_33[], value: T_33): boolean; | ||
flatten(arrayOfArrays: any[]): any[]; | ||
pushAll<T_33>(target: T_33[], source: T_33[]): void; | ||
toStrings<T_34>(array: T_34[]): (string | null)[] | null; | ||
findIndex<T_35>(collection: T_35[], predicate: (item: T_35, idx: number, collection: T_35[]) => boolean): number; | ||
every<T_36>(list: T_36[], predicate: (value: T_36, index: number) => boolean): boolean; | ||
some<T_37>(list: T_37[], predicate: (value: T_37, index: number) => boolean): boolean; | ||
forEach<T_38>(list: T_38[], action: (value: T_38, index: number) => void): void; | ||
forEachReverse<T_39>(list: T_39[], action: (value: T_39, index: number) => void): void; | ||
map<T_40, V_2>(list: T_40[], process: (value: T_40, index: number) => V_2): V_2[] | null; | ||
filter<T_41>(list: T_41[], predicate: (value: T_41, index: number) => boolean): T_41[] | null; | ||
reduce<T_42, V_3>(list: T_42[], step: (acc: V_3, value: T_42, index: number) => V_3, initial: V_3): V_3 | null; | ||
forEachSnapshotFirst<T_43>(list: T_43[], callback: (item: T_43) => void): void; | ||
pushAll<T_34>(target: T_34[], source: T_34[]): void; | ||
toStrings<T_35>(array: T_35[]): (string | null)[] | null; | ||
findIndex<T_36>(collection: T_36[], predicate: (item: T_36, idx: number, collection: T_36[]) => boolean): number; | ||
every<T_37>(list: T_37[], predicate: (value: T_37, index: number) => boolean): boolean; | ||
some<T_38>(list: T_38[], predicate: (value: T_38, index: number) => boolean): boolean; | ||
forEach<T_39>(list: T_39[], action: (value: T_39, index: number) => void): void; | ||
forEachReverse<T_40>(list: T_40[], action: (value: T_40, index: number) => void): void; | ||
map<T_41, V_2>(list: T_41[], process: (value: T_41, index: number) => V_2): V_2[] | null; | ||
filter<T_42>(list: T_42[], predicate: (value: T_42, index: number) => boolean): T_42[] | null; | ||
reduce<T_43, V_3>(list: T_43[], step: (acc: V_3, value: T_43, index: number) => V_3, initial: V_3): V_3 | null; | ||
forEachSnapshotFirst<T_44>(list: T_44[], callback: (item: T_44) => void): void; | ||
getAriaSortState(column: import("../main").Column): "none" | "ascending" | "descending"; | ||
getAriaLevel(element: HTMLElement): number; | ||
getAriaPosInSet(element: HTMLElement): number; | ||
getAriaDescribedBy(element: HTMLElement): string; | ||
setAriaLabel(element: HTMLElement, label: string): void; | ||
@@ -214,0 +215,0 @@ setAriaLabelledBy(element: HTMLElement, labelledBy: string): void; |
@@ -22,3 +22,3 @@ import { AgEvent } from "../events"; | ||
constructor(template?: string); | ||
private postConstructOnComponent; | ||
private preConstructOnComponent; | ||
getCompId(): number; | ||
@@ -25,0 +25,0 @@ getTooltipParams(): ITooltipParams; |
@@ -31,2 +31,3 @@ import { GridCore } from "../gridCore"; | ||
private environment; | ||
private focusController; | ||
private gridCore; | ||
@@ -33,0 +34,0 @@ private popupList; |
@@ -6,3 +6,3 @@ import { Component } from './component'; | ||
getRow(index: number): any; | ||
isRowSelected?(index: number): boolean; | ||
isRowSelected?(index: number): boolean | undefined; | ||
} | ||
@@ -9,0 +9,0 @@ export declare class VirtualList extends ManagedFocusComponent { |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"author": "ag-Grid", | ||
"author": "AG Grid", | ||
"license": "ISC", | ||
@@ -12,0 +12,0 @@ "devDependencies": { |
@@ -1,4 +0,4 @@ | ||
// Type definitions for ag-grid-community v25.0.1 | ||
// Type definitions for ag-grid-community v25.1.0 | ||
// Project: http://www.ag-grid.com/ | ||
// Definitions by: Niall Crosby <https://github.com/ag-grid/> | ||
export * from "./dist/lib/main"; |
{ | ||
"name": "ag-grid-community", | ||
"version": "25.0.1", | ||
"version": "25.1.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.0.0", | ||
"@ag-grid-community/core": "~25.0.0", | ||
"@ag-grid-community/client-side-row-model": "~25.0.0", | ||
"@ag-grid-community/csv-export": "~25.0.0", | ||
"@ag-grid-community/infinite-row-model": "~25.0.0", | ||
"@ag-grid-community/all-modules": "~25.1.0", | ||
"@ag-grid-community/core": "~25.1.0", | ||
"@ag-grid-community/client-side-row-model": "~25.1.0", | ||
"@ag-grid-community/csv-export": "~25.1.0", | ||
"@ag-grid-community/infinite-row-model": "~25.1.0", | ||
"gulp": "^4.0.0", | ||
@@ -59,0 +59,0 @@ "gulp-clean": "^0.4.0", |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"author": "ag-Grid", | ||
"author": "AG Grid", | ||
"license": "ISC", | ||
@@ -12,0 +12,0 @@ "devDependencies": { |
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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26314246
330193
843