Codeer.LowCode.Blazor.Designer.Standard
0.1.2
dotnet add package Codeer.LowCode.Blazor.Designer.Standard --version 0.1.2
NuGet\Install-Package Codeer.LowCode.Blazor.Designer.Standard -Version 0.1.2
<PackageReference Include="Codeer.LowCode.Blazor.Designer.Standard" Version="0.1.2" />
<PackageVersion Include="Codeer.LowCode.Blazor.Designer.Standard" Version="0.1.2" />
<PackageReference Include="Codeer.LowCode.Blazor.Designer.Standard" />
paket add Codeer.LowCode.Blazor.Designer.Standard --version 0.1.2
#r "nuget: Codeer.LowCode.Blazor.Designer.Standard, 0.1.2"
#:package Codeer.LowCode.Blazor.Designer.Standard@0.1.2
#addin nuget:?package=Codeer.LowCode.Blazor.Designer.Standard&version=0.1.2
#tool nuget:?package=Codeer.LowCode.Blazor.Designer.Standard&version=0.1.2
Codeer.LowCode.Blazor.Designer.Standard
The standard implementation for the Codeer.LowCode.Blazor Designer. It packages everything a designer application normally ships — project templates, tool menus, icon candidates, and an AI chat assistant — so the Visual Studio template output stays thin and updates arrive as a NuGet version bump instead of regenerated code.
Distributed as open source under the MIT License.
Features
- Project templates (
StandardTemplates) — empty / empty with auth / getting started / pattern showcase / auth patterns / inventory / SFA / project management, with bundled sample SQLite databases. - Tool menus (
StandardMenus) — Import Modules from Database, Create DDL, Create Field Class, Create FieldData Class, Export Excel Print CheatSheet, Export PageObject (Selenium), plus the standard DB column transform (PostgreSQLxmin→ optimistic locking). - Icon candidates (
StandardIcons) — Bootstrap Icons list for the icon picker. - DDL generation (
DbMapping) — deterministic CREATE TABLE / diff ALTER TABLE generation from module designs. - AI chat assistant (
AIChat/) — natural-language editing of CSS, scripts, SQL, module settings, fields, layouts (detail / list / search), and page frames.- Task-oriented: an intent router splits a request into steps and dispatches each to the right editor function.
- Self-correcting: generated changes run through the Designer's design checks and are regenerated on errors before being applied.
- Model-swappable: built on the
Microsoft.Extensions.AIIChatClientabstraction — inject any provider. - Custom-field aware: recognizes custom field types registered via the Designer's
FieldCatalog. - Editable prompts: the specification prompts are embedded
.mdresources; fork and rebuild with your own.
Installation
dotnet add package Codeer.LowCode.Blazor.Designer.Standard
Requires the Designer package (Codeer.LowCode.Blazor.Designer, matching version).
Getting started
Register everything with one call after base.OnStartup(e) in your designer app:
protected override void OnStartup(StartupEventArgs e)
{
// ... app-specific service / script type registrations ...
base.OnStartup(e);
DesignerStandard.Setup(DesignerEnvironment, new DesignerStandardOptions
{
// null disables the AI chat. Provider choice and credentials stay in your app.
CreateAiChatClient = () => new AzureOpenAIClient(endpoint, credential)
.GetChatClient(model).AsIChatClient(),
});
}
Or pick features individually — Setup is just the sum of public building blocks:
StandardIcons.AddBootstrapIcons();
DesignerTemplateCandidate.Templates.Add(StandardTemplates.PatternShowcase()); // 一部だけ
StandardMenus.AddCreateDdl(DesignerEnvironment); // メニューも個別に
DesignerChatRegistration.RegisterScreenChats(
new DesignerEnvironmentChatHost(DesignerEnvironment), createAiChatClient);
AI chat architecture
Screen chats (ScreenChats) per-editor entry points
|
AiOrchestrator + IntentRouter split a request into ordered steps
|
Functions/ (IAiFunction) field.create / field.edit / layout.* /
| script.edit / sql.* / css.edit / db.update / ...
IDesignerChatHost bridge to the designer
(DesignerEnvironmentChatHost is the standard implementation)
Prompts are single-sourced as embedded Markdown under AIChat/Prompts/ and shared across functions.
License
MIT License. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- ClosedXML (>= 0.105.0)
- Codeer.LowCode.Blazor.Designer (>= 1.3.10)
- Microsoft.Extensions.AI (>= 10.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.