import{d as b,k as m,af as f,h as o,cm as y,t as _,c as d,i as t,j as v,o as C,l as s,m as l,cn as g,co as B}from"./index-7qezL2zM.js";import{u as T}from"./usePageTitle-k72s0--o.js";const j=b({__name:"BlocksCatalog",setup(h){const c=m(),a=f(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"),(x,e)=>{const r=v("p-layout-default");return C(),d(r,{class:"blocks-catalog"},{header:t(()=>[s(l(g))]),default:t(()=>[s(l(B),{capability:a.value,"onUpdate:capability":e[0]||(e[0]=k=>a.value=k),"block-types":u.value},null,8,["capability","block-types"])]),_:1})}}});export{j as default};
//# sourceMappingURL=BlocksCatalog-B0YObiSh.js.map
