import{_ as a}from"./DomainEntityNav.05a2f50d.js";import{f as r,n as m,_,o as f,c as u,a as n,b as s,d as p,A as h}from"./entry.c7cd0af6.js";import"./nuxt-link.40687dc5.js";const v=r({components:{DomainEntityNav:a},setup(){const e=m();return{handleDeleted:t=>{e&&e.success({body:`The role ${t.name} was successfully deleted.`})},handleFailed:t=>{e&&e.warning({body:t.message})},items:[{name:"overview",urlSuffix:"",icon:"fa fa-bars"},{name:"add",urlSuffix:"/add",icon:"fa fa-plus"}]}}},"$2JQm4Tf4mU"),x=n("h1",{class:"title no-border mb-3"},[n("i",{class:"fa-solid fa-theater-masks me-1"}),p(" Role "),n("span",{class:"sub-title ms-1"},"Management")],-1),b={class:"content-wrapper"},D={class:"content-sidebar flex-column"},N={class:"content-container"};function $(e,o,i,c,t,g){const d=a,l=h;return f(),u("div",null,[x,n("div",b,[n("div",D,[s(d,{items:e.items,path:"/admin/roles",direction:"vertical"},null,8,["items"])]),n("div",N,[s(l,{onDeleted:e.handleDeleted,onFailed:e.handleFailed},null,8,["onDeleted","onFailed"])])])])}const k=_(v,[["render",$]]);export{k as default};
