import{x as r,h as s,N as m,m as t}from"./entry.731fa101.js";import"./components.client.e8e3e180.js";import{b as c}from"./enity-nav.3debeb1d.js";import"./sidebar.vue_vue_type_script_lang.a371e2e8.js";import"./component.6c997487.js";import"./composables.3f41d4a8.js";import"./LoginSVG.150727e9.js";const x=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{x as default};
