2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
}}
|
|
|
|
|
2021-03-08 12:15:54 +00:00
|
|
|
{{did-insert this.connect}}
|
|
|
|
{{will-destroy this.disconnect}}
|
2020-10-01 08:33:22 +00:00
|
|
|
<section
|
2021-03-08 12:15:54 +00:00
|
|
|
{{did-insert (fn this.attributeChanged 'element')}}
|
2021-10-26 18:26:04 +00:00
|
|
|
{{did-update (fn this.attributeChanged 'model' @model)}}
|
2020-10-01 08:33:22 +00:00
|
|
|
class="outlet"
|
|
|
|
data-outlet={{@name}}
|
2021-03-08 12:15:54 +00:00
|
|
|
data-route={{this.routeName}}
|
2020-10-01 08:33:22 +00:00
|
|
|
data-state={{this.state.name}}
|
|
|
|
data-transition={{concat this.previousState.name ' ' this.state.name}}
|
2021-03-08 12:15:54 +00:00
|
|
|
{{on 'transitionend' this.transitionEnd}}
|
2020-10-01 08:33:22 +00:00
|
|
|
>
|
|
|
|
{{yield (hash
|
|
|
|
state=this.state
|
|
|
|
previousState=this.previousState
|
|
|
|
route=this.route
|
|
|
|
)}}
|
|
|
|
</section>
|