import{i as e,n as t}from"./rolldown-runtime-BKYq3fBv.js";import{$n as n,Cr as r,Er as i,Gn as a,Nn as o,Un as s,Zn as c,ai as l,er as u,ir as d,si as f,sr as p,ui as m}from"./vendor-primevue-Cg-HmKZY.js";import{n as h,t as g}from"./tailwindUtil-F1kyO01s.js";import{i as _,r as v}from"./widgetTypes-B2p76Yu_.js";var y,b,x,S,C=t((()=>{o(),v(),g(),y={class:`grid grid-cols-subgrid min-w-0 justify-between gap-1 text-node-component-slot-text`},b={key:0,class:`truncate content-center-safe`},x={class:`relative min-w-0 flex-1`},S=p({__name:`WidgetLayoutField`,props:{widget:{}},setup(e){let t=_();return(e,o)=>(r(),u(`div`,y,[l(t)?n(``,!0):(r(),u(`div`,b,[e.widget.name?(r(),u(a,{key:0},[d(m(e.widget.label||e.widget.name),1)],64)):n(``,!0)])),c(`div`,x,[c(`div`,{class:f(l(h)(`cursor-default min-w-0 rounded-lg focus-within:ring focus-within:ring-component-node-widget-background-highlighted transition-all`,e.widget.borderStyle)),onPointerdown:o[0]||=s(()=>{},[`stop`]),onPointermove:o[1]||=s(()=>{},[`stop`]),onPointerup:o[2]||=s(()=>{},[`stop`])},[i(e.$slots,`default`)],34)])]))}})})),w,T=t((()=>{C(),C(),w=S}));export{T as n,w as t};
//# sourceMappingURL=WidgetLayoutField-Cnd0sCOy.js.map