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