import{r as e,h as l,H as r}from"./p-1ea36ff3.js";let t=class{constructor(l){e(this,l)}render(){const{field:e}=this;return l(r,null,(this.value||[]).map((r=>{const t=r[e.nameOfOtherCollectionInRelationCollection],s=e.imageField?t[e.imageField]:void 0,i=e.titleField?t[e.titleField].split(" ").map((e=>e[0])).join(""):void 0;return l("abbr",{title:t[e.titleField]},l("dvn-image",{bordered:!0,leanedVertically:!0,src:s,text:i}))})))}};t.style=".sc-dvn-field-display-cell-relation-reference-h{display:-ms-flexbox;display:flex;overflow:auto}";export{t as dvn_field_display_cell_relation_reference}