@progress/kendo-diagram-vue-wrapper
Version:
Kendo UI Diagram wrapper for Vue.js
35 lines (23 loc) • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _KendoDiagram = require('../KendoDiagram');
var _KendoDiagram2 = _interopRequireDefault(_KendoDiagram);
var _KendoDiagramConnection = require('../KendoDiagramConnection');
var _KendoDiagramConnection2 = _interopRequireDefault(_KendoDiagramConnection);
var _KendoDiagramShape = require('../KendoDiagramShape');
var _KendoDiagramShape2 = _interopRequireDefault(_KendoDiagramShape);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
let KendoDiagramInstaller = class {
static install(Vue) {
Vue.component(_KendoDiagram2.default.name, _KendoDiagram2.default);
Vue.component(_KendoDiagramConnection2.default.name, _KendoDiagramConnection2.default);
Vue.component(_KendoDiagramShape2.default.name, _KendoDiagramShape2.default);
}
};
exports.default = KendoDiagramInstaller;
// Automatic installation if Vue has been added to the global scope.
if (typeof window !== 'undefined' && window.Vue && window.Vue.use) {
window.Vue.use(KendoDiagramInstaller);
}