import { Injector } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { AlertService } from '../services/alert.service'; import { AuthenticationService } from '../services/authentication.service'; import { AEntity } from '../models/a-entity'; export declare abstract class BaseComponent { protected _injector: Injector; gridMessages: { emptyMessage: string; totalMessage: string; }; headerHeight: number; private _hiddeFilter; hiddeFilter: boolean; protected readonly _authService: AuthenticationService; protected readonly _alert: AlertService; protected readonly _translate: TranslateService; isRequesting: boolean; /** * Create a global class to manage global component actions * @param injector - injector root service used in app.module */ constructor(_injector: Injector); protected readonly currentUrl: string; protected readonly structurePath: string; /** * Navigate to the next url * @param url - Url to navigate * @param queryParams - Additional param for the navigation */ protected navigate(url: string, extra?: any, hideNavigation?: boolean): void; getReason(type: string, hasRight?: boolean): string; getErrorTooltip(control: any): string; compareById(f1: AEntity, f2: AEntity): boolean; }