{ dispatch('changeContent') }} >
dispatch('search', search)} on:input={() => dispatch('search', search)} {placeholder} /> {#if create !== undefined}
{/if}
{#if cHeight === 1}
{/if}
updateLocation(scrollDiv, selectedDiv, objects, selected)} bind:this={scrollDiv}>
{#if showCategories} {@const obj = toAny(objects[item])} {#if item === 0 || (item > 0 && getGroup(objects[item - 1], groupBy) !== getGroup(obj, groupBy))} {#if item > 0}
{/if}
{/if} {/if}
{@const obj = objects[item]} {@const isDeselectDisabled = selectedElements.has(obj._id) && forbiddenDeselectItemIds.has(obj._id)}
{ handleSelection(undefined, objects, item) }} >
{#if (allowDeselect && selected) || multiSelect || selected}
{#if obj._id === selected || selectedElements.has(obj._id)}
{/if}
{/if}
{#if cHeight === -1}
{/if}