import { OnDestroy, OnInit } from "@angular/core"; import { Store } from "@ngrx/store"; import { SubSink } from "subsink2"; import { SearchQueryModel } from "../../../../../models/query.model"; import { BranchSettingsFacade } from '../../../facades/branch-settings.facade'; import { ListingInputModel } from '../../../../../models/listing-input.model'; import { ListingService } from '../../../../../services/listing-service'; import { ToastrService } from 'ngx-toastr'; import { BranchSettingsStates } from '../../../branch-settings-controller/states'; import { SharedUtilitiesHelperFunctions } from "../../../../../utilities/helper-functions"; interface LocalState { deactivateReturn: boolean; deactivateList: boolean; selectedIndex: number; deactivateAdd: boolean; einvoiceSelectedIndex: number; } export declare class BranchPrintableListingComponent implements OnInit, OnDestroy { private readonly store; protected viewColFacade: BranchSettingsFacade; protected listingService: ListingService; protected toastr: ToastrService; protected subs: SubSink; protected readonly index = 1; apiVisa: import("blg-akaun-ts-lib").ApiVisa; protected localState: LocalState; searchModel: import("../../../../..").SearchModelV2; rowData: any[]; totalRecords: number; limit: number; searchQuery: SearchQueryModel; gridApi: any; gridOptions: { defaultColDef: { filter: string; floatingFilter: boolean; minWidth: number; flex: number; sortable: boolean; resizable: boolean; }; columnTypes: { integerColumn: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.formatIntegerValue; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; }; }; }; integerCenterColumn: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.formatIntegerValue; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; }; }; }; decimalColumn: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.formatDecimalValue; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; currencyFormatter: string; }; }; }; decimalColumnBlank: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.decimalFormatterWithBlank; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; currencyFormatter: string; }; }; }; decimalColumnNoBlanket: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.decimalFormatterNoBlanket; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; currencyFormatter: string; }; }; }; decimal8Column: { type: string; aggFunc: string; enableValue: boolean; filter: string; cellStyle: { textAlign: string; }; headerClass: string; valueFormatter: typeof SharedUtilitiesHelperFunctions.decimal8Formatter; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; currencyFormatter: string; }; }; }; dateColumn: { cellStyle: { textAlign: string; }; valueFormatter: typeof SharedUtilitiesHelperFunctions.formatDate; filter: string; filterParams: { comparator: typeof SharedUtilitiesHelperFunctions.compareDateFilter; browserDatePicker: boolean; buttons: string[]; minValidYear: number; maxValidYear: number; }; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; dateFormatter: string; }; }; }; dateTimeColumn: { cellStyle: { textAlign: string; }; valueFormatter: typeof SharedUtilitiesHelperFunctions.formatDateTime; filter: string; filterParams: { comparator: typeof SharedUtilitiesHelperFunctions.compareDateFilter; browserDatePicker: boolean; buttons: string[]; minValidYear: number; maxValidYear: number; }; pdfExportOptions: { headerStyles: { alignment: string; }; styles: { alignment: string; dateTimeFormatter: string; }; }; }; textColumn: { cellStyle: { textAlign: string; }; filter: string; filterParams: { filters: ({ filter: string; display: string; filterParams?: undefined; } | { filter: string; filterParams: { buttons: string[]; }; display?: undefined; })[]; }; }; }; pagination: boolean; animateRows: boolean; sideBar: boolean; rowSelection: string; }; columnsDefs: { headerName: string; field: string; type: string; }[]; branchGuid: any; private paginationComponent; constructor(store: Store, viewColFacade: BranchSettingsFacade, listingService: ListingService, toastr: ToastrService); ngOnInit(): void; onNext(): void; onGridReady(params: any): void; getTotalData(): void; createData(): void; onSearch(e: SearchQueryModel): void; clear(): void; getInputModel(): ListingInputModel; onRowClicked(data: any): void; onMorePage(): void; ngOnDestroy(): void; } export {};