import{d as m,g as p,t as d,i as a,c as s,j as c,k,o as t,l as _,m as o,ck as f,y as i,cl as y,cm as B,F as b,a as h}from"./index-DgpKcZLs.js";import{u as x}from"./usePageTitle-CgS480GG.js";const N=m({__name:"Blocks",setup(C){const n=p(),e=d(n.blockDocuments.getBlockDocumentsCount),l=a(()=>e.executed&&e.response==0),r=a(()=>e.executed);return x("Blocks"),(g,D)=>{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(y),{key:0})):(t(),s(o(B),{key:1,onDelete:o(e).refresh},null,8,["onDelete"]))],64)):h("",!0)]),_:1})}}});export{N as default};
//# sourceMappingURL=Blocks-BuL0pPBt.js.map
