import{_ as a}from"./DomainEntityNav.WTBtLm35.js";import{f as r,_ as m,o as _,c as f,a as t,b as s,d as u,B as p}from"./entry.eQZ3auYG.js";import{u as h}from"./toast.xQvLCn8q.js";import"./nuxt-link.f01z1rl7.js";const v=r({components:{DomainEntityNav:a},setup(){const e=h();return{handleDeleted:n=>{e&&e.show({variant:"success",body:`The role ${n.name} was successfully deleted.`})},handleFailed:n=>{e&&e.show({variant:"warning",body:n.message})},items:[{name:"overview",urlSuffix:"",icon:"fa fa-bars"},{name:"add",urlSuffix:"/add",icon:"fa fa-plus"}]}}},"$2JQm4Tf4mU"),x=t("h1",{class:"title no-border mb-3"},[t("i",{class:"fa-solid fa-theater-masks me-1"}),u(" Role "),t("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,n,w){const d=a,l=p;return _(),f("div",null,[x,t("div",b,[t("div",D,[s(d,{items:e.items,path:"/admin/roles",direction:"vertical"},null,8,["items"])]),t("div",N,[s(l,{onDeleted:e.handleDeleted,onFailed:e.handleFailed},null,8,["onDeleted","onFailed"])])])])}const T=m(v,[["render",$]]);export{T as default};
