import {Component, Input, Output, EventEmitter, ChangeDetectorRef} from '@angular/core'; import {Metrics} from '../../../utils/entities/metrics'; import {MetricsService} from '../../../services/metrics.service'; import {ErrorCodes} from '../../../utils/properties/errorCodes'; import {Subscription} from 'rxjs'; import {EnvProperties} from '../../../utils/properties/env-properties'; import {animate, state, style, transition, trigger} from "@angular/animations"; @Component({ selector: 'metrics', styleUrls: ['metrics.component.css'], template: `