{#if target}
{target.attrs.title} ({getTargetType()})
{#each ALL_ATTRIBUTES as category(category.categoryName)}
{target.attrs.title}
{#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}
{/if} {/each} {/each}
{/if}