"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_STYLE = void 0;
const field_1 = require("../../../../../client/field");
exports.DEFAULT_STYLE = {
    height: 'fit-content',
    width: '100%',
    color: 'inherit',
    backgroundColor: '#00000000',
    padding: '0',
    fontSize: '18px',
    // outlineColor: '#00000000',
    border: 'none',
    borderRadius: '0',
};
class Select extends field_1.Field {
    constructor($props, $system) {
        super($props, $system, $system.api.document.createElement('select'), {
            valueKey: 'value',
            defaultStyle: exports.DEFAULT_STYLE,
            defaultValue: '',
        });
        const { tabIndex } = $props;
        if (tabIndex !== undefined) {
            this.$element.tabIndex = tabIndex;
        }
    }
}
exports.default = Select;
//# sourceMappingURL=Component.js.map