{#if Object.keys(object || {}).length > 0} {#if headings}
{keyHeading || keyPlaceholder}
{valueHeading || valuePlaceholder}
{#if toggle}
Active
{/if}
{/if}
{#each fields as field, idx}
{#if options}
{:else}
{/if} {#if toggle}
{/if} {#if !readOnly}
deleteEntry(idx)} /> {/if} {#if menuItems?.length > 0 && showMenu}
{#each menuItems as item}
item.onClick(field)}> {item.text}
{/each}
{/if} {/each}
{/if} {#if !readOnly && !noAddButton}
Add{name ? ` ${lowercase(name)}` : ""}
{/if}