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