{#each ALL_ATTRIBUTES as category(category.categoryName)}
{#each category.specs as spec(spec.name)}
{@const has = spec.name in target.attrs}
{#if has}
{#if spec.type === "string"}
updateAttribute(spec, e.detail)}
label={spec.name}
max_lines={1}
/>
{:else if spec.type === "boolean"}
updateAttribute(spec, e.detail)}
label={spec.name}
/>
{:else if spec.type === "enum"}
{/if}