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