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