import { OnChanges, OnDestroy, OnInit, SimpleChange } from "@angular/core"; import { Router } from "@angular/router"; import { TranslateService } from "@ngx-translate/core"; import "rxjs/add/observable/of"; import { SUrlService } from "../shared/providers/url.service"; import { SecurityApiService } from "./../g7-security-api/security-api.service"; import { AnalyticsHeaderService } from "./analytics-header.service"; import { Project } from "../shared/models/project.model"; import { ProjectService } from "../shared/providers/project.service"; import { FeatureToggleService } from "@seniorsistemas/platform-components"; export declare class AnalyticsHeaderComponent implements OnDestroy, OnInit, OnChanges { private sUrlService; private translateService; private analyticsHeaderService; private router; private securityService; private projectService; private featureToggleService; headerTitle: string; hasSearch: boolean; forceDisableSearch: boolean; employees: any[]; contracts: any[]; displaySearch: boolean; hasAnalyticsActions: boolean; private url; private ngUnsubscribe; private hcmUrlWithPlatform; project: Project; actions: any; listAnalytics: any[]; constructor(sUrlService: SUrlService, translateService: TranslateService, analyticsHeaderService: AnalyticsHeaderService, router: Router, securityService: SecurityApiService, projectService: ProjectService, featureToggleService: FeatureToggleService); ngOnInit(): void; ngOnChanges(changes: { [propName: string]: SimpleChange; }): void; ngOnDestroy(): void; getActions(): any[]; openSearch(): void; hideSearch(): void; get mobileMode(): boolean; /** * @description Formata a lista de contratos no seguinte padrão se o tipo de contrato for de substituição: * padrão Substituição - (Nome da pessoa) - (Nome do cargo). * Caso seja um contrato de colaborador ficará no formato Meu contrato - (nome do cargo). * Essa formatação é feita apenas se o usuário em questão possuir substituições */ formatContracts(): void; get hasMultipleContracts(): boolean; get hasMultipleSubstitutions(): any; private getCurrentUrl; private setUrlAux; private isCurrentView; private validateModulePermissions; private formatHelpURL; }