import{r as t,c as i,h as e,g as s}from"./p-3b76effa.js";class r{constructor(e){t(this,e),this.registerRouteLink=i(this,"registerRouteLink",7),this.routeLinkChange=i(this,"routeLinkChange",7)}componentDidLoad(){this.postRender()}componentDidUpdate(){this.routeLinkChange.emit({url:this.url,action:this.action,actionParams:this.actionParams}),this.postRender()}postRender(){this.registerRouteLink.emit({url:this.url,action:this.action,actionParams:this.actionParams})}render(){return e("div",null,e("a",{href:""+this.url},e("slot",null)))}get el(){return s(this)}}export{r as ema_route_link};