import{K as p,b2 as i,S as a,P as l,M as t,T as u,L as _,W as V,b as f,az as y}from"./vendor-bSWkQivH.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=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",b,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-Dotym-7w.js.map
