import{i as e,n as t}from"./rolldown-runtime-ConPGZeh.js";import{$n as n,Gn as r,Nn as i,Sr as a,Tr as o,Un as s,Zn as c,dr as l,er as u,ii as d,li as f,oi as p,or as m,rr as h}from"./vendor-primevue-D1-E3-0M.js";import{n as g,t as _}from"./tailwindUtil-ByInBvan.js";var v,y,b,x,S=t((()=>{i(),_(),v={class:`grid grid-cols-subgrid min-w-0 justify-between gap-1 text-node-component-slot-text`},y={key:0,class:`truncate content-center-safe`},b={class:`relative min-w-0 flex-1`},x=m({__name:`WidgetLayoutField`,props:{widget:{}},setup(e){let t=l(`hideLayoutField`,!1);return(e,i)=>(a(),u(`div`,v,[d(t)?n(``,!0):(a(),u(`div`,y,[e.widget.name?(a(),u(r,{key:0},[h(f(e.widget.label||e.widget.name),1)],64)):n(``,!0)])),c(`div`,b,[c(`div`,{class:p(d(g)(`cursor-default min-w-0 rounded-lg focus-within:ring focus-within:ring-component-node-widget-background-highlighted transition-all`,e.widget.borderStyle)),onPointerdown:i[0]||=s(()=>{},[`stop`]),onPointermove:i[1]||=s(()=>{},[`stop`]),onPointerup:i[2]||=s(()=>{},[`stop`])},[o(e.$slots,`default`)],34)])]))}})})),C,w=t((()=>{S(),S(),C=x}));export{w as n,C as t};
//# sourceMappingURL=WidgetLayoutField-1GF_VsrI.js.map