UNPKG

ag-grid-enterprise

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

23 lines (22 loc) 906 B
import type { AgColumn, FullWidthRowNoteParams, GetNoteParams, INoteAccess, IRowNode, Note, SetNoteParams } from 'ag-grid-community'; export interface NoteTarget { focusColumn: AgColumn; noteParams: GetNoteParams; rowNode: IRowNode; anchorElement: HTMLElement; } export type InternalSetNoteParams = SetNoteParams & { previousNote?: Note; source?: 'ui' | 'api'; }; export interface INotePopupOwner { closeNotePopup(save?: boolean): void; } export interface INotesFeatureSupport { getNoteAccess(params: GetNoteParams): INoteAccess | undefined; getHoverGeneration(): number; setNote(params: InternalSetNoteParams): void; replaceActivePopupOwner(owner: INotePopupOwner): INotePopupOwner | undefined; clearActivePopupOwner(owner: INotePopupOwner): void; } export declare function isFullWidthRowNoteParams(params: GetNoteParams): params is FullWidthRowNoteParams;