import { __decorate, __extends } from "tslib";
import Component from 'vue-class-component';
import { Prop } from 'vue-property-decorator';
import { ModulVue } from '../../utils/vue/vue';
import { RICH_TEXT_NAME } from '../component-names';
import WithRender from './rich-text.html?style=./rich-text.scss';
var MRichText = /** @class */ (function (_super) {
    __extends(MRichText, _super);
    function MRichText() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    __decorate([
        Prop({ default: '' })
    ], MRichText.prototype, "value", void 0);
    MRichText = __decorate([
        WithRender,
        Component
    ], MRichText);
    return MRichText;
}(ModulVue));
export { MRichText };
var RichTextPlugin = {
    install: function (v) {
        v.component(RICH_TEXT_NAME, MRichText);
    }
};
export default RichTextPlugin;
//# sourceMappingURL=rich-text.js.map