import{z as r,h as e,N as c,x as t}from"./entry.30e55a5e.js";import"./components.client.df015f1b.js";import{b as l}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=s=>{t().success(`The user ${s.name} was successfully deleted.`)},o=s=>{t().warning(s.message)};return()=>e("div",[e("h1",{class:"title no-border mb-3"},[e("i",{class:"fa fa-user me-1"}),"User",e("span",{class:"sub-title ms-1"},["Management"])]),e("div",{class:"content-wrapper"},[e("div",{class:"content-sidebar flex-column"},[l("/admin/users",a,{direction:"vertical"})]),e("div",{class:"content-container"},[e(c,{onDeleted:n,onFailed:o})])])])}});export{h as default};
