import{z as r,h as s,N as m,x as t}from"./entry.83e061d6.js";import"./components.client.581405d2.js";import{b as c}from"./enity-nav.b8302727.js";import"./sidebar.vue_vue_type_script_lang.36571436.js";import"./component.13bf56b8.js";import"./composables.633e7485.js";import"./api.31efd825.js";import"./LoginSVG.06b0ff46.js";const h=r({setup(){const a=[{name:"overview",urlSuffix:"",icon:"fa fa-bars"},{name:"add",urlSuffix:"/add",icon:"fa fa-plus"}],n=e=>{t().success(`The permission ${e.name} was successfully deleted.`)},i=e=>{t().warning(e.message)};return()=>s("div",[s("h1",{class:"title no-border mb-3"},[s("i",{class:"fa fa-users me-1"}),"Permission",s("span",{class:"sub-title ms-1"},["Management"])]),s("div",{class:"content-wrapper"},[s("div",{class:"content-sidebar flex-column"},[c("/admin/permissions",a,{direction:"vertical"})]),s("div",{class:"content-container"},[s(m,{onDeleted:n,onFailed:i})])])])}});export{h as default};
