mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 05:03:39 +08:00
53 lines
1.6 KiB
Handlebars
53 lines
1.6 KiB
Handlebars
{{component headerComponent
|
|
tabindex=tabindex
|
|
shouldDisplayFilter=shouldDisplayFilter
|
|
isFocused=isFocused
|
|
isExpanded=isExpanded
|
|
computedContent=headerComputedContent
|
|
deselect=(action "deselect")
|
|
toggle=(action "toggle")
|
|
isLoading=isLoading
|
|
filterComputedContent=(action "filterComputedContent")
|
|
clearSelection=(action "clearSelection")
|
|
options=headerComponentOptions
|
|
}}
|
|
|
|
<div class="select-kit-body">
|
|
{{component filterComponent
|
|
filter=filter
|
|
isLoading=isLoading
|
|
icon=filterIcon
|
|
shouldDisplayFilter=shouldDisplayFilter
|
|
placeholder=(i18n filterPlaceholder)
|
|
isFocused=isFocused
|
|
filterComputedContent=(action "filterComputedContent")
|
|
}}
|
|
|
|
{{#if renderedBodyOnce}}
|
|
{{component collectionComponent
|
|
collectionHeaderComputedContent=collectionHeaderComputedContent
|
|
hasSelection=hasSelection
|
|
noneRowComputedContent=noneRowComputedContent
|
|
createRowComputedContent=createRowComputedContent
|
|
filteredComputedContent=filteredComputedContent
|
|
rowComponent=rowComponent
|
|
noneRowComponent=noneRowComponent
|
|
createRowComponent=createRowComponent
|
|
templateForRow=templateForRow
|
|
templateForNoneRow=templateForNoneRow
|
|
templateForCreateRow=templateForCreateRow
|
|
clearSelection=(action "clearSelection")
|
|
select=(action "select")
|
|
highlight=(action "highlight")
|
|
create=(action "create")
|
|
noContentLabel=noContentLabel
|
|
highlightedValue=highlightedValue
|
|
computedValue=computedValue
|
|
shouldDisplayNoContentRow=shouldDisplayNoContentRow
|
|
rowComponentOptions=rowComponentOptions
|
|
}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="select-kit-wrapper"></div>
|