{#if label}
{label}
{:else}
Loading {itemsLabel}: {loaded} of {total}...
{/if}
{#if batchSize != null}
Batch size:
{
const v = parseInt(e.currentTarget.value)
if (v >= 1 && v <= maxBatchSize) {
onBatchSizeChange?.(v)
} else {
e.currentTarget.value = String(batchSize)
}
}
}}
/>
{/if}