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