onopen(entry) : undefined}
onkeydown={onopen ? (e) => e.key === 'Enter' && onopen(entry) : undefined}
oncontextmenu={contextActions?.length ? (e) => openContext(e, entry) : undefined}
>
{#if selectable}
e.stopPropagation()}>
toggleSelected(entry.id)}
/>
{/if}
{entry.name}
{#if showOwner}
{(entry.ownerName ?? '?').slice(0, 1).toUpperCase()}
{entry.ownerName ?? entry.ownerId ?? ''}
{/if}
{#if showPath}
{entry.path ?? ''}
{/if}
{#if showType}
{entry.typeLabel ?? ''}
{/if}
{#if showSize}
{entry.size != null ? formatBytes(entry.size) : '—'}
{/if}
{#if showDate}
{#if dateCell}{@render dateCell(entry)}{:else}{formatDate(entry.date)}{/if}
{/if}
{#if showDate && dateCell}{@render dateCell(entry)}{/if}
{#if entry.size != null}{formatBytes(entry.size)}{/if}
{#if entry.date != null}{formatDate(entry.date)}{/if}
{#if onfavorite}
{/if}
{#if actions}
{@render actions(entry)}
{/if}
{/snippet}
{#if selectable && selected.size > 0 && batchToolbar}