import{r as e,h as s,H as l}from"./p-cb5076d4.js";const i=class{constructor(s){e(this,s)}render(){const e=this.field.getOptionOfValue(this.value);return s(l,{class:{"tag-wrapper":!!e.tint}},e.tint?s("dvn-button",{leaned:!0,scale:"small",shape:"rounded",tint:e.tint,view:"ghost",tagMode:!0},e.label):e.label)}};i.style=".sc-dvn-field-display-cell-single-choice-h{display:block;height:32px;padding:6px}.tag-wrapper.sc-dvn-field-display-cell-single-choice-h{padding:4px 6px}.sc-dvn-field-display-cell-single-choice-h:not(.tag-wrapper){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{i as dvn_field_display_cell_single_choice}