import{d as k,aF as y,ae as f,f as o,cx as m,t as _,c as d,g as t,h as g,o as v,j as s,k as l,cy as C,cz as B}from"./index-BqDjVCF_.js";import{u as T}from"./usePageTitle-CZh_IXm2.js";const j=k({__name:"BlocksCatalog",setup(x){const c=y(),a=f(null),p=o(()=>a.value?[a.value]:[]),{filter:n}=m({blockSchemas:{blockCapabilities:p}}),i=_(c.blockTypes.getBlockTypes,[n]),u=o(()=>i.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":u.value},null,8,["capability","block-types"])]),_:1})}}});export{j as default};
//# sourceMappingURL=BlocksCatalog-Cx1IQNJD.js.map
