@* Shared template folder/template tree. Wraps TreeView with template-folder-specific layout: folder nodes carry their child folders + templates, leaves are templates. Used by: - Templates page (Single mode, navigation on click) - Transport Export wizard (Checkbox mode, bulk selection) Optional ExtraTemplateChildren lets callers nest extra leaves (e.g. composition slots) under a template without forking the component. *@ @using ZB.MOM.WW.ScadaBridge.Commons.Entities.Templates @using ZB.MOM.WW.ScadaBridge.CentralUI.Components.Shared @if (NodeContent != null) { @NodeContent(node) } else { @node.Name @if (NodeExtras != null) { @NodeExtras(node) } } @if (ContextMenu != null) { @ContextMenu(node) } @if (EmptyContent != null) { @EmptyContent } else { No templates. } @code { [Parameter] public IReadOnlyList Folders { get; set; } = Array.Empty(); [Parameter] public IReadOnlyList