import{M as p,U as a,R as l,O as t,V as i,N as u,Y as V,e as _,az as f,bp as y}from"./vendor-CsGITfgk.js";const b={key:0},B=p({__name:"order-comment-section",props:{disabled:{type:Boolean},readonly:{type:Boolean},comment:{default:""}},emits:["update:comment"],setup(s,{emit:m}){const o=y(s,"comment",m);return(e,n)=>{const r=a("VcTextarea"),d=a("VcWidget");return t(),l(d,{title:e.$t("common.titles.order_comment"),"prepend-icon":"document-text",size:"lg"},{default:i(()=>[e.readonly?(t(),u("p",b,V(e.comment),1)):(t(),l(r,{key:1,modelValue:_(o),"onUpdate:modelValue":n[0]||(n[0]=c=>f(o)?o.value=c:null),placeholder:e.$t("common.placeholders.enter_value"),disabled:e.disabled,"max-length":1e3,rows:4,counter:""},null,8,["modelValue","placeholder","disabled"]))]),_:1},8,["title"])}}});export{B as _};
//# sourceMappingURL=order-comment-section.vue_vue_type_script_setup_true_lang-CpQu58Uf.js.map
