{
e.stopPropagation()
}}
role="none"
bind:clientWidth={width}
bind:clientHeight={height}
>
dispatch('close')}
{disableAi}
on:insert
bind:funcDesc
{preFilter}
{loading}
/>
{#if selectedKind != 'preprocessor' && selectedKind != 'flow'}
{/if}
(refreshCount += 1)} />
{#if kind === 'script' && !scriptOnly}
{
selectedKind = 'script'
}}
/>
{#if customUi?.triggers != false && allowTrigger}
{
selectedKind = 'trigger'
}}
/>
{/if}
{
selectedKind = 'approval'
}}
/>
{#if customUi?.flowNode != false}
{
selectedKind = 'flow'
}}
/>
{/if}
{#if stop}
{
selectedKind = 'script'
}}
/>
{/if}
{
dispatch('close')
dispatch('new', { kind: 'forloop' })
}}
/>
{
dispatch('close')
dispatch('new', { kind: 'whileloop' })
}}
/>
{
dispatch('close')
dispatch('new', { kind: 'branchone' })
}}
/>
{
dispatch('close')
dispatch('new', { kind: 'branchall' })
}}
/>
{
dispatch('close')
dispatch('new', { kind: 'aiagent' })
}}
/>
{/if}
{
dispatch('close')
}}
on:new
on:pickScript
on:pickFlow
{preFilter}
{small}
{displayPath}
{refreshCount}
/>