import { ChangeDetectionStrategy , Component , Input } from '@angular/core' ; import { Router } from '@angular/router' ; @ Component ( { changeDetection : ChangeDetectionStrategy . OnPush , selector : 'technical-finite-fault-summary' , styleUrls : [ './finite-fault-summary.component.scss' ] , templateUrl : './finite-fault-summary.component.html' } ) export class FiniteFaultSummaryComponent { columnsToDisplay = [ 'catalog' , 'derived-magnitude' , 'maximum-slip' , 'source' ] ; @ Input ( ) event : any ; @ Input ( ) products : Array < any > ; router : Router ; constructor ( router ) { this . router = router ; } }