'use strict';

exports.__esModule = true;
exports.getKyligenceConfiguration = getKyligenceConfiguration;
function getKyligenceConfiguration(opts) {
  var inputConfigs = {
    ElInput: opts['el-input'],
    ElCascader: opts['el-cascader'],
    ElPicker: opts['el-picker'],
    ElInputNumber: opts['el-input-number'],
    ElSelect: opts['el-select']
  };

  if (opts['input']) {
    for (var componentName in inputConfigs) {
      inputConfigs[componentName] = {};
      for (var optKey in opts['input']) {
        inputConfigs[componentName][optKey] = opts['input'][optKey];
      }
    }
  }

  return Object.assign({}, inputConfigs);
}