"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const field_1 = require("../../../../../client/field");
class Checkbox extends field_1.Field {
    constructor($props, $system) {
        const DEFAULT_STYLE = $system.style['checkbox'];
        super($props, $system, $system.api.document.createElement('input'), {
            valueKey: 'checked',
            defaultValue: false,
            defaultStyle: DEFAULT_STYLE,
        });
        this.$element.name = 'checkbox';
        this.$element.value = 'checkbox';
        this.$element.type = 'checkbox';
    }
}
exports.default = Checkbox;
//# sourceMappingURL=Component.js.map