import{d as m,M as p,f as d,h as s,k as _,c as a,l as c,o,n as k,u as t,bn as f,m as i,bo as B,bp as b,B as y,a as h}from"./index-gULJbqdd.js";import{u as x}from"./usePageTitle-HrbxxOEb.js";const w=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 o(),a(r,{class:"blocks"},{header:c(()=>[k(t(f))]),default:c(()=>[u.value?(o(),i(y,{key:0},[l.value?(o(),a(t(B),{key:0})):(o(),a(t(b),{key:1,onDelete:t(e).refresh},null,8,["onDelete"]))],64)):h("",!0)]),_:1})}}});export{w as default};
