import{z as l,h as t,N as c,x as s}from"./entry.83e061d6.js";import"./components.client.581405d2.js";import{b as r}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 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};
