1
|
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
2
|
import { ApplicationLevelExceptionService } from 'src/app/shared/services/administration/application-level-exception.service';
|
3
|
|
4
|
@Component({
|
5
|
selector: 'app-application-level-dialog',
|
6
|
templateUrl: './application-level-dialog.component.html',
|
7
|
styleUrls: ['./application-level-dialog.component.scss']
|
8
|
})
|
9
|
export class ApplicationLevelDialogComponent implements OnInit {
|
10
|
@Input() displayDialog: boolean;
|
11
|
@Input() header: string;
|
12
|
@Input() trace: string;
|
13
|
@Output() cancelled = new EventEmitter<boolean>();
|
14
|
|
15
|
constructor() { }
|
16
|
|
17
|
ngOnInit(): void {
|
18
|
}
|
19
|
|
20
|
cancel() {
|
21
|
this.cancelled.emit(true);
|
22
|
}
|
23
|
|
24
|
}
|