import { __decorate, __metadata } from "tslib";
import { LayoutPropertyDescription, LayoutPropertyName, LayoutPropertyType } from '@anglr/dynamic/layout-editor';
import { mapValuesToThis } from '@jscrpt/common';
/**
 * If block model for properties editor
 */
export class IfBlockModel {
    //######################### constructor #########################
    constructor(value) {
        /**
         * @inheritdoc
         */
        this.condition = true;
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Condition'),
    LayoutPropertyDescription('Initial value of condition used for displaying content of if block'),
    LayoutPropertyType('inputBoolean'),
    __metadata("design:type", Object)
], IfBlockModel.prototype, "condition", void 0);
//# sourceMappingURL=ifBlock.model.js.map