import{r as registerInstance,c as createEvent,h,H as Host}from"./index-102043e0.js";var DvnAppRouteLink=function(){function t(t){registerInstance(this,t);this.action=createEvent(this,"action",7)}t.prototype.render=function(){var t=this;return h(Host,{onClick:function(){if(!t.url)return;t.action.emit({type:"navigation",direction:"forward",url:t.url,viewId:t.viewId})},style:{display:"block"}},h("slot",null))};return t}();export{DvnAppRouteLink as dvn_app_route_link};