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