1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
import{_ as e,c as o,o as t,a as d}from"./app.54d5a277.js";const g='{"title":"Interface: BaseTree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"isResetting","slug":"isresetting"},{"level":3,"title":"links","slug":"links"},{"level":3,"title":"resettingNode","slug":"resettingnode"},{"level":3,"title":"type","slug":"type"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"reset","slug":"reset"}],"relativePath":"api/interfaces/features/trees/tree.BaseTree.md"}',r={},c=d('<h1 id="interface-basetree" tabindex="-1">Interface: BaseTree <a class="header-anchor" href="#interface-basetree" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/trees/tree.html">features/trees/tree</a>.BaseTree</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="component" tabindex="-1">[Component] <a class="header-anchor" href="#component" aria-hidden="true">#</a></h3><p>\u2022 <strong>[Component]</strong>: <code>DefineComponent</code><{ <code>leftSideNodes</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[]>> ; <code>nodes</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[][]>> } ; <code>rightSideNodes</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[]>> }, { <code>gatherNodeProps</code>: (<code>node</code>: <a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>) => { <code>canClick</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<code>boolean</code>> ; <code>classes</code>: <code>undefined</code> | <code>Record</code><<code>string</code>, <code>boolean</code>> | <code>Ref</code><<code>Record</code><<code>string</code>, <code>boolean</code>>> ; <code>color</code>: <code>undefined</code> | <code>string</code> | <code>Ref</code><<code>string</code>> ; <code>display</code>: <code>undefined</code> | <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> | <code>Ref</code><<a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a>> ; <code>forceTooltip</code>: <code>Ref</code><<code>boolean</code>> ; <code>glowColor</code>: <code>undefined</code> | <code>string</code> | <code>Ref</code><<code>string</code>> ; <code>id</code>: <code>string</code> ; <code>mark</code>: <code>undefined</code> | <code>string</code> | <code>boolean</code> | <code>Ref</code><<code>string</code> | <code>boolean</code>> ; <code>onClick</code>: <code>undefined</code> | <code>VoidFunction</code> ; <code>onHold</code>: <code>undefined</code> | <code>VoidFunction</code> ; <code>style</code>: <code>undefined</code> | <a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a> | <code>Ref</code><<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>> ; <code>tooltip</code>: <code>undefined</code> | <code>string</code> | <a href="../tooltip.Tooltip"><code>Tooltip</code></a> | <code>Ref</code><<code>string</code> | <a href="../tooltip.Tooltip"><code>Tooltip</code></a>> ; <code>visibility</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a>> } ; <code>unref</code>: <T>(<code>ref</code>: <code>T</code> | <code>Ref</code><<code>T</code>>) => <code>T</code> }, <code>unknown</code>, {}, {}, <code>ComponentOptionsMixin</code>, <code>ComponentOptionsMixin</code>, <code>Record</code><<code>string</code>, <code>any</code>>, <code>string</code>, <code>PublicProps</code>, <code>Readonly</code><<code>ExtractPropTypes</code><{ <code>leftSideNodes</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[]>> ; <code>nodes</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[][]>> } ; <code>rightSideNodes</code>: <code>PropType</code><<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>[]>> }>>, {}></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L146" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:146</a></p><hr><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-hidden="true">#</a></h3><p>\u2022 <strong>id</strong>: <code>string</code></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L140" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:140</a></p><hr><h3 id="isresetting" tabindex="-1">isResetting <a class="header-anchor" href="#isresetting" aria-hidden="true">#</a></h3><p>\u2022 <strong>isResetting</strong>: <code>Ref</code><<code>boolean</code>></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L143" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:143</a></p><hr><h3 id="links" tabindex="-1">links <a class="header-anchor" href="#links" aria-hidden="true">#</a></h3><p>\u2022 <strong>links</strong>: <code>Ref</code><<a href="../links.Link"><code>Link</code></a>[]></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L141" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:141</a></p><hr><h3 id="resettingnode" tabindex="-1">resettingNode <a class="header-anchor" href="#resettingnode" aria-hidden="true">#</a></h3><p>\u2022 <strong>resettingNode</strong>: <code>Ref</code><<code>null</code> | <a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a>></p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L144" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:144</a></p><hr><h3 id="type" tabindex="-1">type <a class="header-anchor" href="#type" aria-hidden="true">#</a></h3><p>\u2022 <strong>type</strong>: typeof <a href="./../../../modules/features/trees/tree.html#treetype"><code>TreeType</code></a></p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L145" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:145</a></p><h2 id="methods" tabindex="-1">Methods <a class="header-anchor" href="#methods" aria-hidden="true">#</a></h2><h3 id="gatherprops" tabindex="-1">[GatherProps] <a class="header-anchor" href="#gatherprops" aria-hidden="true">#</a></h3><p>\u25B8 <strong>[GatherProps]</strong>(): <code>Record</code><<code>string</code>, <code>unknown</code>></p><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><code>Record</code><<code>string</code>, <code>unknown</code>></p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L147" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:147</a></p><hr><h3 id="reset" tabindex="-1">reset <a class="header-anchor" href="#reset" aria-hidden="true">#</a></h3><p>\u25B8 <strong>reset</strong>(<code>node</code>): <code>void</code></p><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>node</code></td><td style="text-align:left;"><a href="./../../../modules/features/trees/tree.html#generictreenode"><code>GenericTreeNode</code></a></td></tr></tbody></table><h4 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-hidden="true">#</a></h4><p><code>void</code></p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/trees/tree.ts#L142" target="_blank" rel="noopener noreferrer">profectus/src/features/trees/tree.ts:142</a></p>',48),a=[c];function s(n,i,l,h,u,f){return t(),o("div",null,a)}var m=e(r,[["render",s]]);export{g as __pageData,m as default};
|