"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_STYLE = void 0;
const field_1 = require("../../../../../client/field");
exports.DEFAULT_STYLE = {
    display: 'block',
    height: '100%',
    width: '100%',
    color: 'inherit',
    margin: '0',
    backgroundColor: '#00000000',
    padding: '0',
    // outline: 'none',
};
class Checkbox extends field_1.Field {
    constructor($props, $system) {
        super($props, $system, $system.api.document.createElement('input'), {
            valueKey: 'checked',
            defaultValue: false,
            defaultStyle: exports.DEFAULT_STYLE,
        });
        this.$element.name = 'checkbox';
        this.$element.value = 'checkbox';
        this.$element.type = 'checkbox';
    }
}
exports.default = Checkbox;
//# sourceMappingURL=Component.js.map