Initial Commit

This commit is contained in:
2026-05-29 14:17:46 -04:00
commit b7d0676d5b
498 changed files with 30308 additions and 0 deletions
@@ -0,0 +1,26 @@
@using Model.Entity
@using Model.Entity.Data
@inject IEntityDialogService entityDialogService
@if (EntityId == null)
{
<div>Add a entity</div>
}
else
{
<button class="entityLabel @Entity.Descriptive.ToLower()" @onclick="EntityLabelClicked">@Entity.Info().Name</button>
}
@code {
[Parameter] public string EntityId { get; set; } = default!;
private EntityModel Entity => EntityData.Get()[EntityId];
void EntityLabelClicked()
{
entityDialogService.AddDialog(EntityId);
}
}