import{d as k,v as f,af as y,e as o,cn as m,b as _,c as d,g as s,h as v,o as g,j as t,k as l,co as C,cp as B}from"./index-Bp1Bhxow.js";import{u as T}from"./usePageTitle-CccNdtFw.js";const S=k({__name:"BlocksCatalog",setup(h){const c=f(),a=y(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=v("p-layout-default");return g(),d(r,{class:"blocks-catalog"},{header:s(()=>[t(l(C))]),default:s(()=>[t(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{S as default};
//# sourceMappingURL=BlocksCatalog-BjVVosl_.js.map
