import{r as e}from"./rolldown-runtime-DIIn1E2Q.js";import{A as t,F as n,Ht as r,Lt as i,O as a,R as o,S as s,b as c,et as l,j as u,rt as d,zt as f}from"./vendor-vue-core-IZuWV8u3.js";import{t as p}from"./src-B6n4nS3q.js";import{r as m}from"./widgetTypes-C7uVk06B.js";var h={key:0,class:`content-center-safe truncate`},g={class:`relative min-w-0 flex-1`},_=o({__name:`WidgetLayoutField`,props:{widget:{},rootClass:{}},setup(e){let o=m();return(e,m)=>(l(),u(`div`,{class:f(i(p)(`grid min-w-0 grid-cols-subgrid justify-between gap-1 text-node-component-slot-text`,e.rootClass))},[i(o)?t(``,!0):(l(),u(`div`,h,[e.widget.name?(l(),u(s,{key:0},[n(r(e.widget.label||e.widget.name),1)],64)):t(``,!0)])),a(`div`,g,[a(`div`,{class:f(i(p)(`min-w-0 cursor-default rounded-lg transition-all has-focus-visible:ring has-focus-visible:ring-component-node-widget-background-highlighted`,e.widget.borderStyle)),onPointerdown:m[0]||=c(()=>{},[`stop`]),onPointermove:m[1]||=c(()=>{},[`stop`]),onPointerup:m[2]||=c(()=>{},[`stop`])},[d(e.$slots,`default`)],34)])],2))}});export{_ as t};
//# sourceMappingURL=WidgetLayoutField-BkyPHU3x.js.map