import{r as e,h as s,H as t}from"./p-1ea36ff3.js";import{A as r}from"./p-234c1f97.js";import"./p-eebad85b.js";let a=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}));let a=[];return e.sourceType===r.AttachmentObject?a=[this.value]:e.sourceType===r.AttachmentObjects&&(a=this.value),s(t,null,a.map((e=>s("dvn-image",{leaned:!0,bordered:!0,src:e.url,scale:"small"}))))}};a.style=".sc-dvn-field-display-attachment-h{display:block;padding:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{a as dvn_field_display_attachment}