import { OnInit, TemplateRef, EventEmitter, SimpleChanges, OnChanges } from '@angular/core'; import { IEpGridModel, IEpGridColumn, EpGridComponent, IEpGridState, IEPGridDataResult, EpButtonStyle, EpEventService } from '@epicor/kinetic'; import { IEpBtFaCardModel } from '../../models/epbt-fa-card.model'; import { GetCustomerNotepadItemsRequest, PagingParameters, SortParameters, FieldAgentClient, GetQuotesRequest, PortalSearchParametersSuper } from 'ep-bt-field-agent-proxy'; import { BistrackConfig, DocumentTypes } from 'ep-bt-controls'; import { ActivatedRoute, Router } from '@angular/router'; import { EpbtFieldAgentService } from '../../services/epbt-field-agent.service'; import { EpbtFaDocumentService } from '../../services/epbt-fa-document.service'; import { EpbtFaAttachmentService } from '../../services/epbt-fa-attachment.service'; import { Observable } from 'rxjs'; import { EpbtFaCustomerService } from '../../services/epbt-fa-customer.service'; import { EpbtFaQuickOrderService } from '../../services/epbt-fa-quick-order.service'; import { EpbtFaFilterService } from '../../services/epbt-fa-filter.service'; import { EpbtFaSortService } from '../../services/epbt-fa-sort.service'; import { EpbtFaCustomerSearchComponent } from '../../controls/epbt-fa-customer-search/epbt-fa-customer-search.component'; import { EpbtFaOpportunityService } from '../../services/epbt-fa-opportunity.service'; export declare class EpbtFaDocumentsGridComponent implements OnInit, OnChanges { private client; private route; private router; private fieldAgentService; private config; private faDocumentService; private faDocumentPDFService; quickOrderService: EpbtFaQuickOrderService; private customerService; private opportunityService; private epEvent; private filterService; private sortService; searchString: string; constructor(client: FieldAgentClient, route: ActivatedRoute, router: Router, fieldAgentService: EpbtFieldAgentService, config: BistrackConfig, faDocumentService: EpbtFaDocumentService, faDocumentPDFService: EpbtFaAttachmentService, quickOrderService: EpbtFaQuickOrderService, customerService: EpbtFaCustomerService, opportunityService: EpbtFaOpportunityService, epEvent: EpEventService, filterService: EpbtFaFilterService, sortService: EpbtFaSortService); EpButtonStyle: typeof EpButtonStyle; customerId: number; fromDashbard: boolean; addVisibility: boolean; addButtonTitle: string; documentPdfData: any; private _searchString; dateTemplate: TemplateRef; currencyTemplate: TemplateRef; percentageTemplate: TemplateRef; downloadPDFTemplate: TemplateRef; noCommaTemplate: TemplateRef; searchComponent: EpbtFaCustomerSearchComponent; gridModel: IEpGridModel; pageSize: number; card: Array; webTrackUser: any; customerNotepadItemsRequest: GetCustomerNotepadItemsRequest; getQuotesRequest: GetQuotesRequest; paging: PagingParameters; sort: SortParameters; searchParameters: PortalSearchParametersSuper; webtrackResult: any; documents: any; currency: string; dateFormat: string; gridColumns: IEpGridColumn[]; documentType: string; documentTypes: typeof DocumentTypes; fieldTypeEnum: any; documentTypeChange: EventEmitter; loadingChange: EventEmitter; documentsCollection: any; totalPages: number; showGrid: boolean; pageArray: Array; lastPage: number; lastRecords: any; mobileData: any; isLastRecords: boolean; isMoreEnable: boolean; pageName: string; placeholder: string; isFilter: boolean; isSort: boolean; values: { check: boolean; unCheck: boolean; }; receiveString(searchValue: any): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; onEnterClick(): void; updateSearchEventsData(data: any): void; updateDefaultFilterType(): void; setSearchData(): void; getSearchValues(filters: any, selectedFilter: any): void; getGridModel(documentList: any): IEpGridModel; getHeight(): number; getGridData(epGrid: EpGridComponent, state: IEpGridState, isMobile: boolean): Observable; onValueChange(selectedValue: any): void; clearGridDetails(): void; updateGridData(): void; navigateToCustomer(): void; getMobileData(): void; navigateToDetailsView(args: any): void; onCardClick(model: any): void; getList(model: any): any[]; getTemplateType(type: any): TemplateRef; onPDFDownloadClick(documentType: string, selectedDataItems: any): void; addDocumentClick(): void; navigateTo(): void; onDocumentTypeChange(documentType: any): void; }