import{d as k,f,af as m,i as o,cm as y,t as _,c as d,j as t,k as C,o as v,l as s,m as l,cn as g,co as B}from"./index-CcVNxLw9.js";import{u as T}from"./usePageTitle-B0-KYjWV.js";const S=k({__name:"BlocksCatalog",setup(x){const c=f(),a=m(null),p=o(()=>a.value?[a.value]:[]),{filter:n}=y({blockSchemas:{blockCapabilities:p}}),i=_(c.blockTypes.getBlockTypes,[n]),u=o(()=>i.response??[]);return T("Blocks Catalog"),(h,e)=>{const r=C("p-layout-default");return v(),d(r,{class:"blocks-catalog"},{header:t(()=>[s(l(g))]),default:t(()=>[s(l(B),{capability:a.value,"onUpdate:capability":e[0]||(e[0]=b=>a.value=b),"block-types":u.value},null,8,["capability","block-types"])]),_:1})}}});export{S as default};
//# sourceMappingURL=BlocksCatalog-DLkskyKt.js.map
