/** * @author Jafar Amini in March 2019. */ import { EventEmitter, OnChanges, SimpleChange } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { DialogService } from '@angular-boot/util'; import { BaseAnyComponentSeven } from './base-any-component-seven'; export declare abstract class BaseEditComponentSeven extends BaseAnyComponentSeven implements OnChanges { activatedRoute: ActivatedRoute; router: Router; routeParamClazzType: (new () => RouteParamClazz); queryParamClazzType: (new () => QueryParamClazz); dialogService: DialogService; item: T; editedItem: EventEmitter; receiveItem(): void; abstract onReceivedItem(item: any): any; abstract onChanges(changes: { [propKey: string]: SimpleChange; }): any; abstract getMainObject(): any; abstract getMainObjectInDom(): any; constructor(activatedRoute: ActivatedRoute, router: Router, routeParamClazzType: (new () => RouteParamClazz), queryParamClazzType: (new () => QueryParamClazz), dialogService: DialogService); afterEdit(res: any, form?: any): void; ngOnChanges(changes: { [propKey: string]: SimpleChange; }): void; }