import{defineComponent as d,mergeModels as s,useModel as n,computed as u,openBlock as f,createElementBlock as g,createVNode as m,unref as i,mergeProps as w,withModifiers as r}from"vue";import P from"primevue/textarea";import{c as C,L as V}from"./index-D-xsHxvj.js";import{f as v,I as b}from"./widgetPropFilter-CygYoMQt.js";import{W as y}from"./index-DYBlvKDt.js";import"@primevue/themes";import"@primevue/themes/aura";import"./vendor-other-CIK4VdqL.js";import"./vendor-vue-DcSPwzWW.js";import"primevue/config";import"primevue/confirmationservice";import"primevue/toastservice";import"primevue/tooltip";import"primevue/button";import"vue-i18n";import"primevue/message";import"primevue/skeleton";import"primevue/multiselect";import"primevue/inputtext";import"primevue/select";import"primevue/iconfield";import"primevue/inputicon";import"primevue/checkbox";import"primevue/divider";import"primevue/scrollpanel";import"primevue/usetoast";import"primevue/card";import"primevue/listbox";import"primevue/progressbar";import"primevue/floatlabel";import"@primevue/forms";import"@primevue/forms/resolvers/zod";import"primevue/password";import"primevue/progressspinner";import"primevue/tag";import"primevue/inputnumber";import"primevue/tabpanels";import"primevue/tabs";import"primevue/badge";import"primevue/chip";import"primevue/tabpanel";import"primevue/toggleswitch";import"primevue/colorpicker";import"primevue/radiobutton";import"primevue/knob";import"primevue/slider";import"primevue/panel";import"primevue/tabmenu";import"primevue/popover";import"primevue/tab";import"primevue/tablist";import"primevue";import"primevue/autocomplete";import"primevue/dropdown";import"./vendor-xterm-DV1MVhAx.js";import"./vendor-three-zdhtZbSm.js";import"primevue/galleria";import"primevue/contextmenu";import"primevue/tree";import"primevue/toolbar";import"primevue/selectbutton";import"primevue/dialog";import"primevue/confirmpopup";import"primevue/useconfirm";import"primevue/confirmdialog";import"./vendor-tiptap-CviL3hnV.js";import"primevue/blockui";const M={class:"widget-expands relative"},Ro=d({__name:"WidgetTextarea",props:s({widget:{},placeholder:{default:""}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const p=n(e,"modelValue"),l=u(()=>v(e.widget.options,b));return(t,o)=>(f(),g("div",M,[m(i(P),w({modelValue:p.value,"onUpdate:modelValue":o[0]||(o[0]=a=>p.value=a)},l.value,{class:i(C)(i(y),"size-full text-xs lod-toggle resize-none"),placeholder:t.placeholder||t.widget.name||"","aria-label":t.widget.name,readonly:t.widget.options?.read_only,disabled:t.widget.options?.read_only,fluid:"","data-capture-wheel":"true",onPointerdownCapture:o[1]||(o[1]=r(()=>{},["stop"])),onPointermoveCapture:o[2]||(o[2]=r(()=>{},["stop"])),onPointerupCapture:o[3]||(o[3]=r(()=>{},["stop"])),onContextmenuCapture:o[4]||(o[4]=r(()=>{},["stop"]))}),null,16,["modelValue","class","placeholder","aria-label","readonly","disabled"]),m(V)]))}});export{Ro as default};
//# sourceMappingURL=WidgetTextarea-BI0AH77T.js.map
