class t{constructor(t,s){this.labelFieldId=t,this.labelFieldIds=t.split("+"),this.valueFieldId=s}label(t){return this.labelFieldIds.length>0?this.labelFieldIds.map((s=>t[s])).join(" "):t[this.labelFieldId]}value(t){return t[this.valueFieldId]}}export{t as D}