2022-12-16 11:51:36 -06:00
|
|
|
{{#if this.hideSchema}}
|
|
|
|
|
<DButton
|
|
|
|
|
@action={{this.expandSchema}}
|
|
|
|
|
@icon="chevron-left"
|
2024-01-15 12:17:19 +01:00
|
|
|
class="no-text unhide"
|
2022-12-16 11:51:36 -06:00
|
|
|
/>
|
2023-04-18 10:33:25 -04:00
|
|
|
{{else}}
|
|
|
|
|
<div class="schema">
|
2022-12-16 11:51:36 -06:00
|
|
|
<div class="schema-search inline-form full-width">
|
2023-04-18 10:33:25 -04:00
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
{{on "input" (action "filterChanged" value="target.value")}}
|
2022-12-16 11:51:36 -06:00
|
|
|
/>
|
|
|
|
|
<DButton
|
|
|
|
|
@action={{this.collapseSchema}}
|
|
|
|
|
@icon="chevron-right"
|
2024-01-15 12:17:19 +01:00
|
|
|
class="no-text"
|
2022-12-16 11:51:36 -06:00
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
2023-04-18 10:33:25 -04:00
|
|
|
<div class="schema-container">
|
|
|
|
|
<ConditionalLoadingSpinner @condition={{this.loading}}>
|
2022-12-16 11:51:36 -06:00
|
|
|
<ul>
|
|
|
|
|
{{#each this.filteredTables as |table|}}
|
2022-12-20 10:30:43 -06:00
|
|
|
<ExplorerSchema::OneTable @table={{table}} />
|
2022-12-16 11:51:36 -06:00
|
|
|
{{/each}}
|
|
|
|
|
</ul>
|
2023-04-18 10:33:25 -04:00
|
|
|
</ConditionalLoadingSpinner>
|
|
|
|
|
</div>
|
2022-12-16 11:51:36 -06:00
|
|
|
</div>
|
2023-04-18 10:33:25 -04:00
|
|
|
{{/if}}
|