import{d as k,aE as y,ae as f,e as o,cu as m,t as _,c as d,f as t,g as v,o as g,h as s,i as l,cv as C,cw as B}from"./index-BOEdKJ1D.js";import{u as T}from"./usePageTitle-BkurcLK2.js";const S=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=v("p-layout-default");return g(),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{S as default};
//# sourceMappingURL=BlocksCatalog--64MJdrz.js.map
