import { ElementRef, ViewContainerRef, AfterContentInit } from '@angular/core'; import { QueryBand } from './queryBand'; import { DataGrid } from '../dataGrid/dataGrid'; import { Modal } from '../angular2-modal/providers/Modal'; import { ICustomModalComponent } from '../angular2-modal/models/ICustomModalComponent'; import { ModalDialogInstance } from '../angular2-modal/models/ModalDialogInstance'; import { ListSelectorDialog } from '../dialogs/listSelectorDialog'; import * as i0 from "@angular/core"; export declare class RecordList implements AfterContentInit { private modal; private elementRef; private viewRef; private selectList; /** * this is the associated record list dialog, if set we use it to handle window resize */ dialogInstance: ModalDialogInstance; /** * this is the associated record edit dialog, if set dbl-cliking a row or hitting the Add/Edit buttons will open it */ editWindow: ICustomModalComponent; /** * get the associated Query band and Datagrid object instances */ queryBand: QueryBand; theGrid: DataGrid; /** * return the currently selected records from the grid */ get selectedRecords(): Array; /** * Save Edit Window Configuration */ private _editWindowConfig; _previousQuery: Object; private _previousAdvancedQuery; constructor(modal: Modal, elementRef: ElementRef, viewRef: ViewContainerRef, selectList: ListSelectorDialog); /** * AFter our view gets initialized, subscribe to various events on the Query band and the Grid */ ngAfterContentInit(): void; /** * Clear all previous queries */ clearQuery(): void; /** * Refresh teh Grid, run query on 4D side and get records to display * @param query: the query string to send to 4D to select records to display on the grid */ refreshGrid(query?: Object): void; /** * Handle browser window resize and resize grid */ onResize(): void; /** * Intercept Dialog Window resize event and resize the Grid to fit the entire window * @param event */ windowResized(event: any): void; /** * Show record edit window, to either edit or add a new record */ showEditWindow(mode: string): void; /** * Delete Selected Record(s) */ deleteRecord(): void; /** * private method to deal with edit window close */ private editWindowHandler; /** * deal with advanced Query dialog */ private showAdvancedQuery; /** * Handle Manage Sets dropdown menu and act upon user selected action */ private doManageSets; private restoreSet; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }