Lyo.Web.Components
1.0.6
dotnet add package Lyo.Web.Components --version 1.0.6
NuGet\Install-Package Lyo.Web.Components -Version 1.0.6
<PackageReference Include="Lyo.Web.Components" Version="1.0.6" />
<PackageVersion Include="Lyo.Web.Components" Version="1.0.6" />
<PackageReference Include="Lyo.Web.Components" />
paket add Lyo.Web.Components --version 1.0.6
#r "nuget: Lyo.Web.Components, 1.0.6"
#:package Lyo.Web.Components@1.0.6
#addin nuget:?package=Lyo.Web.Components&version=1.0.6
#tool nuget:?package=Lyo.Web.Components&version=1.0.6
Lyo.Web.Components
Blazor / MudBlazor components for Lyo web UI. Ships the data-grid and query-builder stack, LyoForm change tracking, LyoFileUpload, LyoRichTextEditor, JsonEditor, LyoTextDiffViewer, IdWorkbench, and smaller inputs. Targets net10.0 (Razor SDK). Depends on Blazored.LocalStorage and MudBlazor >= 9.3.
Every visual component joins the LyoElementRoot element-id scheme. Each control gets a deterministic DOM id from the ElementId parameter, used for tests and analytics.
Data grid (DataGrid/)
LyoDataGrid<T>. WrapsMudDataGridwith an opt-in toolbar fromLyoDataGridFeatureFlags: bulk export (CSV / XLSX / PDF), bulk delete, column-visibility menu, refresh, query-builder integration, and per-grid persisted state.LyoDataGridStateandColumnVisibilityBinderkeep layouts inBlazored.LocalStorage.LyoDataGridProjected<T>. Grid for projected query rows (sparse / wide datasets).LyoTypedProjectedColumn,LyoProjectedColumn, andProjectedColumnRegistry/ProjectedValueHelperlook up values without strongly typed properties.LyoTimestamp(viaLyoProjectedColumn.Timestamp/TimestampLatest) converts UTC instants to the browser IANA zone. Null or empty values render as an em dash character.IdentifieronLyoProjectedColumn/LyoPropertyColumnrenders compactLyoIdField(copy + suffix). Quick search ORsQuickSearchPropertyNamecolumns and always includes leafIdfields (GuidContainsmatches the string form).LyoDateTimeDisplayparses and formats (UTC when no zone is supplied).LyoDurationDisplayshares duration chip colors/text with reporting and jobs.LyoDataGridColumnStyleskeeps the checkbox and inline action columns content-sized.LyoTruncatedText/MaxDisplayLengthellipsize long cells with a hover tooltip.LyoPropertyColumn. Column wrapper that feeds the query builder filter and sort metadata.FilterChipLabel+ChipLabelHelper. Chip-style filter readouts above the grid.
Query builder UI
- Query node editor (
QueryNodeEditor/). Visual builder forLyo.Query.Modelsfilter trees:QueryNodeEditor,QueryNodeEditorPanel,QueryNodeEditorItem, andQueryFilterComponentfor the per-condition row. Comparison operators are constrained perFilterPropertyTypeviaExtensions.GetAvailableComparisonOperators.In/NotInare flagged throughIsMultiValueComparisonOperator. - Query request builder (
QueryRequestBuilder/). Form editor for aProjectionQueryReq:IncludeList,SelectList,SortByList,KeysList,ComputedFieldsList,StartAmountFields, andQueryReqForm, plus theQueryRequestBuildercomponent that renders the live query score.
Forms (Form/)
LyoForm<TModel>.EditForm-based change-tracking form. Renders Save/Reset, summarizes pending property changes plus create/update/delete operations for collection-bound children, and cascades itself asChangeTrackingFormso nested inputs can register.LyoFormInput. Change-tracked single-value input that joins the cascaded form.LyoNullableTextField. Text field with explicit nullable semantics for the change tracker.LyoIdField. Read-only identifier field. Copy is the start adornment. UUID/string ids default to a 9-character suffix with expand/abbreviate at the end. Digit-only ids stay unclipped (copy only).LyoIdAbbreviation(None/Prefix/Suffix) andAbbreviationLengthoverride the clip.Compactis the grid-cell variant.
Rich text editor (RichTextEditor/)
LyoRichTextEditor. MudBlazor-styled rich-text editor (Quill-derived) with a toolbar.LyoRichTextEditorController. Controller for get/set HTML, focus, and format.LyoRichTextEditorToolbarState. Toolbar state model for button sync.
JSON editor (JsonEditor/)
JsonEditor. Read/write JSON editor with JS interop (JsonEditorJsInterop).JsonTreeView. Collapsible tree viewer for JSON payloads.
Text diff viewer (TextDiff/)
LyoTextDiffViewer. Side-by-side or unified text diff with theme-aware styling.
File upload (FileUpload/)
LyoFileUpload wraps MudFileUpload with optional drag-and-drop, progress chips, and temp-file streaming via Lyo.IO.Temp. Internal state lives in LyoFileUploadState. ClientFileDisplayMode picks chip vs list layout. For long file names in tight layouts:
ChipFileNameMaxLength. Short label inside each completed chip (prefix…ext). Full name in a tooltip when truncated.ChipMaxWidthCss. Optional CSSmax-widthon the chip (e.g.100%ormin(100%,12rem)) so chips stay inside narrow columns. Combine withChipFileNameMaxLength.
Completed chips always render the shortened display name, so truncation stays consistent in both chip layouts.
Inputs
CheckSelect/LyoCheckSelect. Multi-select dropdown backed byLyoSelectOption.ChipInput/LyoChipInput. Chip-style multi-value input (tags / emails / freeform).UniqueValueSelector/UniqueValueSelector. Selector that loads distinct values for a column via theSpUniqueValueCountshape (used by grid filters).ParamOptions/LyoParameterOptionsSelect. MudSelect from definition parameterOptionsJSON (static items or root/Query) or pipeAllowedValues, with{{SiblingKey}}live input binding.ParamOptions/LyoParameterOptionsEditor. Edits static key/label lists or rootQueryReqviaQueryRootFormfor theOptionscolumn.Validation/LyoValidationWrapper. Wraps a field with validation message rendering.LyoDataGrid/LyoDataGridProjected. Data grids with filtering, bulk actions, and export menu items viaLyo.Web.Components.Export.JsonViewDialog+LyoElementRoot. Utility dialog and the element-id root used by every component.Dialog/LyoDialog. Shared popup chrome (scrollable body, save/close). Header always has a raw-JSON debug button (DebugData). Click opensJsonViewDialog. UseLyoDialogPresetsfor size.
Identifier workbench (Identifiers/)
IdWorkbench. Interactive generator for GUID / KSUID / ULID / NanoID / Snowflake identifiers (V3 / V4 / V5 / V6 / V7 / COMB Postgres + SQL Server). UsesLyo.Common.Identifiers.IdResultPanel+IdEntry. Result display.
Other top-level pieces
ClientStore.Blazored.LocalStorage-backed key/value store used by the grid and form state binders.LyoElementRoot. Wraps a component and computes its DOM id fromElementIdplus a default, normalizing the segment throughElementIdSegmentNormalizer.GridRootElementIdandComponentTypeElementIdprovide well-known prefixes (DataGrid, and others).IJsInterop/JsInterop. JS bridge for clipboard, focus, and downloads, plusGetClientTimeZoneInfowhich importswwwroot/scripts/lyoTimeZone.js(Intl.DateTimeFormatIANA id).ILyoTimeZone/LyoBrowserTimeZone. Circuit-scoped cache of the browser time zone. Register withTryAddScoped<ILyoTimeZone, LyoBrowserTimeZone>()next toIJsInterop.LyoTimestamp. UTC to browser-zone stamp (LyoTimestampKind: Absolute, Relative, TimeUntil, TimeSince). Absolute text uses a short zone abbrev (EST/EDT, or UTC±offset if the OS has no short name). Relative / until / since text has no zone (in 2h 15m). Tooltip is always the absolute local time plus abbrev. Relative kinds useRelativeWindow(±, default 24 hours). Outside that window they fall back to absolute.LyoResultErrorFormatter. RendersLyo.Resulterrors the same way across components.
Models (Models/)
FilterPropertyDefinition+FilterPropertyType. Describe a queryable column (String,Number,Enum,DateTime,Bool, and others) for the query builder and grid.TimestampFormatEnum. Display format used by grid cells.BlazorUserInfo. Current-user info shared via cascading values.LocalBrowserFile/LocalBrowserFilePath. Uploaded browser files for the file upload component.
Internal helpers (Extensions)
Internal Extensions holds shared visual helpers: GetStatusColor(string), GetStatusIcon(string), GetIcon(FileTypeFlags), GetAvailableComparisonOperators(FilterPropertyType), and the IsMultiValueComparisonOperator extension on ComparisonOperatorEnum. Status badges and operator menus on the grid, query editor, and form call these.
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Api.Client(direct, lyo)Lyo.Common(direct, lyo)Lyo.DataTable.Models(direct, lyo)Lyo.Encryption(direct, lyo)Lyo.IO.Temp(direct, lyo)Lyo.Query.Models(direct, lyo)Lyo.Result(direct, lyo)Lyo.Validation(direct, lyo)Blazored.LocalStorage4.5.0(direct, third-party)MudBlazor9.3(direct, third-party)Lyo.Api.Models(transitive, lyo)Lyo.Cache(transitive, lyo)Lyo.Compression(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Diagnostic(transitive, lyo)Lyo.Exceptions(transitive, lyo)Lyo.Hashing(transitive, lyo)Lyo.Health(transitive, lyo)Lyo.KeyStore(transitive, lyo)Lyo.Metrics(transitive, lyo)Lyo.PackageMetadata(transitive, lyo)Lyo.Query(transitive, lyo)Lyo.Streams(transitive, lyo)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
- Blazored.LocalStorage (>= 4.5.0)
- Lyo.Api.Client (>= 1.0.6)
- Lyo.Common (>= 1.0.6)
- Lyo.DataTable.Models (>= 1.0.6)
- Lyo.Encryption (>= 1.0.6)
- Lyo.IO.Temp (>= 1.0.6)
- Lyo.Query.Models (>= 1.0.6)
- Lyo.Result (>= 1.0.6)
- Lyo.Validation (>= 1.0.6)
- MudBlazor (>= 9.3.0 && < 10.0.0)
NuGet packages (21)
Showing the top 5 NuGet packages that depend on Lyo.Web.Components:
| Package | Downloads |
|---|---|
|
Lyo.Email.Web.Components
Reusable Blazor components for email composition, attachments, and delivery result inspection. |
|
|
Lyo.Pdf.Web.Components
Reusable Blazor components for PDF workbenches, annotation helpers, and HTML to PDF workflows. |
|
|
Lyo.Endato.Web.Components
Reusable Blazor components for Endato person search and contact enrichment workbench UI. |
|
|
Lyo.Web.Components.Export
Composable data grid export UI for Lyo.Web.Components (JSON export and shared column selector). |
|
|
Lyo.Schedule.Web.Components
Reusable Blazor components for building, validating, and testing schedule definitions interactively. |
GitHub repositories
This package is not used by any popular GitHub repositories.