import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { customTask, fullTask } from 'src/app/models/dailyworktask.model';
import { ThemeService } from 'src/app/services/theme.service'

@Component({
  selector: 'app-task-details',
  templateUrl: './task-details.page.html',
  styleUrls: ['./task-details.page.scss'],
})
export class TaskDetailsPage implements OnInit {

  @Input() task = new customTask();
  @Input() intervenientes = []
  @Input() cc = []
  @Input() customDate = ''
  @Input() fulltask = new fullTask()
  
  @Output() openOptions = new EventEmitter<any>();
  @Output() goBack = new EventEmitter<any>();
  @Output() viewDocument = new EventEmitter<any>();
  
  constructor(
    public ThemeService: ThemeService
  ) { }

  ngOnInit() {
  }

}
