"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));

var _locale = require("../locale");

var defaultConfig = {
  getPrefixCls: function getPrefixCls(configPrefixCls, suffixCls, customizePrefixCls) {
    var _context;

    // 获取样式前缀方法
    if (customizePrefixCls) return customizePrefixCls;
    configPrefixCls = configPrefixCls || 'kd';
    return suffixCls ? (0, _concat.default)(_context = "".concat(configPrefixCls, "-")).call(_context, suffixCls) : configPrefixCls;
  },
  prefixCls: 'kd',
  locale: {
    getLangMsg: _locale.getLangMsg,
    getCompLangMsg: _locale.getCompLangMsg
  }
};
var _default = defaultConfig;
exports.default = _default;