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