Lyo.Reporting.Web.Components
1.0.9
dotnet add package Lyo.Reporting.Web.Components --version 1.0.9
NuGet\Install-Package Lyo.Reporting.Web.Components -Version 1.0.9
<PackageReference Include="Lyo.Reporting.Web.Components" Version="1.0.9" />
<PackageVersion Include="Lyo.Reporting.Web.Components" Version="1.0.9" />
<PackageReference Include="Lyo.Reporting.Web.Components" />
paket add Lyo.Reporting.Web.Components --version 1.0.9
#r "nuget: Lyo.Reporting.Web.Components, 1.0.9"
#:package Lyo.Reporting.Web.Components@1.0.9
#addin nuget:?package=Lyo.Reporting.Web.Components&version=1.0.9
#tool nuget:?package=Lyo.Reporting.Web.Components&version=1.0.9
Lyo.Reporting.Web.Components
MudBlazor ops UI for Lyo Reporting: browse definitions, run reports, and view/download generations.
This package is a Razor component library. No AddXxx DI. The host supplies an authenticated IApiClient (and optional FileStorage download/view callbacks).
Pair with Lyo.Api.Reporting on the API host and Lyo.Reporting.Client for typed HTTP access.
Host page
@using Lyo.Reporting.Web.Components
<ReportManagement BaseRoute="Reporting"
DownloadFileAsync="DownloadReportFileAsync"
ViewFileUrlAsync="GetReportViewUrlAsync" />
@code {
// Wire to your FileStorage (or Gateway) download/view endpoints.
private Task DownloadReportFileAsync(Guid fileId, string? fileName, CancellationToken ct)
=> /* stream via IJsInterop.DownloadFileFromStream(stream, fileName ?? $"{fileId}", mime) */ Task.CompletedTask;
private Task<string?> GetReportViewUrlAsync(Guid fileId, CancellationToken ct)
=> Task.FromResult<string?>($"/files/{fileId}");
}
| Parameter | Notes |
|---|---|
BaseRoute |
Reporting route prefix (default "Reporting"). |
DownloadFileAsync |
Host callback for blob download by OutputFileId and preferred file name (OriginalFileName). |
ViewFileUrlAsync |
Host callback returning a browser URL for HTML/PDF preview. |
When download/view callbacks are omitted, those menu actions show a snackbar that the host has not configured them. CSV/XLSX generations can still preview grids from ReportDataJson without OutputFileId. Generations without OutputFileId (persist hook skipped) cannot download.
Components
| Component | Role |
|---|---|
ReportManagement |
Tabs: Definitions / Generations. After generate, switches to Generations and opens the generation view (and the report output when viewable). |
ReportDefinitionGrid |
Definition list + Run / Delete (cascade + storage cleanup) |
ReportDefinitionView |
Definition detail / JSON preview |
RunReportDialog |
Parameters + format override → POST …/Generation/Generate; Options / AllowedValues render as MudSelect with live sibling binding |
ReportGenerationGrid |
Generation list + View/Download/Delete (storage cleanup) |
ReportGenerationView |
Generation detail + View/Download actions |
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Api.Client(direct, lyo)Lyo.DataTable.Models(direct, lyo)Lyo.Reporting.Client(direct, lyo)Lyo.Reporting.Models(direct, lyo)Lyo.Web.Components(direct, lyo)Lyo.Web.Components.Export(direct, lyo)Lyo.Web.Components.Export.Csv(direct, lyo)Lyo.Web.Components.Export.Xlsx(direct, lyo)MudBlazor9.3(direct, third-party)Lyo.Api.Models(transitive, lyo)Lyo.Cache(transitive, lyo)Lyo.Common(transitive, lyo)Lyo.Compression(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Diagnostic(transitive, lyo)Lyo.Encryption(transitive, lyo)Lyo.Exceptions(transitive, lyo)Lyo.Hashing(transitive, lyo)Lyo.Health(transitive, lyo)Lyo.IO.Temp(transitive, lyo)Lyo.KeyStore(transitive, lyo)Lyo.Metrics(transitive, lyo)Lyo.PackageMetadata(transitive, lyo)Lyo.Query(transitive, lyo)Lyo.Query.Models(transitive, lyo)Lyo.Result(transitive, lyo)Lyo.Streams(transitive, lyo)Lyo.Validation(transitive, lyo)Blazored.LocalStorage4.5.0(transitive, third-party)BouncyCastle.Cryptography2.6.2(transitive, third-party, netstandard2.0)EasyCompressor2.1.0(transitive, third-party)Konscious.Security.Cryptography.Argon21.3.1(transitive, third-party)Microsoft.Bcl.AsyncInterfaces10.0.5(transitive, microsoft, netstandard2.0)Microsoft.Extensions.Caching.Memory10.0.5(transitive, microsoft)Microsoft.Extensions.Configuration.Binder10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection.Abstractions10.0.5(transitive, microsoft, net10.0, netstandard2.0)Microsoft.Extensions.Hosting.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Http10.0.5(transitive, microsoft)Microsoft.Extensions.Logging.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Options.ConfigurationExtensions10.0.5(transitive, microsoft)System.Buffers4.6.1(transitive, microsoft, netstandard2.0)System.ComponentModel.Annotations5.0.0(transitive, microsoft)System.IO.Hashing10.0.5(transitive, microsoft, net10.0)System.Memory4.6.3(transitive, microsoft, netstandard2.0)System.Text.Json10.0.5(transitive, microsoft, netstandard2.0)System.Threading.Tasks.Extensions4.6.3(transitive, microsoft, netstandard2.0)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Lyo.Api.Client (>= 1.0.9)
- Lyo.DataTable.Models (>= 1.0.9)
- Lyo.Reporting.Client (>= 1.0.9)
- Lyo.Reporting.Models (>= 1.0.9)
- Lyo.Web.Components (>= 1.0.9)
- Lyo.Web.Components.Export (>= 1.0.9)
- Lyo.Web.Components.Export.Csv (>= 1.0.9)
- Lyo.Web.Components.Export.Xlsx (>= 1.0.9)
- MudBlazor (>= 9.3.0 && < 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.