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