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