{}} on:dragleave={() => {}} on:drop|preventDefault|stopPropagation={fileDrop} > { dispatch('focus') inputFile.click() }, order: 1001 } ]} showHeader={attachments.size > 0 || progress} haveAttachment={attachments.size > 0} on:focus on:blur on:message={onMessage} on:update={onUpdate} {placeholder} >
{#if attachments.size || progress}
{#if progress}
{/if} {#each Array.from(attachments.values()) as attachment}
{ if (result !== undefined) removeAttachment(attachment) }} />
{/each}
{/if}