<:status as |search|>
{{#let
(t (concat "components.consul.token.search-bar." search.status.key ".name")
default=(array
(concat "common.search." search.status.key)
(concat "common.consul." search.status.key)
)
)
(t (concat "components.consul.token.search-bar." search.status.key ".options." search.status.value)
default=(array
(concat "common.search." search.status.value)
(concat "common.consul." search.status.value)
(concat "common.brand." search.status.value)
)
)
as |key value|}}
- {{key}}
- {{value}}
{{/let}}
<:search as |search|>
{{t "common.search.searchproperty"}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each @filter.searchproperty.default as |prop|}}
{{/each}}
{{/let}}
<:filter as |search|>
{{t "components.consul.token.search-bar.kind.name"}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each (array "global-management" "global" "local") as |state|}}
{{/each}}
{{/let}}
<:sort as |search|>
{{#let (from-entries (array
(array "CreateTime:desc" (t "common.sort.age.desc"))
(array "CreateTime:asc" (t "common.sort.age.asc"))
))
as |selectable|
}}
{{get selectable @sort.value}}
{{/let}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{/let}}