2020-01-16 18:14:03 +03:00
|
|
|
<LiquidWormhole @class="fullscreen-modal-container">
|
2016-10-07 16:27:39 +03:00
|
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
2019-12-13 17:20:29 +03:00
|
|
|
<div class={{this.modalClasses}}>
|
2016-10-07 16:27:39 +03:00
|
|
|
{{#if hasBlock}}
|
|
|
|
{{yield}}
|
|
|
|
{{else}}
|
2021-01-22 12:24:33 +03:00
|
|
|
{{#let (component this.modalPath) as |ModalComponent|}}
|
|
|
|
<ModalComponent
|
|
|
|
@model={{this.model}}
|
2021-01-22 12:43:33 +03:00
|
|
|
@confirm={{action "confirm"}}
|
2021-01-22 12:24:33 +03:00
|
|
|
@closeModal={{action "close"}}
|
|
|
|
/>
|
|
|
|
{{/let}}
|
2016-10-07 16:27:39 +03:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-01-16 18:14:03 +03:00
|
|
|
</LiquidWormhole>
|