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';
/**
 * Material checkbox model for properties editor
 */
export class MaterialCheckboxModel 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)
], MaterialCheckboxModel.prototype, "label", void 0);
//# sourceMappingURL=checkbox.model.js.map