UNPKG

@progress/kendo-treelist-vue-wrapper

Version:
30 lines (20 loc) 900 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _KendoTreeList = require('../KendoTreeList'); var _KendoTreeList2 = _interopRequireDefault(_KendoTreeList); var _KendoTreeListColumn = require('../KendoTreeListColumn'); var _KendoTreeListColumn2 = _interopRequireDefault(_KendoTreeListColumn); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } let KendoTreeListInstaller = class { static install(Vue) { Vue.component(_KendoTreeList2.default.name, _KendoTreeList2.default); Vue.component(_KendoTreeListColumn2.default.name, _KendoTreeListColumn2.default); } }; exports.default = KendoTreeListInstaller; // Automatic installation if Vue has been added to the global scope. if (typeof window !== 'undefined' && window.Vue && window.Vue.use) { window.Vue.use(KendoTreeListInstaller); }