vxe-table 3.8.7-beta.5 → 3.8.7-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.umd.js CHANGED
@@ -11449,7 +11449,7 @@ var es_array_concat = __webpack_require__(8706);
11449
11449
 
11450
11450
 
11451
11451
  function getLog(message, params) {
11452
- return "[vxe-table v".concat("3.8.7-beta.5", "] ").concat(conf.i18n(message, params));
11452
+ return "[vxe-table v".concat("3.8.7-beta.6", "] ").concat(conf.i18n(message, params));
11453
11453
  }
11454
11454
  function outLog(type) {
11455
11455
  return function (message, params) {
@@ -13116,7 +13116,7 @@ function setIcon(options) {
13116
13116
  var globalStore = {};
13117
13117
  var VXETable = {
13118
13118
  v: v,
13119
- version: "3.8.7-beta.5",
13119
+ version: "3.8.7-beta.6",
13120
13120
  reg: reg,
13121
13121
  use: use,
13122
13122
  setConfig: setConfig,
@@ -33517,6 +33517,7 @@ var convertToRows = function convertToRows(originColumns) {
33517
33517
 
33518
33518
 
33519
33519
 
33520
+
33520
33521
  function print(options) {
33521
33522
  var opts = Object.assign({}, options, {
33522
33523
  type: 'html'
@@ -33531,7 +33532,7 @@ var VxeTableExportModule = {
33531
33532
  v_x_e_table.saveFile = saveLocalFile;
33532
33533
  v_x_e_table.readFile = readLocalFile;
33533
33534
  v_x_e_table.print = print;
33534
- v_x_e_table.setup({
33535
+ v_x_e_table.setConfig({
33535
33536
  export: {
33536
33537
  types: {
33537
33538
  csv: 0,
@@ -42356,7 +42357,7 @@ Icon, Column, Colgroup, Table, Grid, Toolbar, Pager, Checkbox, CheckboxGroup, Ra
42356
42357
  // 默认安装
42357
42358
  function install(Vue, options) {
42358
42359
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isPlainObject(options)) {
42359
- VXETable.config(options);
42360
+ VXETable.setConfig(options);
42360
42361
  if (options.theme) {
42361
42362
  setTheme(options);
42362
42363
  }
@@ -42367,7 +42368,7 @@ function install(Vue, options) {
42367
42368
  }
42368
42369
 
42369
42370
  // 默认中文
42370
- VXETable.config({
42371
+ VXETable.setConfig({
42371
42372
  i18n: function i18n(key, args) {
42372
42373
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toFormatString(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(zh_CN, key), args);
42373
42374
  }