Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using MudBlazor;
namespace RobotNet10.MapEditor.Models;
/// <summary>
/// Model for tree item in LayoutTreePanel
/// </summary>
public class TreeItemModel
{
public string Id { get; set; } = Guid.NewGuid().ToString();
public string Text { get; set; } = "";
public string Icon { get; set; } = "";
public TreeItemType Type { get; set; }
public object? Data { get; set; }
public bool IsExpanded { get; set; } = false;
public List<TreeItemModel> Children { get; set; } = new();
// UI Properties
public string? BadgeText { get; set; }
public Color BadgeColor { get; set; } = Color.Default;
}
/// <summary>
/// Type of tree item
/// </summary>
public enum TreeItemType
{
Layout,
Version,
Level
}