import{d as c,c as i,e as t,f as a,s as f,g as o,k as p,B as u,n as s}from"./index-a0da86f0.js";const _={class:"field-label"},m={key:0,class:"required"},b={class:"table-multiselect-container"},y={class:"field-value"},v=c({__name:"TableMultiSelect",props:{df:{},record:{},canEdit:{type:Boolean},ctx:{}},setup(d){const n=d,r=i(()=>n.df.label_layout||"vertical");return(e,g)=>{var l;return s(),t("div",{class:u(["field-wrapper",`layout-${r.value}`])},[a("label",_,[f(o((l=e.ctx)!=null&&l.t?e.ctx.t(e.df.label||e.df.fieldname):e.df.label||e.df.fieldname)+" ",1),e.df.reqd?(s(),t("span",m,"*")):p("",!0)]),a("div",b,[a("span",y,o(e.record[e.df.fieldname]??"—"),1)])],2)}}}),B=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"}));export{B as _};
