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