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