import{x as l,h as e,N as r,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=l({setup(){const a=[{name:"overview",urlSuffix:"",icon:"fa fa-bars"},{name:"add",urlSuffix:"/add",icon:"fa fa-plus"}],o=s=>{t().success(`The role ${s.name} was successfully deleted.`)},n=s=>{t().warning(s.message)};return()=>e("div",[e("h1",{class:"title no-border mb-3"},[e("i",{class:"fa-solid fa-user-group me-1"}),"Role",e("span",{class:"sub-title ms-1"},["Management"])]),e("div",{class:"content-wrapper"},[e("div",{class:"content-sidebar flex-column"},[c("/admin/roles",a,{direction:"vertical"})]),e("div",{class:"content-container"},[e(r,{onDeleted:o,onFailed:n})])])])}});export{x as default};
