winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
22 lines (21 loc) • 777 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var skeleton = require("./skeleton.js");
var line = require("./line.js");
var shape = require("./shape.js");
const Skeleton = Object.assign(skeleton, {
Line: line,
Shape: shape,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + skeleton.name, skeleton);
app.component(componentPrefix + line.name, line);
app.component(componentPrefix + shape.name, shape);
}
});
exports.SkeletonLine = line;
exports.SkeletonShape = shape;
exports["default"] = Skeleton;