{{yield}}
{{#let (hash MenuItem=(component 'popover-menu/menu-item' menu=(hash addSubmenu=(action "addSubmenu") removeSubmenu=(action "removeSubmenu") confirm=(concat "popover-menu-" guid "-") clickTrigger=this.toggle.click keypressClick=keypressClick ) ) MenuSeparator=(component 'popover-menu/menu-separator' ) ) as |components|}} {{#let (hash toggle=this.toggle.click ) as |api|}} {{#each submenus as |sub|}} {{/each}} {{#if hasHeader}} {{yield components api}} {{#yield-slot name="header"}}{{else}}{{/yield-slot}} {{/if}} {{yield components api}} {{/let}} {{/let}}