import{C as p,aW as i,N as a,K as l,E as t,O as u,D as _,R as V,u as f,at as y}from"./vendor-BGtMsOoo.js";const g={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=i(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:u(()=>[e.readonly?(t(),_("p",g,V(e.comment),1)):(t(),l(r,{key:1,modelValue:f(o),"onUpdate:modelValue":n[0]||(n[0]=c=>y(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-CMuAvjU8.js.map
