import { OnInit, QueryList, TemplateRef, EventEmitter, AfterViewInit } from '@angular/core'; import { MatPaginator, MatTableDataSource, MatDialog } from '@angular/material'; import { DatabaseGwService } from '../../../services/database-gw.service'; export declare class DisplayColumns { fieldName: string; label: string; isTranslate: number; } export declare class LookupFieldComponent implements OnInit, AfterViewInit { private _MatDialog; private $dataBase; formFieldAppearance: string; apiRoute: string; /** required: table name */ filterRecord: any; /** Filter to get custom data */ columnNames: any[]; /** Table column name: fieldName , tableName, tableLabel */ size: string; dialogTitle: string; /** Dialog title */ hideButtonCreate: boolean; recordEmitter: EventEmitter; callbackNew: EventEmitter; value: any; /** Input value */ label: string; /** Label to show with data */ placeholder: string; /** Placeholder to show whenever there's no data */ isHideButtons: boolean; /** Hide all action buttons */ isRequire: boolean; isDisable: boolean; isViewable: boolean; viewLink: string; inputType: string; isRefreshing: boolean; isLoading: boolean; lstRecords: MatTableDataSource; columsDef: string[]; popUpDialog: TemplateRef; paginator: QueryList; constructor(_MatDialog: MatDialog, $dataBase: DatabaseGwService); ngAfterViewInit(): void; ngOnInit(): void; onLoadRecords(): void; fetchData(lstRecords: any[]): any[]; onOpenDialog(): void; onClearData(): void; onSelect(record: any): void; callbackCreate(): void; onSearch(filterValue: string): void; onRefresh(): void; }