mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
32 lines
665 B
TypeScript
32 lines
665 B
TypeScript
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
@Component({
|
|
selector: 'app-delete-dialog',
|
|
templateUrl: './delete-dialog.component.html',
|
|
styleUrls: ['./delete-dialog.component.scss']
|
|
})
|
|
export class DeleteDialogComponent implements OnInit {
|
|
|
|
constructor(public activeModal: NgbActiveModal) { }
|
|
|
|
@Output()
|
|
public deleteClicked = new EventEmitter()
|
|
|
|
@Input()
|
|
title = "Delete confirmation"
|
|
|
|
@Input()
|
|
message = "Do you really want to delete this?"
|
|
|
|
@Input()
|
|
message2
|
|
|
|
ngOnInit(): void {
|
|
}
|
|
|
|
cancelClicked() {
|
|
this.activeModal.close()
|
|
}
|
|
}
|