import { AfterViewInit, 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 } from "@seniorsistemas/angular-components";
import { HotkeysService } from "angular2-hotkeys";
import { ConfirmationService, MessageService } from "primeng/api";
import { Observable } from "rxjs";
import { Employee } from "../../../core/entities/employee/employee";
import { EmployeeService } from "../../../core/entities/employee/employee.service";
import { EmployeeScheduleData } from "../../../core/dtos/employee-schedule-data";
import { WorkScheduleChangeService } from "../../../core/entities/work-schedule-change/work-schedule-change.service";
import { WorkscheduleClockingEventService } from "../../../core/entities/workschedule-clocking-event/workschedule-clocking-event.service";
import { Workschedule } from "../../../core/entities/workschedule/workschedule";
import { FocusService } from "../../../shared/focus/focus.service";
import { FieldCustomizationService } from "../../../shared/services/field-customization.service";
import { WorkScheduleChangeAdjustmentService } from "../../../core/entities/work-schedule-change-adjustment/work-schedule-change-adjustment.service";
export declare class WorkScheduleChangeFormComponent implements OnInit, OnDestroy, AfterViewInit {
    private workScheduleChangeService;
    private router;
    private route;
    private messageService;
    private confirmationService;
    private formBuilder;
    private translate;
    private hotkeysService;
    private fieldCustomization;
    private focusService;
    private employeeService;
    private readonly workscheduleClockingEventService;
    private readonly workScheduleChangeAdjustmentService;
    localeConfig: any;
    localeTag: any;
    currencyLocaleOptions: any;
    permissions: any;
    allPermissions: any;
    bffPermissions: any;
    formGroup: FormGroup;
    loading: boolean;
    mainPanelCollapsed: boolean;
    isManager: boolean;
    contractTypeOptions: {
        label: string;
        value: string;
    }[];
    employeeLookupSuggestions: Employee[];
    employeeLookupDisplayFields: string[];
    employeeAdvancedDisplayFields: string[];
    employeeLookupSeparator: string;
    employeeSearchFields: FormField[];
    employeeSearchGridFields: FormField[];
    employeeSearchGridData: Employee[];
    employeeSearchTotalRecords: number;
    workScheduleLookupSuggestions: Workschedule[];
    workScheduleLookupDisplayFields: string[];
    workScheduleAdvancedDisplayFields: string[];
    workScheduleLookupSeparator: string;
    workScheduleSearchFields: FormField[];
    workScheduleSearchGridFields: FormField[];
    workScheduleSearchGridData: Workschedule[];
    workScheduleSearchTotalRecords: number;
    workScheduleChange: any;
    customTemplate: TemplateRef<any>;
    customFormFields: TemplateRef<any>;
    onSubmitObservable: Observable<any>;
    onLockedEmployeeChanges: Observable<EmployeeScheduleData>;
    lockedEmployee: EmployeeScheduleData;
    private onClose;
    private onLoadFormSubject;
    onCloseObservable: Observable<boolean>;
    onLoadForm: Observable<boolean>;
    private routeParams;
    private ngUnsubscribe;
    workScheduleChangeSearchTitle: any;
    workScheduleChangeSearchEmptyTitle: any;
    workScheduleChangeFilterLabel: any;
    workScheduleChangeFilterTitle: any;
    workScheduleChangeClearLabel: any;
    workScheduleChangeCancelLabel: any;
    workScheduleChangeSelectLabel: any;
    workScheduleChangeEmptyFieldLabel: any;
    employeeSearchTotalRecordsLabel: any;
    workScheduleSearchTotalRecordsLabel: any;
    constructor(workScheduleChangeService: WorkScheduleChangeService, router: Router, route: ActivatedRoute, messageService: MessageService, confirmationService: ConfirmationService, formBuilder: FormBuilder, translate: TranslateService, hotkeysService: HotkeysService, fieldCustomization: FieldCustomizationService, focusService: FocusService, employeeService: EmployeeService, workscheduleClockingEventService: WorkscheduleClockingEventService, workScheduleChangeAdjustmentService: WorkScheduleChangeAdjustmentService);
    ngOnInit(): void;
    private getCommonTranslate;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    private loadLockedEmployee;
    patchValuesAndUpdateSuggestions(value: any, result: any): void;
    setHotkeys(): void;
    isNew(): boolean;
    onRouteParamsChange(params: any): void;
    updateSuggestions(value: any): void;
    getSuggestionValue(displayFields: string[], ownerEntity: string, value: any, separator: string): any;
    onRouteDataChange(data: any): void;
    onCancel(): void;
    onSendFile(filesToDelete: any, filesToCommit: any[]): Observable<{}>;
    onSave(): void;
    onDelete(): void;
    finishOperation(): void;
    getProp(obj: any, path: any): any;
    private loadLabelFromEnum;
    private loadEnumFromLabel;
    onEmployeeLookupRequest(value: string): void;
    onEmployeeSearchRequest(event: any): void;
    onWorkScheduleLookupRequest(value: string): void;
    onWorkScheduleSearchRequest(event: any): void;
    private getFormGroup;
    private getEmployeeSearchFields;
    private getEmployeeSearchGridFields;
    private getWorkScheduleSearchFields;
    private getWorkScheduleSearchGridFields;
    private goBack;
    private validateAllFormFields;
    private getSaveObservable;
    private defineService;
    private getDeleteObservable;
    verifyWorkscheduleLookupDisabled(date?: Date): void;
    private validateVisualization;
    private addMessage;
    private disableFieldsOnEdit;
}
