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