import{u as d}from"./CIaRsw82.js";import{d as p,o as s,e as c,a as t,t as m,b as o,f as l,n as u}from"./BvNnk7SS.js";import"./9QyWfnsF.js";import"./eQq4h1B_.js";const _=["id"],f={contenteditable:"false",mt2:"",rounded:"","bg-active":"","px1.5":""},v={py1:"","text-xs":"","text-red":""},g={key:0,flex:"","items-center":"",gap2:""},B=p({__name:"UnknownComponentEditor",props:{contentRef:{type:[String,Object,Function]},view:{},getPos:{type:Function},setAttrs:{type:Function},node:{},selected:{},decorations:{},innerDecorations:{}},setup(i){const e=i,{getComponentProps:r}=d(),{mdcAttrs:a,model:n}=r(e,{});return(x,y)=>(s(),c("div",{id:o(n).id,relative:"",class:u(["group",o(n).class])},[t("div",f,[t("div",v,m(`Unable to find component "${e.node.value.attrs.componentName}".`),1),Object.keys(o(a)).length?(s(),c("div",g)):l("",!0)]),t("div",{ref:e.contentRef},null,512)],10,_))}});export{B as default};
