refractor: shared module

* Delete unused loader component.
* Make file upload component responsive.
* Add comments.
This commit is contained in:
Abhay Chawla
2018-08-09 03:43:34 +05:30
parent bf64608805
commit c9009a8c01
12 changed files with 64 additions and 110 deletions
@@ -1,6 +1,10 @@
/** Angular Imports */
import { Component, OnInit, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
/**
* Delete dialog component.
*/
@Component({
selector: 'mifosx-delete-dialog',
templateUrl: './delete-dialog.component.html',
@@ -8,6 +12,10 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
})
export class DeleteDialogComponent implements OnInit {
/**
* @param dialogRef Component reference to dialog.
* @param data Provides a deleteContext.
*/
constructor(public dialogRef: MatDialogRef<DeleteDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: any) { }