40 lines
1008 B
TypeScript
40 lines
1008 B
TypeScript
/** Angular Imports */
|
|
import { Component, Inject } from '@angular/core';
|
|
import {
|
|
MatDialogRef,
|
|
MAT_DIALOG_DATA,
|
|
MatDialogTitle,
|
|
MatDialogContent,
|
|
MatDialogActions,
|
|
MatDialogClose
|
|
} from '@angular/material/dialog';
|
|
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
|
|
|
/**
|
|
* Unassign role dialog component.
|
|
*/
|
|
@Component({
|
|
selector: 'mifosx-unassign-role-dialog',
|
|
templateUrl: './unassign-role-dialog.component.html',
|
|
styleUrls: ['./unassign-role-dialog.component.scss'],
|
|
imports: [
|
|
...STANDALONE_SHARED_IMPORTS,
|
|
MatDialogTitle,
|
|
CdkScrollable,
|
|
MatDialogContent,
|
|
MatDialogActions,
|
|
MatDialogClose
|
|
]
|
|
})
|
|
export class UnassignRoleDialogComponent {
|
|
/**
|
|
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
|
* @param {any} data.
|
|
*/
|
|
constructor(
|
|
public dialogRef: MatDialogRef<UnassignRoleDialogComponent>,
|
|
@Inject(MAT_DIALOG_DATA) public data: any
|
|
) {}
|
|
}
|