import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { AbstractControl, FormGroup } from '@angular/forms'; import { DataGridColumnInterface } from '../../../../models/data-grid-column.interface'; import { FararuToastService } from '../../../toast'; import * as i0 from "@angular/core"; export declare class DataGridComponent implements OnInit, OnChanges, AfterViewInit { protected elementRef: ElementRef; protected toastService: FararuToastService; columns: DataGridColumnInterface[]; items: RowType[]; noResetSelectedCell?: boolean; tabIndex?: number; cellEditCallback: (data: any) => void; rowDeleteCallback: (data: any) => void; disabled?: boolean; addable?: boolean; removable?: boolean; rowAddCallback: EventEmitter; rowChangeCallback: EventEmitter; listRef: ElementRef; editBoxRef: ElementRef; isEditMode?: boolean; selectedCell: { column: number; row: number; }; maxColumIndex: number; maxRowIndex: number; editBoxIsShow?: boolean; internalItems?: any[]; shaking?: boolean; fixedLayout?: boolean; rowActionsColIsShow?: boolean; rowDeleteButtonIsShow?: boolean; form?: FormGroup; cellLoading: Map; currentCellDynamicPropertyDict: { [property: string]: any; }; wrapperElement: HTMLDivElement; isScrolling?: boolean; isFocused?: boolean; lastFocusedElement?: 'container' | 'input'; private direction; private cellPrepareEditTimeout?; private goToCellIsBusy?; private scrollingTimeout?; private blurTimeout?; constructor(elementRef: ElementRef, toastService: FararuToastService); ngOnInit(): void; documentKeyDown(event: KeyboardEvent): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; focusHandler(): void; blurHandler(): void; setFocused(): void; keydownHandler(event: KeyboardEvent): void; cellClickHandler(columnIndex: number, rowIndex: number): void; cellChangeHandler(changedValue: any, column: DataGridColumnInterface, row: any): Promise; numberCellClickHandler(index: number): void; rowRemoveButtonHandler(index: number, $event: Event): void; getActionsColWidth(): string; getRowNumberColWidth(): string; rowIsPlaceholder(row: any): boolean; getValidationMessage(column: DataGridColumnInterface, control: AbstractControl): any; goToCell(columnIndex: number, rowIndex: number, forceEdit?: boolean, noDelay?: boolean): void; cellIsProgrssing(row: number, column: number): boolean; setCellIsProgressingState(row: number, column: number, state: boolean): void; getColumIndexByBindingProperty(binding: DataGridColumnInterface['binding']): number; insertPlaceholderRowAsNewRow(): Promise; resetPlaceholderRow(): void; private checkCellValueIsUniqueInCol; private containerLeftArrowKeyFired; private containerTopArrowKeyFired; private containerRightArrowKeyFired; private containerBottomArrowKeyFired; private containerDeleteKeyFired; private containerEscapeKeyFired; private selectedCellScrollIntoView; private prepareCurrentCellForEdit; private initializeInputElement; private hideEditBox; private setFocusOnContainer; private setFocusOnInput; private canLeaveCurrentCell; private goToNextCell; private getEditableColumnIndexList; private goToNextRowEditableCell; private goToPrevRowEditableCell; private goToPrevCell; private goToUpCell; private goToDownCell; private removeRow; private addPlaceholderRow; private removePlaceholderRow; private addPlaceholderRowAsActiveRow; private generateCellLoadingKey; private cellEnterHandler; private cellControlEnterHandler; private cellEscapeHandler; private rowChangeHandler; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "ui-data-grid", never, { "columns": "columns"; "items": "items"; "noResetSelectedCell": "noResetSelectedCell"; "tabIndex": "tabIndex"; "cellEditCallback": "cellEditCallback"; "rowDeleteCallback": "rowDeleteCallback"; "disabled": "disabled"; "addable": "addable"; "removable": "removable"; }, { "rowAddCallback": "rowAddCallback"; "rowChangeCallback": "rowChangeCallback"; }, never, never>; }