import{e as i}from"./vendor-primevue-CyfaM-iT.js";import{c as d}from"./index-ClJ8cazm.js";import{f as p,I as u}from"./widgetPropFilter-CygYoMQt.js";import{W as n}from"./index-CFm9hQtm.js";import{_ as f}from"./WidgetLayoutField.vue_vue_type_script_setup_true_lang-Co1rufOP.js";import{bq as c,cF as g,cG as w,E as V,j as P,d as _,k as x,z as b,br as e,m as C}from"./vendor-other-Cmk2i5tl.js";import"./vendor-vue-D63Y1BGo.js";import"./vendor-xterm-CWYFmgbN.js";import"./vendor-three-ClVfPtHN.js";import"./vendor-tiptap-B-QhEHeV.js";const N=c({__name:"WidgetInputText",props:g({widget:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,a=w(t,"modelValue"),r=V(()=>p(l.widget.options,u));return(o,s)=>(_(),P(f,{widget:o.widget},{default:x(()=>[b(e(i),C({modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=m=>a.value=m)},r.value,{class:e(d)(e(n),"w-full text-xs py-2 px-4"),"aria-label":o.widget.name,size:"small",pt:{root:"truncate min-w-[4ch]"}}),null,16,["modelValue","class","aria-label"])]),_:1},8,["widget"]))}});export{N as default};
//# sourceMappingURL=WidgetInputText-BgO0la-x.js.map
