{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<div
  class="consul-intention-list"
  ...attributes
  {{did-update this.updateCRDManagement @items}}
>
{{yield (hash
  Table=(component 'consul/intention/list/table' delete=@delete items=this.items)
  CheckNotice=(if this.checkedItem
    (component 'consul/intention/list/check' item=this.checkedItem)
    ''
  )
  CustomResourceNotice=(if this.isManagedByCRDs
    (component 'consul/intention/notice/custom-resource')
    ''
  )
)}}
</div>