{#if open}
{#if hoverRows > 0 && hoverCols > 0} {t().table.dimensions(hoverCols, hoverRows)} {:else} {t().table.insertTable} {/if}
{ hoverRows = 0; hoverCols = 0; }} > {#each ROW_INDICES as r}
{#each COL_INDICES as c}
{ hoverRows = r; hoverCols = c; }} onfocus={() => { hoverRows = r; hoverCols = c; }} onclick={() => insert(r, c)} >
{/each}
{/each}
{t().table.rows}
{t().table.cols}
{t().table.insert}
{ open = false; onManageStyles?.(); }} >
{t().table.manageStyles}
{/if}