{#if externalActions[block.stepId]}
{:else}
{/if}
{#if isHeaderTrigger}
Trigger
{:else}
Step {idx}
{/if}
{ automationName = e.target.value.trim() }} on:click={startTyping} on:blur={async () => { typing = false if (automationNameError) { automationName = stepNames[block.id] || block?.name } else { await saveName() } }} />
{#if showTestStatus && testResult}
{status?.message}
dispatch("toggle")} hoverable name={open ? "ChevronUp" : "ChevronDown"} />
{/if}
{ onSelect(block) }} > {#if !showTestStatus} {#if !isHeaderTrigger && !loopBlock && (block?.features?.[Features.LOOPING] || !block.features)}
{/if}
{/if} {#if !showTestStatus}
dispatch("toggle")} hoverable name={open ? "ChevronUp" : "ChevronDown"} /> {/if}
{#if automationNameError}
{/if}