import { OnInit, ElementRef, EventEmitter } from "@angular/core"; import { Observable } from "rxjs"; import { HttpClient } from "@angular/common/http"; import { FormBuilder, FormGroup, NgForm } from "@angular/forms"; import { DatePipe } from "@angular/common"; import { InputSearchObj } from "./model/input-search-obj.model"; import { CriteriaObj } from "./model/criteria-obj.model"; import { RequestCriteriaObj } from "./model/request-criteria-obj.model"; import { ToastrService } from "ngx-toastr"; import { KeyValueReportObj } from "./model/key-value-report.model"; import { CookieService } from "ngx-cookie"; import { KeyValueUCSearchObj, ListKeyValueMonth } from "./model/key-value-uc-search.model"; import { ExportFileService } from "./services/export-file.service"; import { ActivatedRoute } from "@angular/router"; import { NgxRouterService } from "@adins/fe-core"; import { UcsearchDatetimeService } from "./services/ucsearch-datetime.service"; import { UcsearchFormService } from "./services/ucsearch-form.service"; import * as i0 from "@angular/core"; export declare class UCSearchComponent implements OnInit { private http; toastr: ToastrService; private cookieService; private datePipe; private elemRef; private exportFileService; private route; private ngxRouter; private fb; private datetimeService; private ucSearchFormService; set content(content: NgForm); myForm: ElementRef; searchInput: InputSearchObj; pageSize: number; isReport: boolean; showRptExecType: boolean; result: EventEmitter; genRpt: EventEmitter<{ ExportType: number; RptExecType: number; ElRef: ElementRef; formRaw: any; }>; reqGetAllData: EventEmitter; ExportTypeList: Array; ReportExecTypeList: Array; exportAsFileList: { key: string; value: string; }[]; ListOfMonth: ListKeyValueMonth; ListOfYear: Array; ClaimList: Array; ExportType: number; RptExecType: number; pageNow: any; configuration: any; exportData: any; ExcelData: any; isDataLoaded: boolean; isHidden: boolean; BisDt: string; BusinessDt: Date; readonly: boolean; isSearch: boolean; valueDict: {}; lookupDict: {}; currentState: string; form: FormGroup; countForm: number; formattedAmount: string; amount: number; apiUrl: string; arrCrit: any; searchForm: NgForm; queryParam: Record; persistCrit: CriteriaObj[]; persistAddToTempCrit: CriteriaObj[]; lookupKeyValDict: Record; notifyUpdateKeyValDict: EventEmitter; months: { key: number; value: string; }[]; years: any[]; yearNow: number; private baseYear; private minMaxYear; useNewDatepicker: boolean; searchBtnReady: boolean; constructor(http: HttpClient, toastr: ToastrService, cookieService: CookieService, datePipe: DatePipe, elemRef: ElementRef, exportFileService: ExportFileService, route: ActivatedRoute, ngxRouter: NgxRouterService, fb: FormBuilder, datetimeService: UcsearchDatetimeService, ucSearchFormService: UcsearchFormService); changeState(): void; ngOnInit(): Promise; initiateForm(isInit: boolean): Promise; setConfigurationData(data: any, isInit: boolean): void; getBusinessDate(bisDt: any): Date; getFirstDayOfMonth(date: Date): Date; getLastDayOfMonth(date: Date): Date; setInitialLookupKeyValDict(): void; private getUserAccess; private autofill; isValidDate(d: any): boolean; SetRoleOfficeCodes(i: number): void; setDefaultValueMonth(value: any): number; setMonthDDL(month: any): KeyValueUCSearchObj[]; setDefaultValueYear(value: any): number; setYearDDL(year: any): KeyValueUCSearchObj[]; getJSON(url: string): Observable; postJSON(url: string, criteria?: any): Observable; searchClick(IsExportExcel?: boolean, ExtFile?: string): void; reset(): Promise; checkSubmitDate(component: any): boolean; checkNumericPair(component: any, myform: any): boolean; search(apiUrl: string, pageNo: number, rowPerPage: number, orderBy: any, isClickSearch: boolean, addCrit?: CriteriaObj[], IsExportExcel?: boolean, extFile?: string, isAddToTemp?: boolean, addToTempCrit?: CriteriaObj[]): Promise; private filterDuplicateData; private filterListValueEmpty; removeTrailingBackslashesAfterPercent(str: any): any; checkValueGteLte(component: any): boolean; mapDataFile(bodyListData: any, bodyDataArr: any, headerListData: any): any[]; checkAdditionalExportList(headerListData: any, bodyListData: any, additionalExportList: any): any[]; checkExcludeExportList(headerListData: any, bodyListData: any, excludeExportList: any): any[]; private checkNeedDataToExport; GenerateReport(enjiForm: any): void; lessThanFour(): boolean; resolveObject(obj: any, url: string, crit?: RequestCriteriaObj): void; transformToDecimal(element: any): void; exportAsFile(extFile: string): void; onChangeEvent(optValue: any, afFilter: any): void; private getObjData; SetProcessKey(idx: number, wfKeyFilter: string): void; switchCase(condList: any): boolean; private DecryptString; checkInputDate(component: any, index: number): void; private checkMinMaxValidation; private updateMinMaxDateValue; updateComponentDate(compObj: any, confDateKey: string, value: any, flagKey: string, datepickerPair: string): void; selectedOption(item: { Key: string; Value: string; }, crit: any): void; OnFocusCurr(ev: any, value: any): void; ValidateDefaultValue(item: any): void; getLookup(event: any, component: any): void; getInputtedValue(ev: any, component: any): void; isCollapsed: boolean; onCollapse(ev: any): void; updateKeyValDict(ev: any): void; private generateCurrFocElValue; private setValidatorNumber; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=ucsearch.component.d.ts.map