[CHANGE] Library service, db migrations, ui blazor

This commit is contained in:
max
2025-08-31 20:11:03 +02:00
parent aeb9adf930
commit 98fe4b9391
19 changed files with 1206 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
<MudOverlay Absolute="Absolute" DarkBackground LockScroll @bind-Visible="Visible" ZIndex="ZIndex">
<MudStack AlignItems="AlignItems.Center">
<MudProgressCircular Indeterminate/>
<MudText>@Message</MudText>
@if (CancellationTokenSource != null)
{
<MudButton OnClick="() => CancellationTokenSource.Cancel()" Disabled="CancellationTokenSource.IsCancellationRequested">Cancel operation</MudButton>
}
</MudStack>
</MudOverlay>
@code {
[Parameter]
public bool Visible { get; set; }
[Parameter]
public string Message { get; set; } = "Loading...";
[Parameter]
public bool Absolute { get; set; }
[Parameter]
public int ZIndex { get; set; } = 9999;
[Parameter]
public CancellationTokenSource? CancellationTokenSource { get; set; }
}