sql generator - basic concept

This commit is contained in:
Jan Prochazka
2021-03-27 19:40:56 +01:00
parent 9c27c224ec
commit 4762597741
12 changed files with 269 additions and 23 deletions

View File

@@ -11,6 +11,7 @@
export let isExpandable = undefined;
export let filter;
export let expandIconFunc = undefined;
export let checkedObjectsStore = null;
export let groupFunc = undefined;
@@ -36,7 +37,15 @@
{#if groupFunc}
{#each _.keys(groups) as group (group)}
<AppObjectGroup {group} {module} items={groups[group]} {expandIconFunc} {isExpandable} {subItemsComponent} />
<AppObjectGroup
{group}
{module}
items={groups[group]}
{expandIconFunc}
{isExpandable}
{subItemsComponent}
{checkedObjectsStore}
/>
{/each}
{:else}
{#each filtered as data (module.extractKey(data))}
@@ -48,6 +57,7 @@
{isExpandable}
on:objectClick
{expandIconFunc}
{checkedObjectsStore}
/>
{/each}
{/if}