<:status as |search|>
{{#let
(t (concat "components.consul.kv.search-bar." search.status.key)
default=(array
(concat "common.search." search.status.key)
(concat "common.consul." search.status.key)
)
)
(t (concat "components.consul.kv.search-bar." search.status.value)
default=(array
(concat "common.search." search.status.value)
(concat "common.consul." search.status.value)
)
)
as |key value|}}
- {{key}}
- {{value}}
{{/let}}
<:search as |search|>
{{#if @filter.searchproperty}}
{{t "common.search.searchproperty"}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each @filter.searchproperty.default as |prop|}}
{{/each}}
{{/let}}
{{/if}}
<:filter as |search|>
{{t "components.consul.kv.search-bar.kind.name"}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each (array "folder" "key") as |item|}}
{{/each}}
{{/let}}
<:sort as |search|>
{{#let (from-entries (array
(array "Key:asc" (t "common.sort.alpha.asc"))
(array "Key:desc" (t "common.sort.alpha.desc"))
(array "Kind:asc" (t "components.consul.kv.search-bar.sort.kind.asc"))
(array "Kind:desc" (t "components.consul.kv.search-bar.sort.kind.desc"))
))
as |selectable|
}}
{{get selectable @sort.value}}
{{/let}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{/let}}