import{f as i}from"./vendor-primevue-RJTR6wkG.js";import{c as d}from"./index-xLwXl4ov.js";import{f as p,I as u}from"./widgetPropFilter-CygYoMQt.js";import{W as n}from"./index-wE4B8JeX.js";import{_ as f}from"./WidgetLayoutField.vue_vue_type_script_setup_true_lang-C1YhXoEw.js";import{bq as c,cB as g,cC as w,E as V,p as P,d as _,q as x,A as C,br as e,m as b}from"./vendor-other-yzRpIrj2.js";import"./vendor-vue-ByIfjd1d.js";import"./vendor-xterm-CWYFmgbN.js";import"./vendor-three-b7sMVVQK.js";import"./vendor-tiptap-DcddbIvp.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(()=>[C(e(i),b({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-D-DpavVn.js.map
