@progress/kendo-gantt-vue-wrapper
Version:
Kendo UI Gantt wrapper for Vue.js
40 lines (26 loc) • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _KendoGantt = require('../KendoGantt');
var _KendoGantt2 = _interopRequireDefault(_KendoGantt);
var _KendoGanttColumn = require('../KendoGanttColumn');
var _KendoGanttColumn2 = _interopRequireDefault(_KendoGanttColumn);
var _KendoGanttView = require('../KendoGanttView');
var _KendoGanttView2 = _interopRequireDefault(_KendoGanttView);
var _KendoGanttToolbar = require('../KendoGanttToolbar');
var _KendoGanttToolbar2 = _interopRequireDefault(_KendoGanttToolbar);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
let KendoGanttInstaller = class {
static install(Vue) {
Vue.component(_KendoGantt2.default.name, _KendoGantt2.default);
Vue.component(_KendoGanttColumn2.default.name, _KendoGanttColumn2.default);
Vue.component(_KendoGanttView2.default.name, _KendoGanttView2.default);
Vue.component(_KendoGanttToolbar2.default.name, _KendoGanttToolbar2.default);
}
};
exports.default = KendoGanttInstaller;
// Automatic installation if Vue has been added to the global scope.
if (typeof window !== 'undefined' && window.Vue && window.Vue.use) {
window.Vue.use(KendoGanttInstaller);
}