import{d as p,e as m,f as d,g as a,c as s,h as c,i as _,o as t,j as k,k as o,cg as f,v as i,ch as h,ci as y,F as B,a as g}from"./index-B5elPXvm.js";import{u as x}from"./usePageTitle-c6xxeh_y.js";const F=p({__name:"Blocks",setup(C){const n=m(),e=d(n.blockDocuments.getBlockDocumentsCount),l=a(()=>e.executed&&e.response==0),r=a(()=>e.executed);return x("Blocks"),(D,b)=>{const u=_("p-layout-default");return t(),s(u,{class:"blocks"},{header:c(()=>[k(o(f))]),default:c(()=>[r.value?(t(),i(B,{key:0},[l.value?(t(),s(o(h),{key:0})):(t(),s(o(y),{key:1,onDelete:o(e).refresh},null,8,["onDelete"]))],64)):g("",!0)]),_:1})}}});export{F as default};
//# sourceMappingURL=Blocks-D0v5pNSX.js.map
