{ if (!(e.target as HTMLElement).closest('.color-picker')) e.preventDefault(); }} >
run((c) => c.addRowBefore())} >
run((c) => c.addRowAfter())} >
run((c) => c.addColumnBefore())} >
run((c) => c.addColumnAfter())} >
run((c) => c.deleteRow())} >
run((c) => c.deleteColumn())} >
run((c) => c.deleteTable())} >
run((c) => c.mergeCells())} >
onSplit()} >
{#each [ { v: null, label: t().table.cellAlignTop, d: 'M5 5h8M5 8h5' }, { v: 'middle', label: t().table.cellAlignMiddle, d: 'M5 7.5h8M5 10.5h5' }, { v: 'bottom', label: t().table.cellAlignBottom, d: 'M5 10h8M5 13h5' }, ] as const as a}
setVAlign(a.v)} >
{/each}
applyCellColor(c)} onClear={() => clearCellColor()} > {#snippet icon()}
{/snippet}
run((c) => c.toggleHeaderRowStyle())} >
run((c) => c.toggleHeaderColumnStyle())} >