import { __decorate, __metadata } from "tslib";
import { LayoutPropertyName, LayoutPropertyDescription, LayoutPropertyType } from '@anglr/dynamic/layout-editor';
import { mapValuesToThis } from '@jscrpt/common';
/**
 * Material expansion panel model for properties editor
 */
export class MaterialExpansionPanelModel {
    //######################### constructor #########################
    constructor(value) {
        //######################### public properties #########################
        /**
         * @inheritdoc
         */
        this.expanded = null;
        /**
         * @inheritdoc
         */
        this.title = null;
        /**
         * @inheritdoc
         */
        this.description = null;
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Expanded'),
    LayoutPropertyDescription('State of panel - visible or invisible'),
    LayoutPropertyType('inputBoolean'),
    __metadata("design:type", Object)
], MaterialExpansionPanelModel.prototype, "expanded", void 0);
__decorate([
    LayoutPropertyName('Title'),
    LayoutPropertyDescription('Text to be displayed as panel title'),
    LayoutPropertyType('inputString'),
    __metadata("design:type", Object)
], MaterialExpansionPanelModel.prototype, "title", void 0);
__decorate([
    LayoutPropertyName('Description'),
    LayoutPropertyDescription('Text to be displayed as description title'),
    LayoutPropertyType('inputString'),
    __metadata("design:type", Object)
], MaterialExpansionPanelModel.prototype, "description", void 0);
//# sourceMappingURL=expansionPanel.model.js.map