import { __decorate, __metadata } from "tslib";
import { LayoutPropertyDescription, LayoutPropertyName, LayoutPropertyType } from '@anglr/dynamic/layout-editor';
import { mapValuesToThis } from '@jscrpt/common';
/**
 * Text block model for properties editor
 */
export class TextBlockModel {
    //######################### constructor #########################
    constructor(value) {
        //######################### public properties #########################
        /**
         * @inheritdoc
         */
        this.text = null;
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Text'),
    LayoutPropertyDescription('Text to be displayed in text block'),
    LayoutPropertyType('inputString'),
    __metadata("design:type", Object)
], TextBlockModel.prototype, "text", void 0);
//# sourceMappingURL=textBlock.model.js.map