2022-05-12 12:06:37 +02:00
|
|
|
import { Component, Inject, OnInit } from '@angular/core';
|
|
|
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
|
|
|
import {
|
|
|
|
|
ConfirmDialogComponent,
|
2022-06-05 12:20:16 +02:00
|
|
|
ConfirmDialogData,
|
2022-05-12 12:06:37 +02:00
|
|
|
} from 'src/app/util/util-module/confirm-dialog/confirm-dialog.component';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'customize-dialog',
|
|
|
|
|
templateUrl: './customize-dialog.component.html',
|
|
|
|
|
styleUrls: ['./customize-dialog.component.scss'],
|
|
|
|
|
})
|
|
|
|
|
export class CustomizeDialogComponent implements OnInit {
|
|
|
|
|
constructor(
|
|
|
|
|
public dialogRef: MatDialogRef<ConfirmDialogComponent>,
|
2022-06-05 12:20:16 +02:00
|
|
|
@Inject(MAT_DIALOG_DATA) public data: ConfirmDialogData,
|
2022-05-12 12:06:37 +02:00
|
|
|
) {}
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
|
|
|
|
console.log(this.data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
close() {
|
|
|
|
|
this.dialogRef.close();
|
|
|
|
|
}
|
|
|
|
|
}
|