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