2024-08-21 08:30:01 +02:00
|
|
|
namespace AIStudio.Dialogs;
|
2024-06-30 15:26:28 +02:00
|
|
|
|
|
|
|
|
public static class DialogOptions
|
|
|
|
|
{
|
|
|
|
|
public static readonly MudBlazor.DialogOptions FULLSCREEN = new()
|
|
|
|
|
{
|
|
|
|
|
CloseOnEscapeKey = true,
|
|
|
|
|
FullWidth = true, MaxWidth = MaxWidth.Medium,
|
|
|
|
|
};
|
2026-06-06 10:06:41 +02:00
|
|
|
|
|
|
|
|
public static readonly MudBlazor.DialogOptions FULLSCREEN_MANUAL_ESCAPE = new()
|
|
|
|
|
{
|
|
|
|
|
CloseOnEscapeKey = false,
|
|
|
|
|
FullWidth = true, MaxWidth = MaxWidth.Medium,
|
|
|
|
|
};
|
2024-06-30 15:26:28 +02:00
|
|
|
|
|
|
|
|
public static readonly MudBlazor.DialogOptions FULLSCREEN_NO_HEADER = new()
|
|
|
|
|
{
|
|
|
|
|
NoHeader = true,
|
|
|
|
|
CloseOnEscapeKey = true,
|
|
|
|
|
FullWidth = true, MaxWidth = MaxWidth.Medium,
|
|
|
|
|
};
|
2026-04-10 17:11:05 +02:00
|
|
|
|
|
|
|
|
public static readonly MudBlazor.DialogOptions BLOCKING_FULLSCREEN = new()
|
|
|
|
|
{
|
|
|
|
|
BackdropClick = false,
|
|
|
|
|
CloseOnEscapeKey = false,
|
|
|
|
|
FullWidth = true, MaxWidth = MaxWidth.Medium,
|
|
|
|
|
};
|
2024-06-30 15:26:28 +02:00
|
|
|
}
|