'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-7cdf1df1.js');

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

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

exports.dvn_field_input_cell_single_choice = DvnFieldInputCellSingleChoice;
