import{_ as l}from"./BPigo5_n.js";import{f as r,_ as m,o as _,c as u,a as s,b as t,d as f,k as p}from"./qGWCsquX.js";import{u as h}from"./DjfSO2bY.js";import"./BNEsDCLV.js";const v=r({setup(){const e=h();return{handleDeleted:n=>{e&&e.show({variant:"success",body:`The permission ${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"}]}}},"$6hSEOEv887"),x=s("h1",{class:"title no-border mb-3"},[s("i",{class:"fa-solid fa-users me-1"}),f(" Permission "),s("span",{class:"sub-title ms-1"},"Management")],-1),b={class:"content-wrapper"},$={class:"content-sidebar flex-column"},w={class:"content-container"};function D(e,a,o,i,n,N){const d=l,c=p;return _(),u("div",null,[x,s("div",b,[s("div",$,[t(d,{items:e.items,path:"/admin/permissions",direction:"vertical"},null,8,["items"])]),s("div",w,[t(c,{onDeleted:e.handleDeleted,onFailed:e.handleFailed},null,8,["onDeleted","onFailed"])])])])}const k=m(v,[["render",D]]);export{k as default};
