import{z as r,h as s,N as m,x as t}from"./entry.30e55a5e.js";import"./components.client.df015f1b.js";import{b as c}from"./enity-nav.0b568374.js";import"./sidebar.vue_vue_type_script_lang.1e604465.js";import"./component.bb17d696.js";import"./composables.a8da7a35.js";import"./api.9517b989.js";import"./LoginSVG.e12a909b.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};
