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