import { Component , OnInit , Injector } from '@angular/core' ; import { ReplicaBaseControllerDirective } from '../ReplicaBase' ; import { IResponseMessageHandler } from 'src/app/Common/ResponseMessageHandlers' ; import { Observable } from 'rxjs' ; import { DataService } from 'src/app/services/data.service' ; @ Component ( { selector : 'app-details' , templateUrl : './details.component.html' , styleUrls : [ './details.component.scss' ] } ) export class DetailsComponent extends ReplicaBaseControllerDirective { constructor ( protected data , injector ) { super ( data , injector ) ; } refresh ( messageHandler ? ) { return this . replica . detail . refresh ( messageHandler ) ; } }