import{_ast,case,oasd,Nasl}from"./chunks/framework.0799945b.js";consth=JSON.parse('{"title":"Module: features/trees/tree","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/tree.md","lastUpdated":null}'),o={name:"api/modules/features/tree.md"},r=l('<h1id="module-features-trees-tree"tabindex="-1">Module:features/trees/tree<aclass="header-anchor"href="#module-features-trees-tree"aria-label="Permalink to "Module: features/trees/tree""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="basetree"tabindex="-1">BaseTree<aclass="header-anchor"href="#basetree"aria-label="Permalinkto"BaseTree""></a></h3><p>•<strong>BaseTree</strong>:<code>Object</code></p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>[Component]</code></td><tdstyle="text-align:left;"><ahref="./feature#genericcomponent"><code>GenericComponent</code></a></td><tdstyle="text-align:left;">TheVuecomponentusedtorenderthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>[GatherProps]</code></td><tdstyle="text-align:left;">()=><ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>unknown</code>></td><tdstyle="text-align:left;">Afunctiontogatherthepropsthevuecomponentrequiresforthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>id</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">Anauto-generatedIDforidentifyingfeaturesthatappearintheDOM.Willnotpersistbetweenrefreshesorupdates.</td></tr><tr><tdstyle="text-align:left;"><code>isResetting</code></td><tdstyle="text-align:left;"><code>Ref</code><<code>boolean</code>></td><tdstyle="text-align:left;">Aflagthatistruewhiletheresetisstillpropagatingthroughthetree.</td></tr><tr><tdstyle="text-align:left;"><code>links</code></td><tdstyle="text-align:left;"><code>Ref</code><<ahref="./links#link"><code>Link</code></a>[]></td><tdstyle="text-align:left;">Thelinkobjectsforeachofthebranchesofthetree.</td></tr><tr><tdstyle="text-align:left;"><code>reset</code></td><tdstyle="text-align:left;">(<code>node</code>:<ahref="./tree#generictreenode"><code>GenericTreeNode</code></a>)=><code>void</code></td><tdstyle="text-align:left;">CausearesetonthisnodeandpropagateitthroughthetreeaccordingtoresetPropagation.</td></tr><tr><tdstyle="text-align:left;"><code>resettingNode</code></td><tdstyle="text-align:left;"><code>Ref</code><<code>null</code>|<ahref="./tree#generictreenode"><code>GenericTreeNode</code></a>></td><tdstyle="text-align:left;">Areferencetothenodethatcausedthecurrentlypropagatingreset.</td></tr><tr><tdstyle="text-align:left;"><code>type</code></td><tdstyle="text-align:left;">typeof<ahref="./tree#treetype"><code>TreeType</code></a></td><tdstyle="text-align:left;">Asymbolthathelpsidentifyfeaturesofthesametype.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/425e85a/src/features/trees/tree.ts#L222"target="_blank"rel="noreferrer">profectus/src/features/trees/tree.ts:222</a></p><hr><h3id="basetreenode"tabindex="-1">BaseTreeNode<aclass="header-anchor"href="#basetreenode"aria-label="Permalinkto"BaseTreeNode""></a></h3><p>•<strong>BaseTreeNode</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./tree#treenodeoptions">TreeNodeOptions</a>tocreatean<ahref="./tree#treenode">TreeNode</a>.</p><table><thea