import{a as c}from"./AppLayout.vue_vue_type_script_setup_true_lang-CteAxl0C.js";import{d as m,h as s,o as r,g as a,u as i,i as u,w as n,j as t,S as f,l as _,F as d,p as h,k as x}from"./app-Cb9hmj6k.js";import"./AppLogoIcon.vue_vue_type_script_setup_true_lang-DKWl2XLX.js";import"./index-hboZUdbT.js";import"./RovingFocusGroup-CP1IPgEn.js";import"./index-bRFR14ax.js";const b={class:"p-4"},g={class:"flex justify-between items-center mb-6"},y={class:"space-y-2"},j=m({__name:"Index",props:{categories:{}},setup(k){const l=[{title:"Панель управления",href:"/dashboard"},{title:"Документация",href:"/documentation"},{title:"Категории",href:""}];return(p,e)=>(r(),s(d,null,[a(i(u),{title:"Категории"}),a(c,{breadcrumbs:l},{default:n(()=>[t("div",b,[t("div",g,[e[1]||(e[1]=t("h1",{class:"text-2xl font-bold"},"Категории",-1)),a(i(f),{href:"/documentation/categories/create",class:"bg-primary text-white px-4 py-2 rounded"},{default:n(()=>e[0]||(e[0]=[_(" + Добавить ")])),_:1,__:[0]})]),t("div",y,[(r(!0),s(d,null,h(p.categories,o=>(r(),s("div",{key:o.id,class:"p-4 border rounded"},x(o.name),1))),128))])])]),_:1})],64))}});export{j as default};
