import{z as r,h as t,N as c,x as a}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 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};
