import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
import { FormBuilder, FormGroup } from "@angular/forms";
import { ActivatedRoute, Router } from "@angular/router";
import { TranslateService } from "@ngx-translate/core";
import { FormField, IToken } from "@seniorsistemas/angular-components";
import { HotkeysService } from "angular2-hotkeys";
import { ConfirmationService, LazyLoadEvent, MenuItem, MessageService, SortMeta } from "primeng/api";
import { Table } from "primeng/table";
import { BaseHistoryService } from "../../../../core/entities/base-history/base-history.service";
import { E070EmpService } from "../../../../core/entities/e-070-emp/e-070-emp.service";
import { E070FilService } from "../../../../core/entities/e-070-fil/e-070-fil.service";
import { LeaveHistory } from "../../../../core/entities/leave-history/leave-history";
import { LeaveHistoryService } from "../../../../core/entities/leave-history/leave-history.service";
import { SituationService } from "../../../../core/entities/situation/situation.service";
import { PlatformService } from "../../../../shared/services/platform.service";
import { FiltersStorageService } from "../../../../shared/storage/filters-storage.service";
import { PaginatorStorageService } from "../../../../shared/storage/paginator-storage.service";
import { BaseCollectiveHistoryComponent } from "../../../base-collective-history/base-collective-history.component";
import { EmployeeLookupService, EntityLookupConfigService } from "@senior-gestao-pessoas/hcm-entity-lookups";
export declare class LeaveHistoryListComponent extends BaseCollectiveHistoryComponent implements OnInit, OnDestroy {
    private router;
    private route;
    private leaveHistoryService;
    private confirmationService;
    private situationService;
    translate: TranslateService;
    baseService: BaseHistoryService;
    messageService: MessageService;
    private hotkeysService;
    private formBuilder;
    private filtersStorageService;
    private paginatorStorageService;
    private companyService;
    private companyBranchService;
    private employeeLookupService;
    platformService: PlatformService;
    private readonly configService;
    allPermissions: any;
    permissions: any;
    localeConfig: any;
    currentListParams: ListParams;
    gridData: LeaveHistory[];
    gridColumns: any[];
    showLoader: boolean;
    totalRecords: number;
    selection: LeaveHistory[];
    filterFields: FormField[];
    filterFormGroup: FormGroup;
    filtersPanelCollapsed: boolean;
    searchTokens: IToken[];
    serverError: boolean;
    filtersLoaded: boolean;
    table: Table;
    subgroupCidLookupDisplayFields: string[];
    subgroupCidAdvancedDisplayFields: string[];
    diseaseCidLookupDisplayFields: string[];
    diseaseCidAdvancedDisplayFields: string[];
    situationLookupDisplayFields: string[];
    situationAdvancedDisplayFields: string[];
    companyLookupDisplayFields: string[];
    companyAdvancedDisplayFields: string[];
    companyBranchLookupDisplayFields: string[];
    companyBranchAdvancedDisplayFields: string[];
    customTemplate: TemplateRef<any>;
    customFilterFields: TemplateRef<any>;
    customGridColgroup: TemplateRef<any>;
    customGridHeader: TemplateRef<any>;
    customGridBody: TemplateRef<any>;
    contractTypeOptions: {
        label: string;
        value: string;
    }[];
    private situationLookupSuggestionsObservable;
    private situationLookupSearchObservable;
    private companyLookupSuggestionsObservable;
    private companyLookupSearchObservable;
    private companyBranchLookupSuggestionsObservable;
    private companyBranchLookupSearchObservable;
    private readonly standardListSize;
    collectiveActions: MenuItem[];
    constructor(router: Router, route: ActivatedRoute, leaveHistoryService: LeaveHistoryService, confirmationService: ConfirmationService, situationService: SituationService, translate: TranslateService, baseService: BaseHistoryService, messageService: MessageService, hotkeysService: HotkeysService, formBuilder: FormBuilder, filtersStorageService: FiltersStorageService, paginatorStorageService: PaginatorStorageService, companyService: E070EmpService, companyBranchService: E070FilService, employeeLookupService: EmployeeLookupService, platformService: PlatformService, configService: EntityLookupConfigService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    setHotkeys(): void;
    onRouteDataChange(data: any): void;
    private hasEmpty;
    onSearch(): void;
    onClear(): void;
    onRemoveToken(token: IToken): void;
    onGridChange(event: LazyLoadEvent): void;
    onAdd(): void;
    onEdit(): void;
    onDelete(): void;
    focusInput(elementId: string): void;
    getLabelValue(contents: any[], displayFields: any[]): any[];
    getProp(obj: any, path: any): any;
    private getGridColumns;
    private getFilterFields;
    private setStorageFiltersIntoForm;
    private setStoragePaginator;
    onCompanyLookupRequest(value: string): void;
    onCompanySearchRequest(event: any): void;
    onCompanyBranchLookupRequest(value: string): void;
    onCompanyBranchSearchRequest(event: any): void;
    private getEmployeeSearchFields;
    private getEmployeeSearchGridFields;
    onSituationLookupRequest(value: string): void;
    onSituationSearchRequest(event: any): void;
    private getSituationSearchFields;
    private getSituationSearchGridFields;
    private getCompanySearchFields;
    private getCompanySearchGridFields;
    private getCompanyBranchSearchFields;
    private getCompanyBranchSearchGridFields;
    private updateGrid;
    resetGrid(listParams?: ListParams): void;
    private validateAllFormFields;
    getPageSize(): number;
    getRowIndex(): number;
    getSortField(): any;
    getSortOrder(): number;
    getTitleButton(): any;
    private loadLabelFromEnum;
    private hasReinstatementInSelection;
    private showReinstatementWarning;
    onAddCollective(): void;
    onRemoveCollective(): void;
}
interface ListParams {
    page?: number;
    size?: number;
    sort?: SortMeta[];
    filterData?: any;
}
export {};
