{#if $isCollectionsLoading} Loading collections... {:else if !viewableCollections.length} {#if $hideControls} You don't have any collections yet. {:else} Create your first collection to add records! collectionUpsertPanel?.show()} > Create new collection {/if} {:else} Collections {$activeCollection.name} {#if !$hideControls} collectionUpsertPanel?.show($activeCollection)} > {/if} recordsList?.load()} /> collectionDocsPanel?.show($activeCollection)} > API Preview recordPanel?.show()}> New record (filter = e.detail)} /> recordPanel?.show(e?.detail)} /> {/if} recordsList?.reloadLoadedPages()} on:delete={() => recordsList?.reloadLoadedPages()} />