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