import { Injectable } from '@angular/core';
import { DialogConfig, DialogService } from '@iqser/common-ui';
import { ConfirmPasswordDialogComponent } from '../confirm-password-dialog/confirm-password-dialog.component';
import { MatDialog } from '@angular/material/dialog';

type DialogType = 'confirmPassword';

@Injectable()
export class UserProfileDialogService extends DialogService<DialogType> {
    protected readonly _config: DialogConfig<DialogType> = {
        confirmPassword: {
            component: ConfirmPasswordDialogComponent,
        },
    };

    constructor(protected readonly _dialog: MatDialog) {
        super(_dialog);
    }
}
