@code {
[Parameter]
public bool MapIsActive { get; set; }
[Parameter]
public EventCallback EditorStateChanged { get; set; }
[Parameter]
public EventCallback EditorZoneTypeChanged { get; set; }
[Parameter]
public EditorState EditorState { get; set; }
[Parameter]
public bool MultiSelectedNode { get; set; }
[Parameter]
public bool MultiSelectedEdge { get; set; }
[Parameter]
public bool ZoneSelected { get; set; }
[Parameter]
public EventCallback AlignStateClick { get; set; }
[Parameter]
public EventCallback ControlStateClick { get; set; }
[Parameter]
public EventCallback<(ControlState, bool)> EditorExtensionChanged { get; set; }
[Parameter]
public bool ShowGrid { get; set; }
[Parameter]
public bool ShowName { get; set; }
[Parameter]
public bool ShowMapSlam { get; set; }
[Parameter]
public bool NodesUndoable { get; set; }
private EditorFunctionToolbar EditorFunctionToolbarRef = null!;
public void SetEditorState(EditorState state) => EditorFunctionToolbarRef.SetEditorState(state);
}