0 && values.length > 0} onCancel={() => { showConfirmationDialog() }} >
{ dragover = true }} on:dragleave={() => { dragover = false }} on:drop|preventDefault|stopPropagation={fileDrop} >
{ openPopup(ev) }} /> { if (newItem) { add() } else { newItem = true } }} />
{#if values.length > 0 || newItem}
{ remove(e.detail) }} /> {#if newItem}
{ newValue = newValue.trim() if (!newValue.length) return add() newItem = false }} bind:value={newValue} width={'100%'} autoFocus />
{#if matched}
{/if} { newValue = '' newItem = false }} />
{/if}
{/if}