mirror of https://github.com/abpframework/abp.git
10 changed files with 92 additions and 56 deletions
@ -1,19 +1,48 @@ |
|||
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|||
{ |
|||
/// <summary>
|
|||
/// Options to override message dialog appearance.
|
|||
/// </summary>
|
|||
public class UiMessageOptions |
|||
{ |
|||
/// <summary>
|
|||
/// If true, the message dialog will show the large icon for the current message type.
|
|||
/// </summary>
|
|||
public bool ShowMessageIcon { get; set; } = true; |
|||
|
|||
/// <summary>
|
|||
/// Overrides the build-in message icon.
|
|||
/// </summary>
|
|||
public object MessageIcon { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom text for the Ok button.
|
|||
/// </summary>
|
|||
public string OkButtonText { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom icon for the Ok button.
|
|||
/// </summary>
|
|||
public object OkButtonIcon { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom text for the Confirmation button.
|
|||
/// </summary>
|
|||
public string ConfirmButtonText { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom icon for the Confirmation button.
|
|||
/// </summary>
|
|||
public object ConfirmButtonIcon { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom text for the Cancel button.
|
|||
/// </summary>
|
|||
public string CancelButtonText { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Custom icon for the Cancel button.
|
|||
/// </summary>
|
|||
public object CancelButtonIcon { get; set; } |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,14 @@ |
|||
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|||
{ |
|||
/// <summary>
|
|||
/// Defines the possible ui message types with predefined actions.
|
|||
/// </summary>
|
|||
public enum UiMessageType |
|||
{ |
|||
Info, |
|||
Success, |
|||
Warning, |
|||
Error, |
|||
Confirmation, |
|||
} |
|||
} |
|||
Loading…
Reference in new issue