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