import { r as registerInstance, c as createEvent, h, H as Host } from './index-55faf181.js';

const dvnFieldInputCellSingleChoiceCss = "dvn-field-input-cell-single-choice{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}";

const DvnFieldInputCellSingleChoice = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.change = createEvent(this, "change", 7);
  }
  render() {
    const { field, value } = this;
    const { options = [] } = field;
    return (h(Host, null, h("dvn-select", { dataAdapter: field.dataAdapter, dataProvider: field.dataProvider, disabled: field.disabled, leaned: true, value: value, width: "100%", scale: "small" }, options.map(option => (h("dvn-select-option", { value: option.value }, option.label))))));
  }
};
DvnFieldInputCellSingleChoice.style = dvnFieldInputCellSingleChoiceCss;

export { DvnFieldInputCellSingleChoice as dvn_field_input_cell_single_choice };
