mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
ac701696b3
These component were also the last using select2. As a consequence select2 is removed from Discourse in this commit.
51 lines
1.5 KiB
Handlebars
51 lines
1.5 KiB
Handlebars
{{#component headerComponent
|
|
tabindex=tabindex
|
|
isFocused=isFocused
|
|
isExpanded=isExpanded
|
|
computedContent=headerComputedContent
|
|
deselect=(action "deselect")
|
|
toggle=(action "toggle")
|
|
clearSelection=(action "clearSelection")
|
|
options=headerComponentOptions
|
|
}}
|
|
{{component filterComponent
|
|
icon=filterIcon
|
|
placeholder=filterPlaceholder
|
|
filter=filter
|
|
hasSelection=hasSelection
|
|
isLoading=isLoading
|
|
shouldDisplayFilter=shouldDisplayFilter
|
|
isFocused=isFocused
|
|
filterComputedContent=(action "filterComputedContent")
|
|
}}
|
|
{{/component}}
|
|
|
|
<div class="select-kit-body">
|
|
{{#if renderedBodyOnce}}
|
|
{{component collectionComponent
|
|
collectionHeaderComputedContent=collectionHeaderComputedContent
|
|
hasSelection=hasSelection
|
|
noneRowComputedContent=noneRowComputedContent
|
|
createRowComputedContent=createRowComputedContent
|
|
collectionComputedContent=collectionComputedContent
|
|
rowComponent=rowComponent
|
|
noneRowComponent=noneRowComponent
|
|
createRowComponent=createRowComponent
|
|
templateForRow=templateForRow
|
|
templateForNoneRow=templateForNoneRow
|
|
templateForCreateRow=templateForCreateRow
|
|
clearSelection=(action "clearSelection")
|
|
select=(action "select")
|
|
highlight=(action "highlight")
|
|
create=(action "create")
|
|
highlightedValue=highlightedValue
|
|
computedValue=computedValue
|
|
rowComponentOptions=rowComponentOptions
|
|
noContentRow=noContentRow
|
|
maxContentRow=maxContentRow
|
|
}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="select-kit-wrapper"></div>
|