import { DestroyRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { Subscription } from 'rxjs'; import { ClickSubscription, GeneralActionButtonInterface, GeneralActionInterface, GeneralIconActionInterface } from '../../../models/general-action.interface'; import { GeneralFieldConfigInterface } from '../../../models/general-field-config.interface'; import { GeneralSaveApiInterface } from '../../../models/general-save-api.interface'; import { GridConfigInterface } from '../../../models/grid-config.interface'; import { GridDetailColumnInterface } from '../../../models/grid-detail-column.interface'; import { GridNameInterface } from '../../../models/grid-name.interface'; import { OdataHttpHeaders } from '../../../models/odata-http-header.interface'; import { GridComponent } from '../../ui/grid/grid.component'; import { GridColumnFilterInterface } from './../../../models/grid-column-filter.interface'; import { GeneralListDepsService } from './general-list-deps.service'; import * as i0 from "@angular/core"; export declare class GeneralSimpleListComponent implements OnInit, OnChanges, OnDestroy { protected deps: GeneralListDepsService; private readonly _destroyRef?; identityFieldName: string; title?: string; uniquePageName?: string; gridName?: GridNameInterface; loadingIsShow?: boolean; disabled?: boolean; fields?: GeneralFieldConfigInterface[]; oDataServer?: string; oDataTable?: string; oDataEntity?: string; hasRelatedOrigins?: boolean; oDataHttpHeaders: OdataHttpHeaders; oDataFilters?: GridColumnFilterInterface[]; items?: any[]; childItemsPath?: string[] | string; isMultipleSelect?: boolean; gridRowMoreActions?: GeneralActionInterface[]; gridRowIconActions?: GeneralIconActionInterface[]; gridCustomActions?: GeneralActionButtonInterface[]; gridCollapseRows?: boolean; gridCollapseLevel?: number; removeApi?: GeneralSaveApiInterface; hideRemoveButton?: boolean; hideEditButton?: boolean; hiddenData?: { [key: string]: string; }; reload?: any; downloadCallback?: (filter: any) => any; beforeRemoveCallback?: (data: any) => any; removeCallback?: (data: any) => any; afterRemoveCallback?: (data: any) => any; beforeEditCallback?: (data: any) => Promise | boolean; editCallback?: (data: any) => any; selectCallback?: (data: any) => any; showDownloadBtn: boolean; hideCheckboxInCheckableGrid: boolean; transformer?: (response: any) => any; apiServer?: string; apiUrl?: string; apiHeaders?: { [name: string]: string; }; showFilters: boolean; getDetailItemsCallBack: (data: any, rowIndex: number) => any[]; rowHasDetailCallBack: (data: any) => boolean; detailColumnsConfig: GridDetailColumnInterface[]; multiExpand: boolean; reorderCondition: (item: any, item2: any) => boolean; isActive: boolean; rowFormatCallback?: GridComponent['rowFormatCallback']; cellFormatCallback?: GridComponent['cellFormatCallback']; isReorderActive: boolean; reorderFieldName: string; viewAccessNodeId?: number; newAccessNodeId?: number; editAccessNodeId?: number; deleteAccessNodeId?: number; downloadAccessNodeId?: number; treeIdBinding?: string; treeTitleBinding?: string; treeExpandedBinding?: string; treeChildrenBinding?: string; treeExpandDepth?: number; treeSelectedNode?: any; treeSideIconTemplate: TemplateRef; gridLoaded: EventEmitter; gridLoadStarted: EventEmitter; onItemChecked: EventEmitter; onRowOrderChange: EventEmitter<{ [key: string]: any; [key: number]: any; }>; gridItemClickCallback: EventEmitter; gridItemDoubleClicked: EventEmitter; gridColumnsChangeCallback: EventEmitter; gridComponent: GridComponent; gridConfig?: GridConfigInterface; hasEditButton?: boolean; hasRemoveButton?: boolean; selectedRows?: any; downloadLoadingIsShow: boolean; progress: number; clickMap: Map; protected subscriptions: Subscription; hasViewAccess: boolean; hasAddAccess: boolean; hasDeleteAccess: boolean; hasEditAccess: boolean; hasDownloadAccess: boolean; hasTree?: boolean; treeRemoteData?: any[]; treeIsLoading?: boolean; private _treeSubscription?; footerAggregateData: { [key: string]: number; }; constructor(deps: GeneralListDepsService, _destroyRef?: DestroyRef); refresh(): void; ngOnInit(): void; checkPermissions(): void; updateGridConfig(): void; gridLoadStartHandler(): void; ngOnChanges(changes: SimpleChanges): void; configureButtons(): void; selectHandler(selectedRows: any): void; gridItemClickHandler(clickedRow: any): void; gridItemDoubleClickHandler(clickedRow: any): void; gridColumnsChange(columns: any): void; editHandlerAsync(data: any): Promise; editHandler(data: any): void; removeHandler(data: any): Promise; downloadSubscription: Subscription; cancelDownload(): void; downloadHandler(gridComponent?: GridComponent): Promise; saveBlobAsFile(blob: Blob, filename: string): void; showPlanProgressHandler(state: boolean): void; gridLoadHandler(): void; checkCallback($event: any): void; getOdataCount(): { isNull: number; isFetched: number; isSelected: number; all: number; }; getCheckedRows(): any[]; getOdataFilters(): GridColumnFilterInterface[]; ngOnDestroy(): void; getOdataFiltersEncoded(): string; onClick(event: Event, selectedRows: any, action: GeneralActionButtonInterface): void; onClickResultHandler(action: GeneralActionButtonInterface): void; reloadOnSuccess(): void; onOrderOfItemsChange($event: { [key: number | string]: any; }): void; private _loadTreeData; checkRowsByIndex(rows: number[]): void; checkRowsByCondition(condition: (row: any) => boolean): void; uncheckRowsByIndex(rows: number[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }