vxe-table 3.8.7-beta.7 → 3.8.7-beta.8

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
@@ -11159,9 +11159,16 @@ var iconPrefix = 'vxe-icon-';
11159
11159
  showAsterisk: true
11160
11160
  },
11161
11161
  importConfig: {
11162
+ _typeMaps: {},
11162
11163
  modes: ['insert', 'covering']
11163
11164
  },
11164
11165
  exportConfig: {
11166
+ _typeMaps: {
11167
+ csv: 1,
11168
+ html: 1,
11169
+ xml: 1,
11170
+ txt: 1
11171
+ },
11165
11172
  modes: ['current', 'selected']
11166
11173
  },
11167
11174
  printConfig: {
@@ -11449,7 +11456,7 @@ var es_array_concat = __webpack_require__(8706);
11449
11456
 
11450
11457
 
11451
11458
  function getLog(message, params) {
11452
- return "[vxe-table v".concat("3.8.7-beta.7", "] ").concat(conf.i18n(message, params));
11459
+ return "[vxe-table v".concat("3.8.7-beta.8", "] ").concat(conf.i18n(message, params));
11453
11460
  }
11454
11461
  function outLog(type) {
11455
11462
  return function (message, params) {
@@ -12967,12 +12974,15 @@ var validators = new store();
12967
12974
  if (false) {}
12968
12975
  ;// CONCATENATED MODULE: ./packages/v-x-e-table/src/theme.js
12969
12976
 
12970
- function setTheme(options) {
12971
- var theme = (options ? options.theme : null) || conf.theme || 'default';
12977
+ function setTheme(name) {
12978
+ var theme = name || conf.theme;
12979
+ if (!theme || theme === 'default') {
12980
+ theme = 'light';
12981
+ }
12972
12982
  if (typeof document !== 'undefined') {
12973
12983
  var documentElement = document.documentElement;
12974
12984
  if (documentElement) {
12975
- documentElement.setAttribute('data-vxe-table-theme', theme);
12985
+ documentElement.setAttribute('data-vxe-ui-theme', theme);
12976
12986
  }
12977
12987
  }
12978
12988
  }
@@ -13030,7 +13040,7 @@ function getExportOrImpotType(types, flag) {
13030
13040
  var setConfig = function setConfig(options) {
13031
13041
  if (options) {
13032
13042
  if (options.theme) {
13033
- setTheme(options);
13043
+ setTheme(options.theme);
13034
13044
  }
13035
13045
  if (options.zIndex) {
13036
13046
  index_esm.setCurrent(options.zIndex);
@@ -13116,7 +13126,7 @@ function setIcon(options) {
13116
13126
  var globalStore = {};
13117
13127
  var VXETable = {
13118
13128
  v: v,
13119
- version: "3.8.7-beta.7",
13129
+ version: "3.8.7-beta.8",
13120
13130
  reg: reg,
13121
13131
  use: use,
13122
13132
  setConfig: setConfig,
@@ -13136,7 +13146,7 @@ var VXETable = {
13136
13146
  globalConfs: globalConfs
13137
13147
  };
13138
13148
  var VxeUI = VXETable;
13139
- setTheme(globalStore);
13149
+ setTheme('light');
13140
13150
 
13141
13151
 
13142
13152
 
@@ -42361,7 +42371,7 @@ function install(Vue, options) {
42361
42371
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isPlainObject(options)) {
42362
42372
  setConfig(options);
42363
42373
  if (options.theme) {
42364
- setTheme(options);
42374
+ setTheme(options.theme);
42365
42375
  }
42366
42376
  }
42367
42377
  components.map(function (component) {