import { __decorate, __metadata } from "tslib";
import { LayoutPropertyName, LayoutPropertyDescription, LayoutPropertyType } from '@anglr/dynamic/layout-editor';
import { FormComponentBaseModel } from '@anglr/dynamic/form';
import { mapValuesToThis } from '@jscrpt/common';
/**
 * Checkbox model for properties editor
 */
export class CheckboxModel extends FormComponentBaseModel {
    //######################### constructor #########################
    constructor(value) {
        super(value);
        //######################### public properties #########################
        /**
         * @inheritdoc
         */
        this.label = null;
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Label'),
    LayoutPropertyDescription('Form label'),
    LayoutPropertyType('inputString'),
    __metadata("design:type", Object)
], CheckboxModel.prototype, "label", void 0);
//# sourceMappingURL=checkbox.model.js.map