Add info/warning/error messages for wizards and dialogs (#1696)

This commit is contained in:
Matt Irvine
2018-06-21 11:55:23 -07:00
committed by GitHub
parent 9d2b206156
commit f5b147ca4b
16 changed files with 238 additions and 30 deletions

View File

@@ -149,6 +149,7 @@ export interface IModelViewDialogDetails {
okButton: number;
cancelButton: number;
customButtons: number[];
message: DialogMessage;
}
export interface IModelViewTabDetails {
@@ -179,6 +180,18 @@ export interface IModelViewWizardDetails {
nextButton: number;
backButton: number;
customButtons: number[];
message: DialogMessage;
}
export enum MessageLevel {
Error = 0,
Warning = 1,
Information = 2
}
export interface DialogMessage {
text: string;
level?: MessageLevel;
}
/// Card-related APIs that need to be here to avoid early load issues