@evan.network/ui-angular-core
Version:
The angular-core operates as an global and central library for the evan.network Angular 5 frontend development. Using this project you will be able to to the following things:
62 lines (61 loc) • 1.87 kB
TypeScript
import { ChangeDetectorRef, FormBuilder } from 'angular-libs';
import { EvanAddressBookService } from '../../services/bcc/address-book';
import { EvanTranslationService } from '../../services/ui/translate';
import { AsyncComponent } from '../../classes/AsyncComponent';
/**************************************************************************************************/
/**
* Used within an modal to enable the user to edit a mail, before it's send
*
* Usage:
* await this.mailboxService
* .showMailModal(
* this.modalService,
* '_dappcontacts.invitation-message',
* '_dappcontacts.invitation-message-long',
* '_dappcontacts.invitation-text.title',
* '_dappcontacts.invitation-text.body',
* );
*
* @class Component MailDialogComponent
*/
export declare class MailDialogComponent extends AsyncComponent {
private addressBook;
private formBuilder;
private translate;
private ref;
/***************** variables *****************/
/**
* text that should be displayed as description
*/
private alertText;
/**
* title of the modal
*/
private alertTitle;
/**
* mail body predefined text
*/
private body;
/**
* form definition for input evaluations
*/
private mailForm;
/**
* resolvle function that is applied from modal service
*/
private resolveDialog;
/**
* reject function that is applied from modal service
*/
private rejectDialog;
/**
* mail title predefined value
*/
private title;
/***************** initialization *****************/
constructor(addressBook: EvanAddressBookService, formBuilder: FormBuilder, translate: EvanTranslationService, ref: ChangeDetectorRef);
/**
* setup mail dialog form
*/
_ngOnInit(): Promise<void>;
}