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