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