import{u as d}from"./BnJyr1eX.js";import{d as p,i as s,o as i,f as t,e as m,t as l,u as o,n as u}from"./DnBXlrVC.js";import"./DqVytocg.js";import"./Bf7bwUep.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(c){const e=c,{getComponentProps:r}=d(),{mdcAttrs:a,model:n}=r(e,{});return(x,y)=>(i(),s("div",{id:o(n).id,relative:"",class:u(["group",o(n).class])},[t("div",f,[t("div",v,l(`Unable to find component "${e.node.value.attrs.componentName}".`),1),Object.keys(o(a)).length?(i(),s("div",g)):m("",!0)]),t("div",{ref:e.contentRef},null,512)],10,_))}});export{B as default};
