import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import * as wjcGrid from '@grapecity/wijmo.grid'; import * as wjcFilter from '@grapecity/wijmo.grid.filter'; import { ListBox } from '@grapecity/wijmo.input'; import { ODataCollectionView, ODataVirtualCollectionView } from '@grapecity/wijmo.odata'; import { Selector } from '@grapecity/wijmo.grid.selector'; import { TranslateService } from '@ngx-translate/core'; import { ButtonColors } from '../../../enums/button-colors'; import { GridColumnDataTypes } from '../../../enums/grid-column-data-types'; import { GeneralActionInterface } from '../../../models/general-action.interface'; import { GridColumnFilterInterface } from '../../../models/grid-column-filter.interface'; import { GridColumnInterface } from '../../../models/grid-column.interface'; import { GridConfigInterface } from '../../../models/grid-config.interface'; import { FararuToastService } from '../../toast'; import { ColumnCustomFilterInterface, CustomFilterInterface } from './grid.component.models'; import * as i0 from "@angular/core"; interface IconAction { icon: { type: string; group: string; name: string; color?: ButtonColors; }; title?: string; callback: any; } export declare class GridComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy { private cd; private toast; private translateService; oDataServer: string; oDataTable: string; oDataEntity: string; oDataHttpHeaders: { [key: string]: string; }; oDataFilters: GridColumnFilterInterface[]; oDataFilterDefinition?: string; oDataIsFullLoad: boolean; quickFilterKeys: string[]; config: GridConfigInterface; items: any[]; childItemsPath: string[] | string; customIconName: string; /** deprecated */ moreActions: { title: string; callback: any; }[]; moreMenuItems: GeneralActionInterface[]; iconActions: IconAction[]; collapseRows: boolean; gridId: string; showGroupingPanel: boolean; hideODataDefaultLoading: boolean; hasRowNumber: boolean; hideCheckboxInCheckableGrid: boolean; multipleSelect: boolean; gridHasColumnPicker: boolean; footerAggregateData: { [key: string]: number; }; hideHeaderCustomFilter?: boolean; showDeleteButton: boolean; showEditButton: boolean; editCallback: EventEmitter; deleteCallback: EventEmitter; customCallback: EventEmitter; loadStartCallback: EventEmitter; loadCallback: EventEmitter; loadErrorCallback: EventEmitter; checkCallback: EventEmitter; rowSelectCallback: EventEmitter; rowDeleteCallback: EventEmitter; cellEditCallback: EventEmitter; rowsClickedItemCalback: EventEmitter; filterAppliedCallback: EventEmitter; keydownCallback: EventEmitter; _oldSelection: number; reviewCurrentTabKey: string; isOData: boolean; hasEditButton: boolean; hasDeleteButton: boolean; hasCustomButton: boolean; hasRowSelection: boolean; hasAggregation: boolean; hasCheckbox: boolean; isGridEditMode: boolean; expandRows: boolean; showEmptyMessage: boolean; showLoading: boolean; oDataItems: ODataCollectionView; oDataVirtualItems: ODataVirtualCollectionView; selector: Selector; dataMaps: any; gridItems: any[]; defaultRowNumberColumnName: string; actionColumnName: string; columnsList: GridColumnInterface[]; gridFilter: wjcFilter.FlexGridFilter; columnCustomFilter: ColumnCustomFilterInterface; tplImage: wjcGrid.ICellTemplateFunction; grid: wjcGrid.FlexGrid; columnPicker: ListBox; private _isDragEnabled; private _dragSrc; private _dragDst; private columnPickerProgrssing; private filterAppliedCallbackTimeout; private lastSelectedRowIndex?; private onReloadSelectedRowIndex?; get GridColumnDataTypes(): typeof GridColumnDataTypes; constructor(cd: ChangeDetectorRef, toast: FararuToastService, translateService: TranslateService); ngOnInit(): Promise; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; columnCustomFilterChangeHandler(columnData: GridColumnInterface, filterData: CustomFilterInterface): void; getColumnDataType(cell: any): GridColumnDataTypes; getRows(): any[]; collapseGroupsToLevel(level: number): void; setRowAsSelected(index: number): boolean; flexInitialized(flexgrid: wjcGrid.FlexGrid): void; generateColumnClassName(config: GridColumnInterface): string | null; hasActionColumn(): boolean; selectionChangeHandler(): void; editHandler(item?: any): void; deleteHandler(item?: any): void; customeEvent(item?: any): void; resetRequestHeader: () => Promise; reload: () => void; filter(e: any): void; handleDragStart(e: DragEvent): void; handleDragOver(e: DragEvent): void; handleDrop(e: DragEvent): void; handleDragEnd(e: DragEvent): void; onLoadedRows(e: wjcGrid.CellRangeEventArgs): void; onRowsClicked: (grid: wjcGrid.FlexGrid) => void; updateColumnsList: () => void; refreshGridWithPersistingExpandState: (items: any) => void; assignGridItemsAsync: (items: any) => Promise; saveGridLayout: () => GridConfigInterface; getGridLayout(): GridConfigInterface; restoreGridLayout: (obj: GridConfigInterface) => void; autoSizeColumns(): void; getVirtualODataFilterDefinition(): string; clearFilter(): void; togglePopup(ref: any): void; exportToExcel(): void; focus(): void; private _exportFormatItem; private createDefaultRowNumberColumnData; private createActionColumnData; private removeScrollPositionChangedHandler; private addScrollPositionChangedHandler; private scrollPositionChangedHandler; private checkKeys; private createODataFilterDefinition; private _getDropDownItems; private initColumnPicker; private _removeDropMarker; private _getElementIndex; private _addDropMarker; private _enableDragItem; private oDataErrorHandler; private showErrorMessage; private updateColumnCustomFilter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};