import{d as p,v as m,b as d,e as a,c as s,g as c,h as k,o as t,j as _,k as o,ck as f,p as i,cl as y,cm as B,F as h,a as v}from"./index-Bp1Bhxow.js";import{u as x}from"./usePageTitle-CccNdtFw.js";const N=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"),(b,g)=>{const u=k("p-layout-default");return t(),s(u,{class:"blocks"},{header:c(()=>[_(o(f))]),default:c(()=>[r.value?(t(),i(h,{key:0},[l.value?(t(),s(o(y),{key:0})):(t(),s(o(B),{key:1,onDelete:o(e).refresh},null,8,["onDelete"]))],64)):v("",!0)]),_:1})}}});export{N as default};
//# sourceMappingURL=Blocks-Df7ZOzmt.js.map
