import { __decorate, __metadata } from "tslib";
import { LayoutPropertyName, LayoutPropertyDescription, LayoutPropertyType, LayoutPropertyValues } from '@anglr/dynamic/layout-editor';
import { FormFieldComponentBaseModel } from '@anglr/dynamic/form';
import { mapValuesToThis } from '@jscrpt/common';
export class MaterialFormFieldComponentBaseModel extends FormFieldComponentBaseModel {
    //######################### constructor #########################
    constructor(value) {
        super(value);
        /**
         * @inheritdoc
         */
        this.hint = null;
        /**
         * @inheritdoc
         */
        this.appearance = 'outline';
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Hint'),
    LayoutPropertyDescription('Input hint'),
    LayoutPropertyType('inputString'),
    __metadata("design:type", Object)
], MaterialFormFieldComponentBaseModel.prototype, "hint", void 0);
__decorate([
    LayoutPropertyName('Appereance'),
    LayoutPropertyDescription('Input appereance'),
    LayoutPropertyType('selectValue'),
    LayoutPropertyValues(['fill', 'outline']),
    __metadata("design:type", String)
], MaterialFormFieldComponentBaseModel.prototype, "appearance", void 0);
//# sourceMappingURL=materialFormFieldComponentBase.model.js.map