import{d as s,A as t,J as c,_ as r,P as i,O as f,B as u,j as m,am as b,H as v,c as x,g as l}from"./index-DOFLUERq.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";const g={class:"field-label"},_={key:0,class:"required"},p=s({__name:"LongText",props:{df:{},record:{},canEdit:{type:Boolean},ctx:{}},setup(e){const o=e,d=x(()=>o.df.label_layout||"vertical");return(N,a)=>(l(),t("div",{class:v(["field-wrapper",`layout-${d.value}`])},[c("label",g,[r(i(e.ctx.t(e.df.label||e.df.fieldname))+" ",1),e.df.reqd?(l(),t("span",_,"*")):f("",!0)]),u(m(b),{value:e.record[e.df.fieldname],"onUpdate:value":a[0]||(a[0]=n=>e.record[e.df.fieldname]=n),type:"textarea",rows:6,placeholder:"",disabled:!e.canEdit},null,8,["value","disabled"])],2))}}),B=y(p,[["__scopeId","data-v-702319e4"]]),j=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}));export{j as _};
