winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
22 lines (21 loc) • 787 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var select = require("./select.js");
var option = require("./option.js");
var optgroup = require("./optgroup.js");
const Select = Object.assign(select, {
Option: option,
OptGroup: optgroup,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + select.name, select);
app.component(componentPrefix + option.name, option);
app.component(componentPrefix + optgroup.name, optgroup);
}
});
exports.Option = option;
exports.Optgroup = optgroup;
exports["default"] = Select;