|
|
|
@ -42,28 +42,29 @@ |
|
|
|
<LayoutIcon /> |
|
|
|
</button> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<button |
|
|
|
class:selected={current_view === 'code'} |
|
|
|
on:click={() => codeEditor && codeEditor.show()}> |
|
|
|
{#if component._code && component._code.trim().length > 0} |
|
|
|
<div class="button-indicator"> |
|
|
|
<CircleIndicator /> |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
<TerminalIcon /> |
|
|
|
</button> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<button |
|
|
|
class:selected={current_view === 'events'} |
|
|
|
on:click={() => (current_view = 'events')}> |
|
|
|
<EventsIcon /> |
|
|
|
</button> |
|
|
|
</li> |
|
|
|
{#if !component._component.startsWith('##')} |
|
|
|
<li> |
|
|
|
<button |
|
|
|
class:selected={current_view === 'code'} |
|
|
|
on:click={() => codeEditor && codeEditor.show()}> |
|
|
|
{#if component._code && component._code.trim().length > 0} |
|
|
|
<div class="button-indicator"> |
|
|
|
<CircleIndicator /> |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
<TerminalIcon /> |
|
|
|
</button> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<button |
|
|
|
class:selected={current_view === 'events'} |
|
|
|
on:click={() => (current_view = 'events')}> |
|
|
|
<EventsIcon /> |
|
|
|
</button> |
|
|
|
</li> |
|
|
|
{/if} |
|
|
|
</ul> |
|
|
|
{$store.currentFrontEndType} |
|
|
|
|
|
|
|
<div class="component-props-container"> |
|
|
|
|
|
|
|
{#if current_view === 'props'} |
|
|
|
@ -81,8 +82,6 @@ |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<style> |
|
|
|
|