import{r as i,h as l,H as e}from"./p-ec7718e6.js";const s=class{constructor(l){i(this,l),this.value=[]}render(){var i;const s=((null===(i=this.meta)||void 0===i?void 0:i.lines)||0)-this.value.length;return"tag-cloud"===this.field.inputType?l(e,{style:{height:this.fixHeight?20*(this.field.options||[]).length+"px":void 0}},this.value.map((i=>l("dvn-button",{leaned:!0,scale:"small",shape:"rounded",view:"outline",tagMode:!0},this.field.getOptionOfValue(i).label))),0===this.value.length&&"-"):l(e,{style:{height:this.fixHeight?20*(this.field.options||[]).length+"px":void 0}},l("ul",null,this.value.map((i=>l("li",null,this.field.getOptionOfValue(i).label))),0===this.value.length&&"-",s>0&&new Array(s).fill(0).map((()=>l("li",null)))))}};s.style=".sc-dvn-field-display-multiple-choice-h{display:block}.sc-dvn-field-display-multiple-choice-h ul.sc-dvn-field-display-multiple-choice{margin:0;padding-left:0}.sc-dvn-field-display-multiple-choice-h ul.sc-dvn-field-display-multiple-choice li.sc-dvn-field-display-multiple-choice{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-dvn-field-display-multiple-choice-h dvn-button.sc-dvn-field-display-multiple-choice{margin-right:4px}";export{s as dvn_field_display_multiple_choice}