{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} <:status as |search|> {{#let (t (concat "components.consul.intention.search-bar." search.status.key) default=(array (concat "common.search." search.status.key) (concat "common.consul." search.status.key) ) ) (t (concat "components.consul.intention.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.intention.search-bar.access.name"}} {{#let components.Optgroup components.Option as |Optgroup Option|}} {{#each (array "allow" "deny" "") as |item|}} {{/each}} {{/let}} <:sort as |search|> {{#let (from-entries (array (array "Action:asc" (t "components.consul.intention.search-bar.sort.access.asc")) (array "Action:desc" (t "components.consul.intention.search-bar.sort.access.desc")) (array "SourceName:asc" (t "components.consul.intention.search-bar.sort.source-name.asc")) (array "SourceName:desc" (t "components.consul.intention.search-bar.sort.source-name.desc")) (array "DestinationName:asc" (t "components.consul.intention.search-bar.sort.destination-name.asc")) (array "DestinationName:desc" (t "components.consul.intention.search-bar.sort.destination-name.desc")) (array "Precedence:asc" (t "common.sort.numeric.asc")) (array "Precedence:desc" (t "common.sort.numeric.desc")) )) as |selectable| }} {{get selectable @sort.value}} {{/let}} {{#let components.Optgroup components.Option as |Optgroup Option|}} {{/let}}