import { ChangeDetectorRef, Component, NgZone } from '@angular/core';
import { DetailsComponentBase } from '@objects-view/details-component-base';
import { IActivityLogModel } from '@fleio-api/utils/model/activity-log.model';
import { LineTypePipe } from '@objects-view/status-line/line-type.pipe';
import { LineColorPipe } from '@objects-view/status-line/line-color.pipe';
import { ConfigService } from '@shared/config/config.service';

@Component({
  selector: 'app-activity-log-detail',
  templateUrl: './activity-log-detail.component.html',
  styleUrls: ['./activity-log-detail.component.scss'],
  providers: [LineColorPipe, LineTypePipe]
})
export class ActivityLogDetailComponent extends DetailsComponentBase<IActivityLogModel> {
  constructor(
    public config: ConfigService,
    private logDetailsZone: NgZone,
    changeDetectorRef: ChangeDetectorRef,
  ) {
    super(logDetailsZone, changeDetectorRef, config);
  }
}
