import{i as e,n as t}from"./rolldown-runtime-ConPGZeh.js";import{Ar as n,Lr as r,Nn as i,Qn as a,Sr as o,Un as s,Xn as c,Zn as l,at as u,ii as d,ir as f,jr as p,li as m,m as h,mr as g,oi as _,or as v,ot as y,p as b,pr as x}from"./vendor-primevue-D1-E3-0M.js";import{n as S,t as C}from"./tailwindUtil-ByInBvan.js";import{o as w,r as T,s as E}from"./widgetPropFilter-XgiARzPo.js";import{n as D,t as O}from"./layout-BXCYvFpf.js";var k,A,j=t((()=>{i(),u(),b(),C(),E(),D(),k=[`for`],A=v({__name:`WidgetTextarea`,props:x({widget:{},placeholder:{default:``}},{modelValue:{default:``},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=p(e,`modelValue`),i=c(()=>w(e.widget.options,T)),u=c(()=>e.widget.label||e.widget.name),v=n();return(e,n)=>(o(),a(d(y),{variant:`in`,class:_(d(S)(`rounded-lg space-y-1 focus-within:ring focus-within:ring-component-node-widget-background-highlighted transition-all`,e.widget.borderStyle))},{default:r(()=>[f(d(h),g(i.value,{id:d(v),modelValue:t.value,"onUpdate:modelValue":n[0]||=e=>t.value=e,class:d(S)(d(O),`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:n[1]||=s(()=>{},[`stop`]),onPointermoveCapture:n[2]||=s(()=>{},[`stop`]),onPointerupCapture:n[3]||=s(()=>{},[`stop`]),onContextmenuCapture:n[4]||=s(()=>{},[`stop`])}),null,16,[`id`,`modelValue`,`class`,`placeholder`,`readonly`,`disabled`]),l(`label`,{for:d(v)},m(u.value),9,k)]),_:1},8,[`class`]))}})})),M;t((()=>{j(),j(),M=A}))();export{M as default};
//# sourceMappingURL=WidgetTextarea-CmblwIJZ.js.map