import{i as e,n as t}from"./rolldown-runtime-BKYq3fBv.js";import{$n as n,Cr as r,Mr as i,Nn as a,Qn as o,Rr as s,Un as c,Xn as l,ai as u,ar as d,at as f,er as p,hr as m,jr as h,m as g,mr as _,ot as v,p as y,si as b,sr as x,ui as S}from"./vendor-primevue-Cg-HmKZY.js";import{n as C,t as w}from"./tailwindUtil-F1kyO01s.js";import{i as T,r as E}from"./widgetTypes-B2p76Yu_.js";import{o as D,r as O,s as k}from"./widgetPropFilter-BN2p2qia.js";import{n as A,t as j}from"./layout-76mT7BZg.js";var M,N,P=t((()=>{a(),f(),y(),E(),w(),k(),A(),M=[`for`],N=x({__name:`WidgetTextarea`,props:_({widget:{},placeholder:{default:``}},{modelValue:{default:``},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=i(e,`modelValue`),a=T(),f=l(()=>D(e.widget.options,O)),_=l(()=>e.widget.label||e.widget.name),y=h();return(e,i)=>(r(),o(u(v),{variant:`in`,unstyled:u(a),class:b(u(C)(`rounded-lg space-y-1 focus-within:ring focus-within:ring-component-node-widget-background-highlighted transition-all`,e.widget.borderStyle))},{default:s(()=>[d(u(g),m(f.value,{id:u(y),modelValue:t.value,"onUpdate:modelValue":i[0]||=e=>t.value=e,class:u(C)(u(j),`size-full text-xs resize-none`),placeholder:e.placeholder,readonly:e.widget.options?.read_only,disabled:e.widget.options?.read_only,fluid:``,"data-capture-wheel":`true`,onPointerdownCapture:i[1]||=c(()=>{},[`stop`]),onPointermoveCapture:i[2]||=c(()=>{},[`stop`]),onPointerupCapture:i[3]||=c(()=>{},[`stop`]),onContextmenuCapture:i[4]||=c(()=>{},[`stop`])}),null,16,[`id`,`modelValue`,`class`,`placeholder`,`readonly`,`disabled`]),u(a)?n(``,!0):(r(),p(`label`,{key:0,for:u(y)},S(_.value),9,M))]),_:1},8,[`unstyled`,`class`]))}})})),F;t((()=>{P(),P(),F=N}))();export{F as default};
//# sourceMappingURL=WidgetTextarea-Iz1Cne09.js.map