import{r as e,h as s,H as t}from"./p-a0569a5f.js";import{A as l}from"./p-234c1f97.js";import"./p-eebad85b.js";let r=class{constructor(s){e(this,s)}render(){const{field:e}=this;if(e.sourceType===l.RawUrl)return s(t,null,s("dvn-image",{leaned:!0,bordered:!0,src:this.value,shape:e.shape}));let r=[];return e.sourceType===l.AttachmentObject?r=[this.value]:e.sourceType===l.AttachmentObjects&&(r=this.value),s(t,null,r.map((e=>s("dvn-image",{leaned:!0,bordered:!0,src:e.url}))))}};r.style=".sc-dvn-field-display-cell-attachment-h{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{r as dvn_field_display_cell_attachment}