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