mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 14:56:01 +00:00
sql generator - basic concept
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user