ag-grid-community
Advanced tools
Comparing version 24.0.0 to 24.1.0
@@ -48,3 +48,3 @@ import { ColDef, ColGroupDef } from "../entities/colDef"; | ||
moveRowGroupColumn(fromIndex: number, toIndex: number): void; | ||
setColumnAggFunc(column: Column, aggFunc: string): void; | ||
setColumnAggFunc(key: string | Column, aggFunc: string): void; | ||
setColumnWidth(key: string | Column, newWidth: number, finished?: boolean): void; | ||
@@ -86,2 +86,3 @@ setColumnWidths(columnWidths: { | ||
getPrimaryColumns(): Column[]; | ||
private cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid; | ||
columnGroupOpened(group: OriginalColumnGroup | string, newValue: boolean): void; | ||
@@ -88,0 +89,0 @@ hideColumns(colIds: any, hide: any): void; |
@@ -42,2 +42,3 @@ import { ColumnGroup } from '../entities/columnGroup'; | ||
private animationFrameService; | ||
private rowModel; | ||
private columnApi; | ||
@@ -97,2 +98,3 @@ private gridApi; | ||
private colDefVersion; | ||
private flexColsCalculatedAtLestOnce; | ||
init(): void; | ||
@@ -167,3 +169,3 @@ onAutoGroupColumnDefChanged(): void; | ||
resizeColumnSets(resizeSets: ColumnResizeSet[], finished: boolean, source: ColumnEventType): void; | ||
setColumnAggFunc(column: Column | null | undefined, aggFunc: string, source?: ColumnEventType): void; | ||
setColumnAggFunc(key: string | Column | null | undefined, aggFunc: string, source?: ColumnEventType): void; | ||
moveRowGroupColumn(fromIndex: number, toIndex: number, source?: ColumnEventType): void; | ||
@@ -170,0 +172,0 @@ moveColumns(columnsToMoveKeys: (string | Column)[], toIndex: number, source?: ColumnEventType): void; |
export declare class KeyCode { | ||
static BACKSPACE: number; | ||
static TAB: number; | ||
static NEW_LINE: number; | ||
static ENTER: number; | ||
@@ -6,0 +5,0 @@ static SHIFT: number; |
@@ -13,2 +13,3 @@ import { IEventEmitter } from "../interfaces/iEventEmitter"; | ||
private destroyed; | ||
__v_skip: boolean; | ||
private readonly frameworkOverrides; | ||
@@ -15,0 +16,0 @@ protected readonly context: Context; |
@@ -29,20 +29,44 @@ import { BeanStub } from "../context/beanStub"; | ||
export interface DragSource { | ||
/** The type of the drag source, used by the drop target to know where the drag originated from. */ | ||
/** | ||
* The type of the drag source, used by the drop target to know where the | ||
* drag originated from. | ||
*/ | ||
type: DragSourceType; | ||
/** Element which, when dragged, will kick off the DnD process */ | ||
/** | ||
* Element which, when dragged, will kick off the DnD process | ||
*/ | ||
eElement: HTMLElement; | ||
/** If eElement is dragged, then the dragItem is the object that gets passed around. */ | ||
/** | ||
* If eElement is dragged, then the dragItem is the object that gets passed around. | ||
*/ | ||
getDragItem: () => DragItem; | ||
/** This name appears in the ghost icon when dragging */ | ||
/** | ||
* This name appears in the ghost icon when dragging. | ||
*/ | ||
dragItemName: string | (() => string) | null; | ||
/** Icon to show when not over a drop zone */ | ||
/** | ||
* Icon to show when not over a drop zone | ||
*/ | ||
defaultIconName?: string; | ||
/** The drop target associated with this dragSource. When dragging starts, this target does not get an | ||
* onDragEnter event. */ | ||
/** | ||
* The drop target associated with this dragSource. When dragging starts, this | ||
* target does not get an onDragEnter event. | ||
*/ | ||
dragSourceDropTarget?: DropTarget; | ||
/** After how many pixels of dragging should the drag operation start. Default is 4. */ | ||
/** | ||
* The drag source DOM Data Key, this is useful to detect if the origin grid is the same | ||
* as the target grid. | ||
*/ | ||
dragSourceDomDataKey?: string; | ||
/** | ||
* After how many pixels of dragging should the drag operation start. Default is 4. | ||
*/ | ||
dragStartPixels?: number; | ||
/** Callback for drag started */ | ||
/** | ||
* Callback for drag started | ||
*/ | ||
onDragStarted?: () => void; | ||
/** Callback for drag stopped */ | ||
/** | ||
* Callback for drag stopped | ||
*/ | ||
onDragStopped?: () => void; | ||
@@ -49,0 +73,0 @@ } |
@@ -13,6 +13,6 @@ import { RowNode } from "./rowNode"; | ||
import { IFilterDef } from '../interfaces/iFilter'; | ||
import { ColumnGroup } from "./columnGroup"; | ||
/*********************************************************************** | ||
* Don't forget to update PropertyKeys if changing this class. PLEASE! * | ||
***********************************************************************/ | ||
export declare const COL_DEF_PARAM_OBJECTS: string[]; | ||
/** AbstractColDef can be a group or a column definition */ | ||
@@ -43,2 +43,4 @@ export interface AbstractColDef { | ||
tooltipComponentParams?: any; | ||
/** Allows the user to suppress certain keyboard events in the grid header */ | ||
suppressHeaderKeyboardEvent?: (params: SuppressHeaderKeyboardEventParams) => boolean; | ||
} | ||
@@ -234,3 +236,3 @@ export interface ColGroupDef extends AbstractColDef { | ||
suppressAutoSize?: boolean; | ||
/** Allows user to suppress certain keyboard events */ | ||
/** Allows the user to suppress certain keyboard events in the grid cell */ | ||
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams) => boolean; | ||
@@ -299,4 +301,4 @@ /** If true, GUI will allow adding this columns as a row group */ | ||
}; | ||
/** Defines the column data type used when charting, i.e. 'category' | 'series' | 'excluded' | undefined **/ | ||
chartDataType?: string; | ||
/** Defines the column data type used when charting */ | ||
chartDataType?: 'category' | 'series' | 'time' | 'excluded' | undefined; | ||
/** Params to customise the columns menu behaviour and appearance */ | ||
@@ -365,2 +367,11 @@ columnsMenuParams?: ColumnsMenuParams; | ||
} | ||
export interface SuppressHeaderKeyboardEventParams { | ||
api: GridApi | null | undefined; | ||
columnApi: ColumnApi | null | undefined; | ||
column: Column | ColumnGroup; | ||
colDef: ColDef | ColGroupDef; | ||
context: any; | ||
headerRowIndex: number; | ||
event: KeyboardEvent; | ||
} | ||
export interface CellClassParams { | ||
@@ -367,0 +378,0 @@ value: any; |
@@ -65,3 +65,3 @@ import { ColumnGroupChild } from "./columnGroupChild"; | ||
private initialise; | ||
resetActualWidth(): void; | ||
resetActualWidth(source?: ColumnEventType): void; | ||
isEmptyGroup(): boolean; | ||
@@ -127,3 +127,4 @@ isRowGroupDisplayed(colId: string): boolean; | ||
getRowSpan(rowNode: RowNode): number; | ||
setActualWidth(actualWidth: number, source?: ColumnEventType): void; | ||
setActualWidth(actualWidth: number, source?: ColumnEventType, silent?: boolean): void; | ||
fireColumnWidthChangedEvent(source: ColumnEventType): void; | ||
isGreaterThanMax(width: number): boolean; | ||
@@ -130,0 +131,0 @@ getMinWidth(): number; |
@@ -16,3 +16,3 @@ /************************************************************************************************ | ||
import { CsvExportParams, ProcessCellForExportParams, ProcessHeaderForExportParams } from "../interfaces/exportParams"; | ||
import { BodyScrollEvent, CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent, CellEditingStartedEvent, CellEditingStoppedEvent, CellFocusedEvent, CellKeyDownEvent, CellKeyPressEvent, CellMouseDownEvent, CellMouseOutEvent, CellMouseOverEvent, CellValueChangedEvent, ChartCreated, ChartDestroyed, ChartOptionsChanged, ChartRangeSelectionChanged, ColumnAggFuncChangeRequestEvent, ColumnEverythingChangedEvent, ColumnGroupOpenedEvent, ColumnMovedEvent, ColumnPinnedEvent, ColumnPivotChangedEvent, ColumnPivotChangeRequestEvent, ColumnPivotModeChangedEvent, ColumnResizedEvent, ColumnRowGroupChangedEvent, ColumnRowGroupChangeRequestEvent, ColumnValueChangedEvent, ColumnValueChangeRequestEvent, ColumnVisibleEvent, DisplayedColumnsChangedEvent, DragStartedEvent, DragStoppedEvent, ExpandCollapseAllEvent, FillEndEvent, FillStartEvent, FilterChangedEvent, FilterModifiedEvent, FirstDataRenderedEvent, GridColumnsChangedEvent, GridReadyEvent, ModelUpdatedEvent, NewColumnsLoadedEvent, PaginationChangedEvent, PasteEndEvent, PasteStartEvent, PinnedRowDataChangedEvent, RangeSelectionChangedEvent, RowClickedEvent, RowDataChangedEvent, RowDataUpdatedEvent, RowDoubleClickedEvent, RowDragEvent, RowEditingStartedEvent, RowEditingStoppedEvent, RowGroupOpenedEvent, RowSelectedEvent, RowValueChangedEvent, SelectionChangedEvent, SortChangedEvent, ToolPanelVisibleChangedEvent, ViewportChangedEvent, VirtualColumnsChangedEvent, VirtualRowRemovedEvent } from "../events"; | ||
import { BodyScrollEvent, CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent, CellEditingStartedEvent, CellEditingStoppedEvent, CellFocusedEvent, CellKeyDownEvent, CellKeyPressEvent, CellMouseDownEvent, CellMouseOutEvent, CellMouseOverEvent, CellValueChangedEvent, ChartCreated, ChartDestroyed, ChartOptionsChanged, ChartRangeSelectionChanged, ColumnAggFuncChangeRequestEvent, ColumnEverythingChangedEvent, ColumnGroupOpenedEvent, ColumnMovedEvent, ColumnPinnedEvent, ColumnPivotChangedEvent, ColumnPivotChangeRequestEvent, ColumnPivotModeChangedEvent, ColumnResizedEvent, ColumnRowGroupChangedEvent, ColumnRowGroupChangeRequestEvent, ColumnValueChangedEvent, ColumnValueChangeRequestEvent, ColumnVisibleEvent, ComponentStateChangedEvent, DisplayedColumnsChangedEvent, DragStartedEvent, DragStoppedEvent, ExpandCollapseAllEvent, FillEndEvent, FillStartEvent, FilterChangedEvent, FilterModifiedEvent, FirstDataRenderedEvent, GridColumnsChangedEvent, GridReadyEvent, ModelUpdatedEvent, NewColumnsLoadedEvent, PaginationChangedEvent, PasteEndEvent, PasteStartEvent, PinnedRowDataChangedEvent, RangeSelectionChangedEvent, RowClickedEvent, RowDataChangedEvent, RowDataUpdatedEvent, RowDoubleClickedEvent, RowDragEvent, RowEditingStartedEvent, RowEditingStoppedEvent, RowGroupOpenedEvent, RowSelectedEvent, RowValueChangedEvent, SelectionChangedEvent, SortChangedEvent, ToolPanelVisibleChangedEvent, ViewportChangedEvent, VirtualColumnsChangedEvent, VirtualRowRemovedEvent } from "../events"; | ||
import { IComponent } from "../interfaces/iComponent"; | ||
@@ -26,2 +26,3 @@ import { AgGridRegisteredComponentInput } from "../components/framework/userComponentRegistry"; | ||
import { AgChartOptions, AgChartTheme, AgChartThemeOverrides } from "../interfaces/iAgChartOptions"; | ||
import { HeaderPosition } from "../headerRendering/header/headerPosition"; | ||
export interface GridOptions { | ||
@@ -78,3 +79,3 @@ /******************************************************************************************************* | ||
suppressClickEdit?: boolean; | ||
/** Allows user to suppress certain keyboard events */ | ||
/** @deprecated Allows user to suppress certain keyboard events */ | ||
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams) => boolean; | ||
@@ -210,5 +211,5 @@ stopEditingWhenGridLosesFocus?: boolean; | ||
alignedGrids?: GridOptions[]; | ||
/** @deprecated - rowDeselection is now true by default and should be suppressed by using suppressRowDeselection */ | ||
rowSelection?: string; | ||
suppressRowDeselection?: boolean; | ||
/** @deprecated - rowDeselection is now true by default and should be suppressed by using suppressRowDeselection */ | ||
rowDeselection?: boolean; | ||
@@ -231,2 +232,3 @@ rowMultiSelectWithClick?: boolean; | ||
detailCellRendererParams?: any; | ||
detailRowAutoHeight?: boolean; | ||
rowData?: any[]; | ||
@@ -288,2 +290,4 @@ pinnedTopRowData?: any[]; | ||
processDataFromClipboard?: (params: ProcessDataFromClipboardParams) => string[][] | null; | ||
navigateToNextHeader?: (params: NavigateToNextHeaderParams) => HeaderPosition; | ||
tabToNextHeader?: (params: TabToNextHeaderParams) => HeaderPosition; | ||
navigateToNextCell?: (params: NavigateToNextCellParams) => CellPosition; | ||
@@ -411,2 +415,3 @@ tabToNextCell?: (params: TabToNextCellParams) => CellPosition; | ||
onChartDestroyed?(event: ChartDestroyed): void; | ||
onComponentStateChanged?(event: ComponentStateChangedEvent): void; | ||
/** @deprecated */ | ||
@@ -509,2 +514,15 @@ onGridSizeChanged?(event: any): void; | ||
} | ||
export interface NavigateToNextHeaderParams { | ||
key: string; | ||
previousHeaderPosition: HeaderPosition; | ||
nextHeaderPosition: HeaderPosition; | ||
event: KeyboardEvent; | ||
headerRowCount: number; | ||
} | ||
export interface TabToNextHeaderParams { | ||
backwards: boolean; | ||
previousHeaderPosition: HeaderPosition; | ||
nextHeaderPosition: HeaderPosition; | ||
headerRowCount: number; | ||
} | ||
export interface NavigateToNextCellParams { | ||
@@ -511,0 +529,0 @@ key: number; |
@@ -162,3 +162,3 @@ import { AgEvent } from "../events"; | ||
__objectId: number; | ||
/** We cache the result of hasChildren() so taht we can be aware of when it has changed, and hence | ||
/** We cache the result of hasChildren() so that we can be aware of when it has changed, and hence | ||
* fire the event. Really we should just have hasChildren as an attribute and do away with hasChildren() | ||
@@ -165,0 +165,0 @@ * method, however that would be a breaking change. */ |
@@ -88,2 +88,3 @@ export declare class Events { | ||
static EVENT_VIEWPORT_CHANGED: string; | ||
static EVENT_SCROLLBAR_WIDTH_CHANGED: string; | ||
/** Rows were rendered for the first time (ie on async data load). */ | ||
@@ -90,0 +91,0 @@ static EVENT_FIRST_DATA_RENDERED: string; |
@@ -96,2 +96,3 @@ import { RowNode } from './entities/rowNode'; | ||
selected?: boolean; | ||
previousValue: boolean | undefined; | ||
} | ||
@@ -168,4 +169,5 @@ export interface GridSizeChangedEvent extends AgGridEvent { | ||
} | ||
export declare type ScrollDirection = 'horizontal' | 'vertical'; | ||
export interface BodyScrollEvent extends AgGridEvent { | ||
direction: string; | ||
direction: ScrollDirection; | ||
left: number; | ||
@@ -172,0 +174,0 @@ top: number; |
@@ -55,3 +55,3 @@ import { Promise } from '../utils'; | ||
private createValueGetter; | ||
getFilterComponent(column: Column, source: FilterRequestSource): Promise<IFilterComp>; | ||
getFilterComponent(column: Column, source: FilterRequestSource, createIfDoesNotExist?: boolean): Promise<IFilterComp>; | ||
isFilterActive(column: Column): boolean; | ||
@@ -58,0 +58,0 @@ getOrCreateFilterWrapper(column: Column, source: FilterRequestSource): FilterWrapper; |
@@ -6,4 +6,4 @@ import { IFloatingFilterParams } from '../floatingFilter'; | ||
export declare abstract class TextInputFloatingFilter extends SimpleFloatingFilter { | ||
private columnController; | ||
private eFloatingFilterInput; | ||
private readonly columnController; | ||
private readonly eFloatingFilterInput; | ||
protected params: IFloatingFilterParams; | ||
@@ -10,0 +10,0 @@ private applyActive; |
@@ -11,2 +11,3 @@ import { ConditionPosition, ISimpleFilterModel } from '../simpleFilter'; | ||
browserDatePicker?: boolean; | ||
minValidYear?: number; | ||
} | ||
@@ -18,6 +19,6 @@ export interface IDateComparatorFunc { | ||
static DEFAULT_FILTER_OPTIONS: string[]; | ||
private eCondition1PanelFrom; | ||
private eCondition1PanelTo; | ||
private eCondition2PanelFrom; | ||
private eCondition2PanelTo; | ||
private readonly eCondition1PanelFrom; | ||
private readonly eCondition1PanelTo; | ||
private readonly eCondition2PanelFrom; | ||
private readonly eCondition2PanelTo; | ||
private dateCondition1FromComp; | ||
@@ -27,3 +28,3 @@ private dateCondition1ToComp; | ||
private dateCondition2ToComp; | ||
private userComponentFactory; | ||
private readonly userComponentFactory; | ||
private dateFilterParams; | ||
@@ -30,0 +31,0 @@ constructor(); |
@@ -7,5 +7,5 @@ import { DateFilterModel } from './dateFilter'; | ||
export declare class DateFloatingFilter extends SimpleFloatingFilter { | ||
private userComponentFactory; | ||
private eReadOnlyText; | ||
private eDateWrapper; | ||
private readonly userComponentFactory; | ||
private readonly eReadOnlyText; | ||
private readonly eDateWrapper; | ||
private dateComp; | ||
@@ -12,0 +12,0 @@ private params; |
@@ -14,2 +14,3 @@ import { SimpleFilter, ISimpleFilterParams, ISimpleFilterModel } from "./simpleFilter"; | ||
includeBlanksInGreaterThan?: boolean; | ||
includeBlanksInRange?: boolean; | ||
/** @deprecated in v21*/ | ||
@@ -30,4 +31,3 @@ nullComparator?: NullComparator; | ||
private checkDeprecatedParams; | ||
private nullComparator; | ||
protected individualConditionPasses(params: IDoesFilterPassParams, filterModel: ISimpleFilterModel): boolean; | ||
} |
@@ -30,4 +30,5 @@ import { IDoesFilterPassParams } from '../../../interfaces/iFilter'; | ||
constructor(); | ||
static cleanInput(value: string): string; | ||
protected getDefaultDebounceMs(): number; | ||
private getValue; | ||
private getCleanValue; | ||
private addValueChangedListeners; | ||
@@ -34,0 +35,0 @@ protected setParams(params: ITextFilterParams): void; |
@@ -41,3 +41,3 @@ import { BeanStub } from "./context/beanStub"; | ||
setFocusedHeader(headerRowIndex: number, column: ColumnGroup | Column): void; | ||
focusHeaderPosition(headerPosition: HeaderPosition, direction?: 'Before' | 'After'): boolean; | ||
focusHeaderPosition(headerPosition: HeaderPosition, direction?: 'Before' | 'After', fromTab?: boolean, allowUserOverride?: boolean, event?: KeyboardEvent): boolean; | ||
isAnyCellFocused(): boolean; | ||
@@ -44,0 +44,0 @@ isRowFocused(rowIndex: number, floating: string): boolean; |
@@ -65,2 +65,3 @@ import { ColumnApi } from "./columnController/columnApi"; | ||
chartThemeOverrides?: AgChartThemeOverrides; | ||
unlinkChart?: boolean; | ||
processChartOptions?: (params: ProcessChartOptionsParams) => ChartOptions<any>; | ||
@@ -73,2 +74,3 @@ } | ||
chartThemeOverrides?: AgChartThemeOverrides; | ||
unlinkChart?: boolean; | ||
processChartOptions?: (params: ProcessChartOptionsParams) => ChartOptions<any>; | ||
@@ -294,2 +296,4 @@ } | ||
destroy(): void; | ||
private cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid; | ||
private warnIfDestroyed; | ||
resetQuickFilter(): void; | ||
@@ -328,2 +332,3 @@ getRangeSelections(): any; | ||
clearAggFuncs(): void; | ||
applyServerSideTransaction(rowDataTransaction: RowDataTransaction, route?: string[]): void; | ||
applyTransaction(rowDataTransaction: RowDataTransaction): RowNodeTransaction; | ||
@@ -330,0 +335,0 @@ /** @deprecated */ |
import { RowNode } from './entities/rowNode'; | ||
import { ChartRef, FillOperationParams, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowNodeIdFunc, GridOptions, IsRowMaster, IsRowSelectable, NavigateToNextCellParams, PaginationNumberFormatterParams, PostProcessPopupParams, ProcessChartOptionsParams, ProcessDataFromClipboardParams, TabToNextCellParams } from './entities/gridOptions'; | ||
import { ChartRef, FillOperationParams, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowNodeIdFunc, GridOptions, IsRowMaster, IsRowSelectable, NavigateToNextCellParams, NavigateToNextHeaderParams, PaginationNumberFormatterParams, PostProcessPopupParams, ProcessChartOptionsParams, ProcessDataFromClipboardParams, TabToNextCellParams, TabToNextHeaderParams } from './entities/gridOptions'; | ||
import { GridApi } from './gridApi'; | ||
@@ -15,2 +15,3 @@ import { ColDef, ColGroupDef, IAggFunc, SuppressKeyboardEventParams } from './entities/colDef'; | ||
import { AgChartTheme, AgChartThemeOverrides } from "./interfaces/iAgChartOptions"; | ||
import { HeaderPosition } from './headerRendering/header/headerPosition'; | ||
export interface PropertyChangedEvent extends AgEvent { | ||
@@ -44,4 +45,5 @@ currentValue: any; | ||
private layoutElements; | ||
private scrollWidth; | ||
private scrollbarWidth; | ||
private updateLayoutClassesListener; | ||
private destroyed; | ||
private agWire; | ||
@@ -53,2 +55,3 @@ private destroy; | ||
private checkProperties; | ||
getDomDataKey(): string; | ||
getDomData(element: Node, key: string): any; | ||
@@ -146,2 +149,3 @@ setDomData(element: Element, key: string, value: any): any; | ||
isEmbedFullWidthRows(): boolean; | ||
isDetailRowAutoHeight(): boolean; | ||
getSuppressKeyboardEventFunc(): (params: SuppressKeyboardEventParams) => boolean; | ||
@@ -250,2 +254,4 @@ getBusinessKeyForNodeFunc(): (node: RowNode) => string; | ||
getRowNodeIdFunc(): GetRowNodeIdFunc | undefined; | ||
getNavigateToNextHeaderFunc(): ((params: NavigateToNextHeaderParams) => HeaderPosition) | undefined; | ||
getTabToNextHeaderFunc(): ((params: TabToNextHeaderParams) => HeaderPosition) | undefined; | ||
getNavigateToNextCellFunc(): ((params: NavigateToNextCellParams) => CellPosition) | undefined; | ||
@@ -252,0 +258,0 @@ getTabToNextCellFunc(): ((params: TabToNextCellParams) => CellPosition) | undefined; |
@@ -5,2 +5,3 @@ import { RowContainerComponent } from '../rendering/row/rowContainerComponent'; | ||
import { HeaderRootComp } from '../headerRendering/headerRootComp'; | ||
import { PopupService } from "../widgets/popupService"; | ||
export declare type RowContainerComponentNames = 'fullWidth' | 'body' | 'pinnedLeft' | 'pinnedRight' | 'floatingTop' | 'floatingTopPinnedLeft' | 'floatingTopPinnedRight' | 'floatingTopFullWidth' | 'floatingBottom' | 'floatingBottomPinnedLeft' | 'floatingBottomPinnedRight' | 'floatingBottomFullWidth'; | ||
@@ -36,4 +37,6 @@ export declare type RowContainerComponents = { | ||
private headerNavigationService; | ||
popupService: PopupService; | ||
private rangeController; | ||
private contextMenuFactory; | ||
private menuFactory; | ||
private clipboardService; | ||
@@ -70,2 +73,3 @@ private eBodyViewport; | ||
private scrollTop; | ||
private centerWidth; | ||
private lastHorizontalScrollElement; | ||
@@ -75,3 +79,2 @@ private readonly resetLastHorizontalScrollElementDebounced; | ||
private enableRtl; | ||
private scrollWidth; | ||
private pinningRight; | ||
@@ -127,2 +130,3 @@ private pinningLeft; | ||
isHorizontalScrollShowing(): boolean; | ||
private onScrollbarWidthChanged; | ||
checkViewportAndScrolls(): void; | ||
@@ -166,2 +170,3 @@ private updateScrollVisibleService; | ||
private onVerticalScroll; | ||
private shouldBlockScrollUpdate; | ||
private isControllingScroll; | ||
@@ -168,0 +173,0 @@ private onFakeHorizontalScroll; |
@@ -11,6 +11,4 @@ import { GridPanel } from "./gridPanel"; | ||
private gridOptionsWrapper; | ||
private scrollWidth; | ||
private gridPanel; | ||
private timeLastPageEventProcessed; | ||
private init; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
@@ -17,0 +15,0 @@ handlePageScrollingKey(event: KeyboardEvent): boolean; |
@@ -27,6 +27,6 @@ import { BeanStub } from "../../context/beanStub"; | ||
getHeaderContainer(position?: HeaderContainerPosition): HeaderContainer; | ||
navigateVertically(direction: HeaderNavigationDirection, fromHeader?: HeaderPosition): boolean; | ||
navigateHorizontally(direction: HeaderNavigationDirection, fromTab?: boolean): boolean; | ||
navigateVertically(direction: HeaderNavigationDirection, fromHeader: HeaderPosition | null, event: KeyboardEvent): boolean; | ||
navigateHorizontally(direction: HeaderNavigationDirection, fromTab: boolean, event: KeyboardEvent): boolean; | ||
private focusNextHeaderRow; | ||
scrollToColumn(column: Column | ColumnGroup, direction?: 'Before' | 'After'): void; | ||
} |
import { Beans } from "../../rendering/beans"; | ||
import { Column } from "../../entities/column"; | ||
import { DropTarget } from "../../dragAndDrop/dragAndDropService"; | ||
import { ColDef } from "../../entities/colDef"; | ||
import { AbstractHeaderWrapper } from "./abstractHeaderWrapper"; | ||
import { ITooltipParams } from "../../rendering/tooltipComponent"; | ||
export declare class HeaderWrapperComp extends AbstractHeaderWrapper { | ||
@@ -21,3 +21,2 @@ private static TEMPLATE; | ||
private cbSelectAll; | ||
private readonly dragSourceDropTarget; | ||
protected readonly column: Column; | ||
@@ -39,3 +38,3 @@ protected readonly pinned: string; | ||
private colDefHeaderComponentFramework?; | ||
constructor(column: Column, dragSourceDropTarget: DropTarget, pinned: string); | ||
constructor(column: Column, pinned: string); | ||
protected postConstruct(): void; | ||
@@ -71,3 +70,4 @@ private onColumnValueChanged; | ||
onResizeStart(shiftKey: boolean): void; | ||
getTooltipText(): string | undefined; | ||
getTooltipParams(): ITooltipParams; | ||
private getTooltipText; | ||
private setupTooltip; | ||
@@ -74,0 +74,0 @@ private setupMovingCss; |
@@ -12,4 +12,2 @@ import { HeaderRowComp } from './headerRowComp'; | ||
private pinned; | ||
private scrollWidth; | ||
private dropTarget; | ||
private filtersRowComp; | ||
@@ -21,7 +19,6 @@ private columnsRowComp; | ||
private init; | ||
private onColumnRowGroupChanged; | ||
private onColumnValueChanged; | ||
private onColumnResized; | ||
private onDisplayedColumnsChanged; | ||
private onScrollVisibilityChanged; | ||
private onScrollbarWidthChanged; | ||
private setWidthOfPinnedContainer; | ||
@@ -35,3 +32,2 @@ getRowComps(): HeaderRowComp[]; | ||
private refreshRowComps; | ||
private createRowComps; | ||
} |
import { ColGroupDef } from "../../entities/colDef"; | ||
import { ColumnGroup } from "../../entities/columnGroup"; | ||
import { DragItem, DropTarget } from "../../dragAndDrop/dragAndDropService"; | ||
import { DragItem } from "../../dragAndDrop/dragAndDropService"; | ||
import { AbstractHeaderWrapper } from "../header/abstractHeaderWrapper"; | ||
import { Beans } from "../../rendering/beans"; | ||
import { ITooltipParams } from "../../rendering/tooltipComponent"; | ||
export declare class HeaderGroupWrapperComp extends AbstractHeaderWrapper { | ||
@@ -16,3 +17,2 @@ private static TEMPLATE; | ||
private columnApi; | ||
private readonly dragSourceDropTarget; | ||
protected readonly column: ColumnGroup; | ||
@@ -29,3 +29,3 @@ protected readonly pinned: string; | ||
private removeChildListenersFuncs; | ||
constructor(columnGroup: ColumnGroup, dragSourceDropTarget: DropTarget, pinned: string); | ||
constructor(columnGroup: ColumnGroup, pinned: string); | ||
protected postConstruct(): void; | ||
@@ -39,3 +39,4 @@ protected onFocusIn(e: FocusEvent): void; | ||
getComponentHolder(): ColGroupDef; | ||
getTooltipText(): string | undefined; | ||
private getTooltipText; | ||
getTooltipParams(): ITooltipParams; | ||
private setupTooltip; | ||
@@ -42,0 +43,0 @@ private onColumnMovingChanged; |
import { Component } from '../widgets/component'; | ||
import { DropTarget } from '../dragAndDrop/dragAndDropService'; | ||
import { AbstractHeaderWrapper } from './header/abstractHeaderWrapper'; | ||
@@ -14,7 +13,6 @@ export declare enum HeaderRowType { | ||
private readonly pinned; | ||
private readonly dropTarget; | ||
private readonly type; | ||
private dept; | ||
private headerComps; | ||
constructor(dept: number, type: HeaderRowType, pinned: string, dropTarget: DropTarget); | ||
constructor(dept: number, type: HeaderRowType, pinned: string); | ||
forEachHeaderElement(callback: (comp: Component) => void): void; | ||
@@ -21,0 +19,0 @@ private setRowIndex; |
import { BeanStub } from "../context/beanStub"; | ||
import { IMenuFactory } from '../interfaces/iMenuFactory'; | ||
import { Column } from '../entities/column'; | ||
import { GridPanel } from "../gridPanel/gridPanel"; | ||
export declare class StandardMenuFactory extends BeanStub implements IMenuFactory { | ||
@@ -10,2 +11,4 @@ private filterManager; | ||
private tabListener; | ||
private gridPanel; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
hideActiveMenu(): void; | ||
@@ -12,0 +15,0 @@ showMenuAfterMouseEvent(column: Column, mouseEvent: MouseEvent | Touch): void; |
@@ -94,2 +94,3 @@ declare type FontStyle = 'normal' | 'italic' | 'oblique'; | ||
height?: number; | ||
margin?: number; | ||
min?: number; | ||
@@ -208,6 +209,6 @@ max?: number; | ||
interface AgAxisLabelFormatterParams { | ||
value: any; | ||
index: number; | ||
fractionDigits?: number; | ||
formatter?: (x: any) => string; | ||
readonly value: any; | ||
readonly index: number; | ||
readonly fractionDigits?: number; | ||
readonly formatter?: (x: any) => string; | ||
} | ||
@@ -266,24 +267,32 @@ interface AgAxisLabelOptions { | ||
} | ||
interface AgSeriesTooltipRendererParams { | ||
datum: any; | ||
export interface AgTooltipRendererResult { | ||
title?: string; | ||
color?: string; | ||
content?: string; | ||
} | ||
interface AgSeriesTooltipRendererParams { | ||
readonly datum: any; | ||
readonly title?: string; | ||
readonly color?: string; | ||
} | ||
interface AgCartesianSeriesTooltipRendererParams extends AgSeriesTooltipRendererParams { | ||
xKey: string; | ||
xName?: string; | ||
yKey: string; | ||
yName?: string; | ||
readonly xKey: string; | ||
readonly xValue?: any; | ||
readonly xName?: string; | ||
readonly yKey: string; | ||
readonly yValue?: any; | ||
readonly yName?: string; | ||
} | ||
export interface AgPolarSeriesTooltipRendererParams extends AgSeriesTooltipRendererParams { | ||
angleKey: string; | ||
angleName?: string; | ||
radiusKey?: string; | ||
radiusName?: string; | ||
readonly angleKey: string; | ||
readonly angleValue?: any; | ||
readonly angleName?: string; | ||
readonly radiusKey?: string; | ||
readonly radiusValue?: any; | ||
readonly radiusName?: string; | ||
} | ||
interface AgScatterSeriesTooltipRendererParams extends AgCartesianSeriesTooltipRendererParams { | ||
sizeKey?: string; | ||
sizeName?: string; | ||
labelKey?: string; | ||
labelName?: string; | ||
readonly sizeKey?: string; | ||
readonly sizeName?: string; | ||
readonly labelKey?: string; | ||
readonly labelName?: string; | ||
} | ||
@@ -329,3 +338,3 @@ interface AgSeriesMarker { | ||
}; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
} | ||
@@ -339,3 +348,2 @@ export interface AgScatterSeriesOptions extends AgBaseSeriesOptions { | ||
yName?: string; | ||
paired?: boolean; | ||
title?: string; | ||
@@ -351,3 +359,3 @@ fill?: string; | ||
}; | ||
tooltipRenderer?: (params: AgScatterSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgScatterSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
} | ||
@@ -366,2 +374,4 @@ export interface AgAreaSeriesOptions extends AgBaseSeriesOptions { | ||
strokeOpacity?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
shadow?: AgDropShadowOptions; | ||
@@ -372,3 +382,3 @@ highlightStyle?: { | ||
}; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
} | ||
@@ -380,2 +390,16 @@ interface AgBarSeriesLabelOptions extends AgChartLabelOptions { | ||
} | ||
export interface AgBarSeriesFormatterParams { | ||
readonly datum: any; | ||
readonly fill?: string; | ||
readonly stroke?: string; | ||
readonly strokeWidth: number; | ||
readonly highlighted: boolean; | ||
readonly xKey: string; | ||
readonly yKey: string; | ||
} | ||
export interface AgBarSeriesFormat { | ||
fill?: string; | ||
stroke?: string; | ||
strokeWidth?: number; | ||
} | ||
export interface AgBarSeriesOptions extends AgBaseSeriesOptions { | ||
@@ -394,2 +418,4 @@ type?: 'bar' | 'column'; | ||
strokeOpacity?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
shadow?: AgDropShadowOptions; | ||
@@ -401,3 +427,4 @@ highlightStyle?: { | ||
label?: AgBarSeriesLabelOptions; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
formatter?: (params: AgBarSeriesFormatterParams) => AgBarSeriesFormat; | ||
} | ||
@@ -416,2 +443,4 @@ interface AgHistogramSeriesLabelOptions extends AgChartLabelOptions { | ||
strokeWidth?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
xKey?: string; | ||
@@ -431,3 +460,3 @@ xName?: string; | ||
label?: AgHistogramSeriesLabelOptions; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgCartesianSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
} | ||
@@ -438,2 +467,16 @@ interface AgPieSeriesLabelOptions extends AgChartLabelOptions { | ||
} | ||
export interface AgPieSeriesFormatterParams { | ||
readonly datum: any; | ||
readonly fill?: string; | ||
readonly stroke?: string; | ||
readonly strokeWidth: number; | ||
readonly highlighted: boolean; | ||
readonly angleKey: string; | ||
readonly radiusKey?: string; | ||
} | ||
export interface AgPieSeriesFormat { | ||
fill?: string; | ||
stroke?: string; | ||
strokeWidth?: number; | ||
} | ||
export interface AgPieSeriesOptions extends AgBaseSeriesOptions { | ||
@@ -459,2 +502,4 @@ type?: 'pie'; | ||
strokeWidth?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
rotation?: number; | ||
@@ -468,3 +513,4 @@ outerRadiusOffset?: number; | ||
}; | ||
tooltipRenderer?: (params: AgPieSeriesTooltipRendererParams) => string; | ||
tooltipRenderer?: (params: AgPieSeriesTooltipRendererParams) => string | AgTooltipRendererResult; | ||
formatter?: (params: AgPieSeriesFormatterParams) => AgPieSeriesFormat; | ||
} | ||
@@ -478,3 +524,3 @@ interface AgPieSeriesTooltipRendererParams extends AgPolarSeriesTooltipRendererParams { | ||
export interface AgCartesianChartOptions<TAxisOptions = AgCartesianAxisOptions[], TSeriesOptions = AgCartesianSeriesOptions[]> extends AgBaseChartOptions { | ||
type?: 'cartesian' | 'line' | 'bar' | 'column' | 'area' | 'scatter'; | ||
type?: 'cartesian' | 'groupedCategory' | 'line' | 'bar' | 'column' | 'area' | 'scatter'; | ||
axes?: TAxisOptions; | ||
@@ -481,0 +527,0 @@ series?: TSeriesOptions; |
@@ -18,3 +18,3 @@ export declare enum ChartType { | ||
} | ||
export declare type ChartMenuOptions = 'chartSettings' | 'chartData' | 'chartFormat' | 'chartUnlink' | 'chartDownload'; | ||
export declare type ChartMenuOptions = 'chartSettings' | 'chartData' | 'chartFormat' | 'chartLink' | 'chartUnlink' | 'chartDownload'; | ||
export interface SeriesOptions { | ||
@@ -183,5 +183,9 @@ fill: FillOptions; | ||
} | ||
interface TooltipRendererResult { | ||
content: string; | ||
title?: string; | ||
} | ||
export interface TooltipOptions<TParams> { | ||
enabled: boolean; | ||
renderer?: (params: TParams) => string; | ||
renderer?: (params: TParams) => string | TooltipRendererResult; | ||
} | ||
@@ -195,4 +199,6 @@ export interface TooltipRendererParams { | ||
xKey: string; | ||
xValue: any; | ||
xName: string; | ||
yKey: string; | ||
yValue: any; | ||
yName: string; | ||
@@ -266,2 +272,3 @@ } | ||
angleKey: string; | ||
angleValue: any; | ||
angleName?: string; | ||
@@ -268,0 +275,0 @@ labelKey?: string; |
import { Column } from "../entities/column"; | ||
import { RowNode } from "../entities/rowNode"; | ||
import { GridPanel } from "../gridPanel/gridPanel"; | ||
export interface IContextMenuFactory { | ||
showMenu(node: RowNode, column: Column, value: any, mouseEvent: MouseEvent | Touch): boolean; | ||
hideActiveMenu(): void; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
} |
import { Column } from "../entities/column"; | ||
import { GridPanel } from "../gridPanel/gridPanel"; | ||
export interface IMenuFactory { | ||
@@ -7,2 +8,3 @@ showMenuAfterButtonClick(column: Column, eventSource: HTMLElement, defaultTab?: string, restrictToTabs?: string[]): void; | ||
hideActiveMenu(): void; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
} |
@@ -10,3 +10,4 @@ import { ICellRendererComp, ICellRendererFunc } from "../rendering/cellRenderers/iCellRenderer"; | ||
} | ICellRendererFunc | string; | ||
searchDebounceDelay?: number; | ||
} | ||
export {}; |
import { IRowModel } from "./iRowModel"; | ||
import { RowDataTransaction } from "./rowDataTransaction"; | ||
export interface IServerSideRowModel extends IRowModel { | ||
@@ -7,2 +8,3 @@ purgeCache(route?: string[]): void; | ||
onRowHeightChanged(): void; | ||
applyTransaction(rowDataTransaction: RowDataTransaction, route: string[]): void; | ||
} |
export interface RowDataTransaction { | ||
/** deprecated */ addIndex?: number; | ||
addIndex?: number; | ||
add?: any[]; | ||
@@ -4,0 +4,0 @@ remove?: any[]; |
@@ -20,2 +20,3 @@ export { ColumnFactory } from "./columnController/columnFactory"; | ||
export { DragService } from "./dragAndDrop/dragService"; | ||
export { IRowDragItem } from "./rendering/row/rowDragComp"; | ||
export { Column } from "./entities/column"; | ||
@@ -131,2 +132,3 @@ export { ColumnGroup } from "./entities/columnGroup"; | ||
export { KeyCode } from "./constants/keyCode"; | ||
export { KeyName } from "./constants/keyName"; | ||
export { Grid, GridParams } from "./grid"; | ||
@@ -157,4 +159,4 @@ export { GridApi, RedrawRowsParams, RefreshCellsParams, StartEditingCellParams, DetailGridInfo, CreateRangeChartParams, CreatePivotChartParams } from "./gridApi"; | ||
export { HeaderNavigationService, HeaderNavigationDirection } from "./headerRendering/header/headerNavigationService"; | ||
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, GetQuickFilterTextParams, IsColumnFunc, IsColumnFuncParams, } from "./entities/colDef"; | ||
export { GridOptions, GetContextMenuItemsParams, GetContextMenuItems, GetChartToolbarItemsParams, GetDataPath, IsRowMaster, IsRowSelectable, MenuItemDef, GetMainMenuItemsParams, GetMainMenuItems, GetRowNodeIdFunc, ProcessRowParams, NavigateToNextCellParams, TabToNextCellParams, PostProcessPopupParams, ProcessDataFromClipboardParams, ChartRef, ProcessChartOptionsParams, ProcessChartParams } from "./entities/gridOptions"; | ||
export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, SuppressHeaderKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, GetQuickFilterTextParams, IsColumnFunc, IsColumnFuncParams, } from "./entities/colDef"; | ||
export { GridOptions, GetContextMenuItemsParams, GetContextMenuItems, GetChartToolbarItemsParams, GetDataPath, IsRowMaster, IsRowSelectable, MenuItemDef, GetMainMenuItemsParams, GetMainMenuItems, GetRowNodeIdFunc, ProcessRowParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, PostProcessPopupParams, ProcessDataFromClipboardParams, ChartRef, ProcessChartOptionsParams, ProcessChartParams } from "./entities/gridOptions"; | ||
export * from "./propertyKeys"; | ||
@@ -161,0 +163,0 @@ export { OriginalColumnGroupChild } from "./entities/originalColumnGroupChild"; |
import { NumberSequence } from "../../utils"; | ||
import { RowNode } from "../../entities/rowNode"; | ||
import { Context } from "../../context/context"; | ||
import { BeanStub } from "../../context/beanStub"; | ||
import { RowNodeCacheParams } from "./rowNodeCache"; | ||
import { RowRenderer } from "../../rendering/rowRenderer"; | ||
import { AgEvent } from "../../events"; | ||
import { IRowNodeBlock } from "../../interfaces/iRowNodeBlock"; | ||
export interface RowNodeBlockBeans { | ||
context: Context; | ||
rowRenderer: RowRenderer; | ||
} | ||
export interface LoadCompleteEvent extends AgEvent { | ||
@@ -24,2 +18,3 @@ success: boolean; | ||
static STATE_FAILED: string; | ||
private rowRenderer; | ||
private version; | ||
@@ -32,3 +27,2 @@ private state; | ||
rowNodes: RowNode[]; | ||
private beans; | ||
private rowNodeCacheParams; | ||
@@ -50,3 +44,3 @@ protected abstract loadFromDatasource(): void; | ||
getRowUsingLocalIndex(rowIndex: number, dontTouchLastAccessed?: boolean): RowNode; | ||
protected init(beans: RowNodeBlockBeans): void; | ||
protected init(): void; | ||
getStartRow(): number; | ||
@@ -61,3 +55,3 @@ getEndRow(): number; | ||
setNewData(rowIndex: number, dataItem: any): RowNode; | ||
protected createBlankRowNode(rowIndex: number): RowNode; | ||
protected createBlankRowNode(rowIndex?: number): RowNode; | ||
protected createRowNodes(): void; | ||
@@ -64,0 +58,0 @@ load(): void; |
@@ -18,3 +18,2 @@ import { RowNode } from "../../entities/rowNode"; | ||
lastAccessedSequence: NumberSequence; | ||
maxConcurrentRequests?: number; | ||
rowNodeBlockLoader?: RowNodeBlockLoader; | ||
@@ -52,3 +51,3 @@ dynamicRowHeight: boolean; | ||
protected checkBlockToLoad(): void; | ||
protected checkVirtualRowCount(block: T, lastRow: any): void; | ||
protected checkVirtualRowCount(block: T, lastRow?: number): void; | ||
setVirtualRowCount(rowCount: number, maxRowFound?: boolean): void; | ||
@@ -55,0 +54,0 @@ forEachNodeDeep(callback: (rowNode: RowNode, index: number) => void, sequence?: NumberSequence): void; |
@@ -35,2 +35,6 @@ import { Context } from "../context/context"; | ||
import { RowCssClassCalculator } from "./row/rowCssClassCalculator"; | ||
import { IRowModel } from "../interfaces/iRowModel"; | ||
import { IClientSideRowModel } from "../interfaces/iClientSideRowModel"; | ||
import { IServerSideRowModel } from "../interfaces/iServerSideRowModel"; | ||
import { ResizeObserverService } from "../misc/resizeObserverService"; | ||
/** Using the IoC has a slight performance consideration, which is no problem most of the | ||
@@ -42,2 +46,3 @@ * time, unless we are trashing objects - which is the case when scrolling and rowComp | ||
export declare class Beans { | ||
resizeObserverService: ResizeObserverService; | ||
paginationProxy: PaginationProxy; | ||
@@ -78,6 +83,9 @@ context: Context; | ||
rowCssClassCalculator: RowCssClassCalculator; | ||
rowModel: IRowModel; | ||
doingMasterDetail: boolean; | ||
gridPanel: GridPanel; | ||
clientSideRowModel: IClientSideRowModel; | ||
serverSideRowModel: IServerSideRowModel; | ||
registerGridComp(gridPanel: GridPanel): void; | ||
private postConstruct; | ||
} |
@@ -13,2 +13,3 @@ import { Column } from "../entities/column"; | ||
import { TooltipParentComp } from '../widgets/tooltipFeature'; | ||
import { ITooltipParams } from "./tooltipComponent"; | ||
export declare class CellComp extends Component implements TooltipParentComp { | ||
@@ -103,3 +104,4 @@ static DOM_DATA_KEY_CELL_COMP: string; | ||
private getToolTip; | ||
getTooltipText(escape?: boolean): any; | ||
getTooltipParams(): ITooltipParams; | ||
private getTooltipText; | ||
private processCellClassRules; | ||
@@ -106,0 +108,0 @@ private postProcessCellClassRules; |
@@ -9,2 +9,3 @@ import { Component } from '../widgets/component'; | ||
constructor(); | ||
private postConstruct; | ||
private onDataChanged; | ||
@@ -11,0 +12,0 @@ private onSelectableChanged; |
@@ -8,3 +8,2 @@ import { BeanStub } from "../context/beanStub"; | ||
export declare class MaxDivHeightScaler extends BeanStub { | ||
private gridOptionsWrapper; | ||
private gridPanel; | ||
@@ -20,3 +19,2 @@ private maxDivHeight; | ||
private maxScrollY; | ||
private scrollBarWidth; | ||
private postConstruct; | ||
@@ -23,0 +21,0 @@ registerGridComp(gridPanel: GridPanel): void; |
@@ -9,4 +9,2 @@ import { GridPanel } from "../../gridPanel/gridPanel"; | ||
private rowCssClassCalculator; | ||
private paginationProxy; | ||
private gridOptionsWrapper; | ||
$compile: any; | ||
@@ -13,0 +11,0 @@ private gridPanel; |
@@ -35,2 +35,3 @@ import { Beans } from "../beans"; | ||
private fullWidthRowComponentRight; | ||
private fullWidthRowDestroyFuncs; | ||
private firstRowOnPage; | ||
@@ -113,2 +114,3 @@ private lastRowOnPage; | ||
private createFullWidthRowContainer; | ||
private setupDetailRowAutoHeight; | ||
private angular1Compile; | ||
@@ -115,0 +117,0 @@ private createFullWidthParams; |
@@ -29,3 +29,2 @@ import { RowNode } from "../../entities/rowNode"; | ||
calculateRowLevel(rowNode: RowNode): number; | ||
isExpandable(rowNode: RowNode): boolean; | ||
} |
@@ -10,7 +10,7 @@ import { Component } from "../../widgets/component"; | ||
export declare class RowDragComp extends Component { | ||
private readonly beans; | ||
private readonly rowNode; | ||
private readonly column; | ||
private readonly cellValue; | ||
constructor(rowNode: RowNode, column: Column, cellValue: string, beans: Beans); | ||
private readonly cellValueFn; | ||
private readonly beans; | ||
constructor(rowNode: RowNode, column: Column, cellValueFn: () => string, beans: Beans); | ||
private postConstruct; | ||
@@ -17,0 +17,0 @@ private getSelectedCount; |
import { PopupComponent } from '../widgets/popupComponent'; | ||
import { IComponent } from '../interfaces/iComponent'; | ||
export interface ITooltipParams { | ||
api: any; | ||
columnApi: any; | ||
colDef: any; | ||
column: any; | ||
context: any; | ||
location?: string; | ||
location: string; | ||
api?: any; | ||
columnApi?: any; | ||
context?: any; | ||
colDef?: any; | ||
column?: any; | ||
value?: any; | ||
@@ -11,0 +11,0 @@ valueFormatted?: any; |
@@ -9,3 +9,3 @@ export declare function isBrowserIE(): boolean; | ||
export declare function getMaxDivHeight(): number; | ||
export declare function getScrollbarWidth(): number; | ||
export declare function getScrollbarWidth(): number | null; | ||
/** @deprecated */ | ||
@@ -12,0 +12,0 @@ export declare function hasOverflowScrolling(): boolean; |
import { GridOptionsWrapper } from '../gridOptionsWrapper'; | ||
import { RowNode } from '../entities/rowNode'; | ||
import { Column } from '../entities/column'; | ||
import { ColumnGroup } from '../entities/columnGroup'; | ||
export declare function isKeyPressed(event: KeyboardEvent, keyToCheck: number): boolean; | ||
export declare function isCharacterKey(event: KeyboardEvent): boolean; | ||
export declare function isEventFromPrintableCharacter(event: KeyboardEvent): boolean; | ||
@@ -17,1 +17,2 @@ /** | ||
export declare function isUserSuppressingKeyboardEvent(gridOptionsWrapper: GridOptionsWrapper, keyboardEvent: KeyboardEvent, rowNode: RowNode, column: Column, editing: boolean): boolean; | ||
export declare function isUserSuppressingHeaderKeyboardEvent(gridOptionsWrapper: GridOptionsWrapper, keyboardEvent: KeyboardEvent, headerRowIndex: number, column: Column | ColumnGroup): boolean; |
@@ -20,3 +20,3 @@ export declare function iterateObject<T>(object: { | ||
export declare function getAllKeysInObjects(objects: any[]): string[]; | ||
export declare function mergeDeep(dest: any, source: any, copyUndefined?: boolean, objectsThatNeedCopy?: string[], iteration?: number): void; | ||
export declare function mergeDeep(dest: any, source: any, copyUndefined?: boolean, makeCopyOfSimpleObjects?: boolean): void; | ||
export declare function assign<T, U>(target: T, source: U): T & U; | ||
@@ -30,1 +30,3 @@ export declare function assign<T, U, V>(target: T, source1: U, source2: V): T & U & V; | ||
export declare function getValueUsingField(data: any, field: string, fieldContainsDots: boolean): any; | ||
export declare function removeAllReferences(obj: any, objectName: string): void; | ||
export declare function isNonNullObject(value: any): boolean; |
@@ -25,3 +25,3 @@ export declare const _: { | ||
getAllKeysInObjects(objects: any[]): string[]; | ||
mergeDeep(dest: any, source: any, copyUndefined?: boolean, objectsThatNeedCopy?: string[], iteration?: number): void; | ||
mergeDeep(dest: any, source: any, copyUndefined?: boolean, makeCopyOfSimpleObjects?: boolean): void; | ||
assign<T_9, U>(target: T_9, source: U): T_9 & U; | ||
@@ -35,2 +35,4 @@ assign<T_10, U_1, V>(target: T_10, source1: U_1, source2: V): T_10 & U_1 & V; | ||
getValueUsingField(data: any, field: string, fieldContainsDots: boolean): any; | ||
removeAllReferences(obj: any, objectName: string): void; | ||
isNonNullObject(value: any): boolean; | ||
padStart(value: number, totalStringSize: number): string; | ||
@@ -50,5 +52,5 @@ createArrayOfNumbers(first: number, last: number): number[]; | ||
isKeyPressed(event: KeyboardEvent, keyToCheck: number): boolean; | ||
isCharacterKey(event: KeyboardEvent): boolean; | ||
isEventFromPrintableCharacter(event: KeyboardEvent): boolean; | ||
isUserSuppressingKeyboardEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, keyboardEvent: KeyboardEvent, rowNode: import("../main").RowNode, column: import("../main").Column, editing: boolean): boolean; | ||
isUserSuppressingHeaderKeyboardEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, keyboardEvent: KeyboardEvent, headerRowIndex: number, column: import("../main").Column | import("../main").ColumnGroup): boolean; | ||
createIcon(iconName: string, gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, column: import("../main").Column): HTMLElement; | ||
@@ -55,0 +57,0 @@ createIconNoSpan(iconName: string, gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, column?: import("../main").Column, forceCreate?: boolean): HTMLElement; |
@@ -9,2 +9,3 @@ import { IAgLabel } from './agAbstractLabel'; | ||
private readonly inputType; | ||
private readonly displayFieldTag; | ||
protected readonly eLabel: HTMLElement; | ||
@@ -11,0 +12,0 @@ protected readonly eWrapper: HTMLElement; |
@@ -27,5 +27,5 @@ import { GridOptionsWrapper } from '../gridOptionsWrapper'; | ||
private setSelected; | ||
protected dispatchChange(selected?: boolean, event?: MouseEvent): void; | ||
private dispatchChange; | ||
private onCheckboxClick; | ||
private refreshSelectedClass; | ||
} |
import { BeanStub } from "../context/beanStub"; | ||
import { Component } from "./component"; | ||
import { ColDef } from "../entities/colDef"; | ||
import { Column } from "../entities/column"; | ||
import { ColumnGroup } from "../entities/columnGroup"; | ||
import { CellPosition } from "../entities/cellPosition"; | ||
import { ITooltipParams } from "../rendering/tooltipComponent"; | ||
export interface TooltipParentComp extends Component { | ||
getTooltipText(): string; | ||
getComponentHolder(): ColDef | undefined; | ||
getColumn?(): Column | ColumnGroup; | ||
getCellPosition?(): CellPosition; | ||
getTooltipParams(): ITooltipParams; | ||
} | ||
@@ -23,3 +17,2 @@ export declare class TooltipFeature extends BeanStub { | ||
private gridOptionsWrapper; | ||
private readonly location; | ||
private tooltipShowDelay; | ||
@@ -35,3 +28,3 @@ private parentComp; | ||
private tooltipMouseTrack; | ||
constructor(parentComp: TooltipParentComp, location: string); | ||
constructor(parentComp: TooltipParentComp); | ||
private postConstruct; | ||
@@ -41,2 +34,3 @@ protected destroy(): void; | ||
onMouseLeave(): void; | ||
private onKeyDown; | ||
private setToDoNothing; | ||
@@ -43,0 +37,0 @@ onMouseMove(e: MouseEvent): void; |
@@ -10,2 +10,3 @@ import { Component } from './component'; | ||
private readonly cssIdentifier; | ||
private readonly ariaRole; | ||
private model; | ||
@@ -18,5 +19,7 @@ private renderedRows; | ||
private readonly gridOptionsWrapper; | ||
private readonly resizeObserverService; | ||
private readonly eContainer; | ||
constructor(cssIdentifier?: string); | ||
constructor(cssIdentifier?: string, ariaRole?: string); | ||
protected postConstruct(): void; | ||
private addResizeObserver; | ||
protected focusInnerElement(fromBottom: boolean): void; | ||
@@ -34,3 +37,3 @@ protected onFocusIn(e: FocusEvent): void; | ||
ensureIndexVisible(index: number): void; | ||
setComponentCreator(componentCreator: (value: any) => Component): void; | ||
setComponentCreator(componentCreator: (value: any, listItemElement: HTMLElement) => Component): void; | ||
getRowHeight(): number; | ||
@@ -37,0 +40,0 @@ getScrollTop(): number; |
@@ -1,4 +0,4 @@ | ||
// Type definitions for ag-grid-community v24.0.0 | ||
// Type definitions for ag-grid-community v24.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": "24.0.0", | ||
"version": "24.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": "~24.0.0", | ||
"@ag-grid-community/core": "~24.0.0", | ||
"@ag-grid-community/client-side-row-model": "~24.0.0", | ||
"@ag-grid-community/csv-export": "~24.0.0", | ||
"@ag-grid-community/infinite-row-model": "~24.0.0", | ||
"@ag-grid-community/all-modules": "~24.1.0", | ||
"@ag-grid-community/core": "~24.1.0", | ||
"@ag-grid-community/client-side-row-model": "~24.1.0", | ||
"@ag-grid-community/csv-export": "~24.1.0", | ||
"@ag-grid-community/infinite-row-model": "~24.1.0", | ||
"gulp": "^4.0.0", | ||
@@ -59,0 +59,0 @@ "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 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
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
26040504
845
325870