import{z as r,h as e,N as l,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 g=r({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(l,{onDeleted:o,onFailed:n})])])])}});export{g as default};
