import{d as _,a as p,c as a,r as d,o as t,b as c,w as l,i as k,e,a3 as f,g as i,a4 as b,a5 as y,F as D,f as h,a6 as x}from"./index.a93ec448.js";const $=_({__name:"Blocks",setup(B){const o=p(x.getBlockDocuments),n=a(()=>{var s;return(s=o.response)!=null?s:[]}),u=a(()=>o.executed&&n.value.length==0),r=a(()=>o.executed);return(s,g)=>{const m=d("p-layout-default");return t(),c(m,{class:"blocks"},{header:l(()=>[k(e(f))]),default:l(()=>[e(r)?(t(),i(D,{key:0},[e(u)?(t(),c(e(b),{key:0})):(t(),c(e(y),{key:1,"block-documents":e(n),onDelete:e(o).refresh},null,8,["block-documents","onDelete"]))],64)):h("",!0)]),_:1})}}});export{$ as default};
