Builds a DOM tree from a parsed template (TNode) and resolves ID references.
The component instance that owns this template.
A map of custom component classes to be used within the template.
ReadonlycomponentThe component instance that owns the template being built.
ReadonlyidMap of original IDs to newly generated unique elements.
ReadonlyidList of elements that reference other elements by ID, needing resolution.
ReadonlyusesA dictionary of custom components to be used within the template.
Builds child nodes and appends them to the specified element.
The parent element to append child nodes to.
The child nodes or text content to append.
OptionalchildNs: string | null
The namespace URI used when creating child elements.
Recursively builds a DOM tree from a TNode and stores the states in idMap and idReferenceMap.
The current TNode to build.
Optionalns: string | null
Namespace URI used when creating an element.
The constructed DOM Element.
Resolve stored ID references to their actual UUIDs
Context object used during the recursive build process.