import { __decorate, __extends } from "tslib";
import Vue from 'vue';
import Component from 'vue-class-component';
var ModulVue = /** @class */ (function (_super) {
    __extends(ModulVue, _super);
    function ModulVue() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ModulVue.prototype.getParent = function (test) {
        var p = this.$parent;
        while (p && !test(p)) {
            p = p.$parent;
        }
        return p;
    };
    ModulVue.prototype.as = function () {
        var result = this;
        return result;
    };
    ModulVue = __decorate([
        Component
    ], ModulVue);
    return ModulVue;
}(Vue));
export { ModulVue };
//# sourceMappingURL=vue.js.map