{#if gallery}
{#each selected_samples as sample_row, i}
{/each}
{:else}
{#each headers as header}
{header}
|
{/each}
{#each component_meta as sample_row, i}
{
value = i + page * samples_per_page;
dispatch("click", value);
}}
on:mouseenter={() => handle_mouseenter(i)}
on:mouseleave={() => handle_mouseleave()}
>
{#each sample_row as { value, component }, j}
{#if components[j] !== undefined && component_map[components[j]] !== undefined}
|
{/if}
{/each}
{/each}
{/if}
{#if paginate}
Pages:
{#each visible_pages as visible_page}
{#if visible_page === -1}
...
{:else}
{/if}
{/each}
{/if}