import{d as b,g as y,ae as f,i as o,ci as m,h as _,j as d,c as g,o as C,k as s,l as t,p as l,cj as v,ck as B}from"./index-Cixz26l0.js";import{u as T}from"./usePageTitle-BPkBun_K.js";const S=b({__name:"BlocksCatalog",setup(h){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"),(x,e)=>{const r=d("p-layout-default");return C(),g(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-DHKOdpqy.js.map
