winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
18 lines (17 loc) • 639 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var timeline = require("./timeline.js");
var item = require("./item.js");
const Timeline = Object.assign(timeline, {
Item: item,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + timeline.name, timeline);
app.component(componentPrefix + item.name, item);
}
});
exports.TimelineItem = item;
exports["default"] = Timeline;