{#each componentsData.children as component (component.id)} {#await Promise.all( [getComponent(component.componentName), getServiceProps(component)] ) then [Component, serviceProps]} {#if Component}
{ acc[component.services[idx]] = currServiceModule; return acc; }, {})} /> {#if component.actions}
{#each component.actions as action} {#await getComponent(action) then ActionComponent} {#if ActionComponent}
{:else}
Action {action} not found.
{/if} {/await} {/each}
{/if} {#if component.children && component.children.length}
{/if}
{:else}
Component {component.componentName} not found.
{/if} {/await} {/each}