{ dispatch('changeContent') }} on:keydown={onKeydown} > {#if searchable}
{/if}
updateLocation(scrollDiv, selectedDiv, filteredObjects)} bind:this={scrollDiv}>
dispatch('changeContent')} >
{@const item = filteredObjects[itemId]}
dispatch('close', item.id)} on:focus={() => dispatch('update', item)} on:mouseover={() => dispatch('update', item)} >
{#if hasSelected}
{#if item.isSelected}
{/if}
{/if} {#if item.component}
{:else} {#if item.icon}
{/if}
{#if item.label}
{:else if item.text}
{item.text}
{/if}
{/if}
{@const obj = filteredObjects[row]} {#if obj.category && ((row === 0 && obj.category.label !== undefined) || obj.category.label !== filteredObjects[row - 1]?.category?.label)}
{#if obj.category.icon}
{/if}
{/if}