All files / src/app/components/themes themes.component.html

100% Statements 38/38
100% Branches 4/4
100% Functions 7/7
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1912066x   24054x 24054x 24054x 39x   24054x 24054x 39x 24054x 12027x 39x 24054x 24093x     39x  
<p-tabs [(value)]="selectedTab">
    <p-tablist>
        <p-tab [value]="0">Library</p-tab>
        <p-tab [value]="1">Marketplace</p-tab>
        <p-tab [value]="2">Create</p-tab>
    </p-tablist>
    <p-tabpanels>
        <p-tabpanel [value]="0">
            <app-themes-list [graphThemes]="libraryThemes" (themeToEditEvent)="editTheme($event)" (themesChangedEvent)="handleThemesChanged()"></app-themes-list>
        </p-tabpanel>
        <p-tabpanel [value]="1">
            <app-themes-list [graphThemes]="marketplaceThemes" [canBeActive]="false" (themesChangedEvent)="handleThemesChanged()"></app-themes-list>
        </p-tabpanel>
        <p-tabpanel [value]="2">
            <app-theme-builder [(editMode)]="editMode" [inputGraphTheme]="activeGraphTheme" (cancelEditEvent)="cancelEdit()" (themesChangedEvent)="handleThemesChanged()"></app-theme-builder>
        </p-tabpanel>
    </p-tabpanels>
</p-tabs>