vxe-table 3.11.13 → 3.11.15

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.
Files changed (119) hide show
  1. package/es/locale/lang/ar-EG.js +678 -0
  2. package/es/locale/lang/de-DE.js +678 -0
  3. package/es/locale/lang/en-US.js +2 -1
  4. package/es/locale/lang/es-ES.js +2 -1
  5. package/es/locale/lang/fr-FR.js +678 -0
  6. package/es/locale/lang/hu-HU.js +2 -1
  7. package/es/locale/lang/hy-AM.js +678 -0
  8. package/es/locale/lang/ja-JP.js +2 -1
  9. package/es/locale/lang/ko-KR.js +2 -1
  10. package/es/locale/lang/nb-NO.js +678 -0
  11. package/es/locale/lang/pt-BR.js +2 -1
  12. package/es/locale/lang/ru-RU.js +2 -1
  13. package/es/locale/lang/ug-CN.js +678 -0
  14. package/es/locale/lang/uk-UA.js +2 -1
  15. package/es/locale/lang/vi-VN.js +2 -1
  16. package/es/locale/lang/zh-CHT.js +2 -1
  17. package/es/locale/lang/zh-CN.js +2 -1
  18. package/es/style.css +1 -1
  19. package/es/table/module/edit/mixin.js +2 -2
  20. package/es/table/module/export/mixin.js +14 -8
  21. package/es/table/module/keyboard/mixin.js +2 -2
  22. package/es/table/src/body.js +15 -4
  23. package/es/table/src/methods.js +93 -13
  24. package/es/table/src/table.js +14 -6
  25. package/es/ui/index.js +1 -1
  26. package/es/ui/src/log.js +1 -1
  27. package/lib/index.umd.js +175 -45
  28. package/lib/index.umd.min.js +1 -1
  29. package/lib/locale/lang/ar-EG.js +684 -0
  30. package/lib/locale/lang/ar-EG.min.js +1 -0
  31. package/lib/locale/lang/de-DE.js +684 -0
  32. package/lib/locale/lang/de-DE.min.js +1 -0
  33. package/lib/locale/lang/en-US.js +2 -1
  34. package/lib/locale/lang/en-US.min.js +1 -1
  35. package/lib/locale/lang/en-US.umd.js +2 -1
  36. package/lib/locale/lang/es-ES.js +2 -1
  37. package/lib/locale/lang/es-ES.min.js +1 -1
  38. package/lib/locale/lang/es-ES.umd.js +2 -1
  39. package/lib/locale/lang/fr-FR.js +684 -0
  40. package/lib/locale/lang/fr-FR.min.js +1 -0
  41. package/lib/locale/lang/hu-HU.js +2 -1
  42. package/lib/locale/lang/hu-HU.min.js +1 -1
  43. package/lib/locale/lang/hu-HU.umd.js +2 -1
  44. package/lib/locale/lang/hy-AM.js +684 -0
  45. package/lib/locale/lang/hy-AM.min.js +1 -0
  46. package/lib/locale/lang/ja-JP.js +2 -1
  47. package/lib/locale/lang/ja-JP.min.js +1 -1
  48. package/lib/locale/lang/ja-JP.umd.js +2 -1
  49. package/lib/locale/lang/ko-KR.js +2 -1
  50. package/lib/locale/lang/ko-KR.min.js +1 -1
  51. package/lib/locale/lang/ko-KR.umd.js +2 -1
  52. package/lib/locale/lang/nb-NO.js +684 -0
  53. package/lib/locale/lang/nb-NO.min.js +1 -0
  54. package/lib/locale/lang/pt-BR.js +2 -1
  55. package/lib/locale/lang/pt-BR.min.js +1 -1
  56. package/lib/locale/lang/pt-BR.umd.js +2 -1
  57. package/lib/locale/lang/ru-RU.js +2 -1
  58. package/lib/locale/lang/ru-RU.min.js +1 -1
  59. package/lib/locale/lang/ru-RU.umd.js +2 -1
  60. package/lib/locale/lang/ug-CN.js +684 -0
  61. package/lib/locale/lang/ug-CN.min.js +1 -0
  62. package/lib/locale/lang/uk-UA.js +2 -1
  63. package/lib/locale/lang/uk-UA.min.js +1 -1
  64. package/lib/locale/lang/uk-UA.umd.js +2 -1
  65. package/lib/locale/lang/vi-VN.js +2 -1
  66. package/lib/locale/lang/vi-VN.min.js +1 -1
  67. package/lib/locale/lang/zh-CHT.js +2 -1
  68. package/lib/locale/lang/zh-CHT.min.js +1 -1
  69. package/lib/locale/lang/zh-CHT.umd.js +2 -1
  70. package/lib/locale/lang/zh-CN.js +2 -1
  71. package/lib/locale/lang/zh-CN.min.js +1 -1
  72. package/lib/locale/lang/zh-CN.umd.js +2 -1
  73. package/lib/style.css +1 -1
  74. package/lib/table/module/edit/mixin.js +2 -2
  75. package/lib/table/module/edit/mixin.min.js +1 -1
  76. package/lib/table/module/export/mixin.js +14 -8
  77. package/lib/table/module/export/mixin.min.js +1 -1
  78. package/lib/table/module/keyboard/mixin.js +2 -2
  79. package/lib/table/module/keyboard/mixin.min.js +1 -1
  80. package/lib/table/src/body.js +17 -4
  81. package/lib/table/src/body.min.js +1 -1
  82. package/lib/table/src/methods.js +120 -16
  83. package/lib/table/src/methods.min.js +1 -1
  84. package/lib/table/src/table.js +16 -10
  85. package/lib/table/src/table.min.js +1 -1
  86. package/lib/ui/index.js +1 -1
  87. package/lib/ui/index.min.js +1 -1
  88. package/lib/ui/src/log.js +1 -1
  89. package/lib/ui/src/log.min.js +1 -1
  90. package/package.json +2 -2
  91. package/packages/locale/lang/ar-EG.ts +678 -0
  92. package/packages/locale/lang/de-DE.ts +678 -0
  93. package/packages/locale/lang/en-US.ts +2 -1
  94. package/packages/locale/lang/es-ES.ts +2 -1
  95. package/packages/locale/lang/fr-FR.ts +678 -0
  96. package/packages/locale/lang/hu-HU.ts +2 -1
  97. package/packages/locale/lang/hy-AM.ts +678 -0
  98. package/packages/locale/lang/ja-JP.ts +2 -1
  99. package/packages/locale/lang/ko-KR.ts +2 -1
  100. package/packages/locale/lang/nb-NO.ts +678 -0
  101. package/packages/locale/lang/pt-BR.ts +2 -1
  102. package/packages/locale/lang/ru-RU.ts +2 -1
  103. package/packages/locale/lang/ug-CN.ts +678 -0
  104. package/packages/locale/lang/uk-UA.ts +2 -1
  105. package/packages/locale/lang/vi-VN.ts +2 -1
  106. package/packages/locale/lang/zh-CHT.ts +2 -1
  107. package/packages/locale/lang/zh-CN.ts +2 -1
  108. package/packages/table/module/edit/mixin.ts +2 -2
  109. package/packages/table/module/export/mixin.ts +14 -8
  110. package/packages/table/module/keyboard/mixin.ts +2 -2
  111. package/packages/table/src/body.ts +14 -4
  112. package/packages/table/src/methods.ts +97 -14
  113. package/packages/table/src/table.ts +14 -6
  114. /package/es/{iconfont.1732856009240.ttf → iconfont.1733108997206.ttf} +0 -0
  115. /package/es/{iconfont.1732856009240.woff → iconfont.1733108997206.woff} +0 -0
  116. /package/es/{iconfont.1732856009240.woff2 → iconfont.1733108997206.woff2} +0 -0
  117. /package/lib/{iconfont.1732856009240.ttf → iconfont.1733108997206.ttf} +0 -0
  118. /package/lib/{iconfont.1732856009240.woff → iconfont.1733108997206.woff} +0 -0
  119. /package/lib/{iconfont.1732856009240.woff2 → iconfont.1733108997206.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.11.13";
2223
+ const version = "3.11.15";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2774,7 +2774,7 @@ function isNodeElement(elem) {
2774
2774
  const {
2775
2775
  log: log_log
2776
2776
  } = core_.VxeUI;
2777
- const log_version = `table v${"3.11.13"}`;
2777
+ const log_version = `table v${"3.11.15"}`;
2778
2778
  const warnLog = log_log.create('warn', log_version);
2779
2779
  const errLog = log_log.create('error', log_version);
2780
2780
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -5399,16 +5399,15 @@ function handleRecalculateLayout($xeTable, reFull) {
5399
5399
  }
5400
5400
  $xeTable.calcCellWidth();
5401
5401
  $xeTable.autoCellWidth();
5402
- if (reFull === true) {
5403
- // 初始化时需要在列计算之后再执行优化运算,达到最优显示效果
5404
- return $xeTable.computeScrollLoad().then(() => {
5402
+ return $xeTable.computeScrollLoad().then(() => {
5403
+ if (reFull === true) {
5404
+ // 初始化时需要在列计算之后再执行优化运算,达到最优显示效果
5405
5405
  calcCellHeight($xeTable);
5406
5406
  $xeTable.calcCellWidth();
5407
5407
  $xeTable.autoCellWidth();
5408
5408
  return $xeTable.computeScrollLoad();
5409
- });
5410
- }
5411
- return $xeTable.computeScrollLoad();
5409
+ }
5410
+ });
5412
5411
  }
5413
5412
  function checkLastSyncScroll($xeTable, isRollX, isRollY) {
5414
5413
  const reactData = $xeTable;
@@ -6779,6 +6778,11 @@ const Methods = {
6779
6778
  * @returns
6780
6779
  */
6781
6780
  handleVirtualTreeToList() {
6781
+ const $xeTable = this;
6782
+ const internalData = $xeTable;
6783
+ const {
6784
+ fullAllDataRowIdData
6785
+ } = internalData;
6782
6786
  const {
6783
6787
  treeOpts,
6784
6788
  treeConfig,
@@ -6794,6 +6798,10 @@ const Methods = {
6794
6798
  const rowid = getRowid(this, row);
6795
6799
  const parentRowid = getRowid(this, parent);
6796
6800
  if (!parent || expandMaps[parentRowid] && treeExpandedMaps[parentRowid]) {
6801
+ const rowRest = fullAllDataRowIdData[rowid];
6802
+ if (rowRest) {
6803
+ rowRest._index = fullData.length;
6804
+ }
6797
6805
  expandMaps[rowid] = 1;
6798
6806
  fullData.push(row);
6799
6807
  }
@@ -7017,24 +7025,69 @@ const Methods = {
7017
7025
  this.afterTreeFullData = tableTree;
7018
7026
  this.updateAfterDataIndex();
7019
7027
  },
7028
+ updateTreeDataIndex() {
7029
+ const $xeTable = this;
7030
+ const props = $xeTable;
7031
+ const internalData = $xeTable;
7032
+ const {
7033
+ treeConfig
7034
+ } = props;
7035
+ const {
7036
+ afterFullData,
7037
+ fullDataRowIdData,
7038
+ fullAllDataRowIdData
7039
+ } = internalData;
7040
+ const treeOpts = $xeTable.computeTreeOpts;
7041
+ if (treeConfig) {
7042
+ if (treeOpts.transform) {
7043
+ afterFullData.forEach((row, index) => {
7044
+ const rowid = getRowid($xeTable, row);
7045
+ const rowRest = fullAllDataRowIdData[rowid];
7046
+ if (rowRest) {
7047
+ rowRest._index = index;
7048
+ } else {
7049
+ const rest = {
7050
+ row,
7051
+ rowid,
7052
+ seq: '-1',
7053
+ index: -1,
7054
+ $index: -1,
7055
+ _index: index,
7056
+ items: [],
7057
+ parent: null,
7058
+ level: 0,
7059
+ height: 0
7060
+ };
7061
+ fullAllDataRowIdData[rowid] = rest;
7062
+ fullDataRowIdData[rowid] = rest;
7063
+ }
7064
+ });
7065
+ }
7066
+ }
7067
+ },
7020
7068
  /**
7021
7069
  * 预编译
7022
7070
  * 对渲染中的数据提前解析序号及索引。牺牲提前编译耗时换取渲染中额外损耗,使运行时更加流畅
7023
7071
  */
7024
7072
  updateAfterDataIndex() {
7073
+ const $xeTable = this;
7074
+ const props = $xeTable;
7075
+ const internalData = $xeTable;
7076
+ const {
7077
+ treeConfig
7078
+ } = props;
7025
7079
  const {
7026
- treeConfig,
7027
7080
  afterFullData,
7028
7081
  fullDataRowIdData,
7029
7082
  fullAllDataRowIdData,
7030
- afterTreeFullData,
7031
- treeOpts
7032
- } = this;
7083
+ afterTreeFullData
7084
+ } = internalData;
7085
+ const treeOpts = $xeTable.computeTreeOpts;
7033
7086
  const childrenField = treeOpts.children || treeOpts.childrenField;
7034
7087
  const fullMaps = {};
7035
7088
  if (treeConfig) {
7036
7089
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(afterTreeFullData, (row, index, items, path) => {
7037
- const rowid = getRowid(this, row);
7090
+ const rowid = getRowid($xeTable, row);
7038
7091
  const rowRest = fullAllDataRowIdData[rowid];
7039
7092
  const seq = path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('');
7040
7093
  if (rowRest) {
@@ -7060,9 +7113,10 @@ const Methods = {
7060
7113
  }, {
7061
7114
  children: treeOpts.transform ? treeOpts.mapChildrenField : childrenField
7062
7115
  });
7116
+ $xeTable.updateTreeDataIndex();
7063
7117
  } else {
7064
7118
  afterFullData.forEach((row, index) => {
7065
- const rowid = getRowid(this, row);
7119
+ const rowid = getRowid($xeTable, row);
7066
7120
  const rowRest = fullAllDataRowIdData[rowid];
7067
7121
  const seq = index + 1;
7068
7122
  if (rowRest) {
@@ -7089,10 +7143,46 @@ const Methods = {
7089
7143
  }
7090
7144
  this.afterFullRowMaps = fullMaps;
7091
7145
  },
7146
+ /**
7147
+ * 只对 tree-config 有效,获取行的子级
7148
+ */
7149
+ getTreeRowChildren(rowOrRowid) {
7150
+ const $xeTable = this;
7151
+ const props = $xeTable;
7152
+ const internalData = $xeTable;
7153
+ const {
7154
+ treeConfig
7155
+ } = props;
7156
+ const {
7157
+ fullDataRowIdData
7158
+ } = internalData;
7159
+ const treeOpts = $xeTable.computeTreeOpts;
7160
+ const {
7161
+ transform,
7162
+ mapChildrenField
7163
+ } = treeOpts;
7164
+ const childrenField = treeOpts.children || treeOpts.childrenField;
7165
+ if (rowOrRowid && treeConfig) {
7166
+ let rowid;
7167
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(rowOrRowid)) {
7168
+ rowid = rowOrRowid;
7169
+ } else {
7170
+ rowid = getRowid($xeTable, rowOrRowid);
7171
+ }
7172
+ if (rowid) {
7173
+ const rest = fullDataRowIdData[rowid];
7174
+ const row = rest ? rest.row : null;
7175
+ if (row) {
7176
+ return row[transform ? mapChildrenField : childrenField] || [];
7177
+ }
7178
+ }
7179
+ }
7180
+ return [];
7181
+ },
7092
7182
  /**
7093
7183
  * 只对 tree-config 有效,获取行的父级
7094
7184
  */
7095
- getParentRow(rowOrRowid) {
7185
+ getTreeParentRow(rowOrRowid) {
7096
7186
  const {
7097
7187
  treeConfig,
7098
7188
  fullDataRowIdData
@@ -7111,6 +7201,11 @@ const Methods = {
7111
7201
  }
7112
7202
  return null;
7113
7203
  },
7204
+ getParentRow(rowOrRowid) {
7205
+ const $xeTable = this;
7206
+ warnLog('vxe.error.delFunc', ['getParentRow', 'getTreeParentRow']);
7207
+ return $xeTable.getTreeParentRow(rowOrRowid);
7208
+ },
7114
7209
  /**
7115
7210
  * 根据行的唯一主键获取行
7116
7211
  * @param {String/Number} rowid 行主键
@@ -11728,7 +11823,9 @@ const Methods = {
11728
11823
  }
11729
11824
  return this.$nextTick().then(() => {
11730
11825
  if (transform) {
11731
- return this.handleTableData();
11826
+ this.handleTableData();
11827
+ this.updateTreeDataIndex();
11828
+ return this.$nextTick();
11732
11829
  }
11733
11830
  });
11734
11831
  });
@@ -11856,7 +11953,9 @@ const Methods = {
11856
11953
  validRows.forEach(row => this.handleTreeExpandReserve(row, expanded));
11857
11954
  }
11858
11955
  this.treeExpandedMaps = treeTempExpandedMaps;
11859
- return Promise.all(result).then(this.recalculate);
11956
+ return Promise.all(result).then(() => {
11957
+ return this.recalculate();
11958
+ });
11860
11959
  },
11861
11960
  /**
11862
11961
  * 虚拟树的展开与收起
@@ -11867,9 +11966,14 @@ const Methods = {
11867
11966
  handleVirtualTreeExpand(rows, expanded) {
11868
11967
  return this.handleBaseTreeExpand(rows, expanded).then(() => {
11869
11968
  this.handleVirtualTreeToList();
11870
- return this.handleTableData();
11969
+ this.handleTableData();
11970
+ this.updateTreeDataIndex();
11871
11971
  }).then(() => {
11872
11972
  return this.recalculate();
11973
+ }).then(() => {
11974
+ setTimeout(() => {
11975
+ this.updateCellAreas();
11976
+ }, 30);
11873
11977
  });
11874
11978
  },
11875
11979
  /**
@@ -13309,12 +13413,15 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
13309
13413
  columnOpts,
13310
13414
  isDragColMove
13311
13415
  } = $xeTable;
13416
+ const {
13417
+ transform,
13418
+ seqMode
13419
+ } = treeOpts;
13312
13420
  const childrenField = treeOpts.children || treeOpts.childrenField;
13313
13421
  const rows = [];
13314
13422
  tableData.forEach((row, $rowIndex) => {
13315
13423
  const trOn = {};
13316
13424
  let rowIndex = $rowIndex;
13317
- const _rowIndex = $xeTable.getVTRowIndex(row);
13318
13425
  // 确保任何情况下 rowIndex 都精准指向真实 data 索引
13319
13426
  rowIndex = $xeTable.getRowIndex(row);
13320
13427
  // 当前行事件
@@ -13337,8 +13444,18 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
13337
13444
  }
13338
13445
  const rowid = getRowid($xeTable, row);
13339
13446
  const rest = fullAllDataRowIdData[rowid];
13340
- const rowLevel = rest ? rest.level : 0;
13341
- const seq = rest ? rest.seq : -1;
13447
+ let rowLevel = 0;
13448
+ let seq = -1;
13449
+ let _rowIndex = 0;
13450
+ if (rest) {
13451
+ rowLevel = rest.level;
13452
+ if (treeConfig && transform && seqMode === 'increasing') {
13453
+ seq = rest._index + 1;
13454
+ } else {
13455
+ seq = rest.seq;
13456
+ }
13457
+ _rowIndex = rest._index;
13458
+ }
13342
13459
  const params = {
13343
13460
  $table: $xeTable,
13344
13461
  seq,
@@ -13377,7 +13494,7 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
13377
13494
  };
13378
13495
  }
13379
13496
  const trClass = ['vxe-body--row', treeConfig ? `row--level-${rowLevel}` : '', {
13380
- 'row--stripe': stripe && ($xeTable.getVTRowIndex(row) + 1) % 2 === 0,
13497
+ 'row--stripe': stripe && (_rowIndex + 1) % 2 === 0,
13381
13498
  'is--new': isNewRow,
13382
13499
  'is--expand-row': isExpandRow,
13383
13500
  'is--expand-tree': isExpandTree,
@@ -17853,8 +17970,8 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
17853
17970
  };
17854
17971
  fullDataRowIdData[rowid] = rest;
17855
17972
  fullAllDataRowIdData[rowid] = rest;
17856
- afterFullData.push(item);
17857
- tableFullData.push(item);
17973
+ afterFullData.unshift(item);
17974
+ tableFullData.unshift(item);
17858
17975
  });
17859
17976
  // 刷新单元格合并
17860
17977
  mergeList.forEach(mergeItem => {
@@ -18902,7 +19019,7 @@ function toTableBorder(border) {
18902
19019
  function toBooleanValue(cellValue) {
18903
19020
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(cellValue) ? cellValue ? 'TRUE' : 'FALSE' : cellValue;
18904
19021
  }
18905
- function getLabelData($xetable, opts, columns, datas) {
19022
+ function getBodyLabelData($xetable, opts, columns, datas) {
18906
19023
  const {
18907
19024
  isAllExpand,
18908
19025
  mode
@@ -19009,15 +19126,18 @@ function getLabelData($xetable, opts, columns, datas) {
19009
19126
  columns.forEach((column, $columnIndex) => {
19010
19127
  let cellValue = '';
19011
19128
  const renderOpts = column.editRender || column.cellRender;
19012
- let exportLabelMethod = column.exportMethod;
19013
- if (!exportLabelMethod && renderOpts && renderOpts.name) {
19129
+ let bodyExportMethod = column.exportMethod;
19130
+ if (!bodyExportMethod && renderOpts && renderOpts.name) {
19014
19131
  const compConf = export_mixin_renderer.get(renderOpts.name);
19015
19132
  if (compConf) {
19016
- exportLabelMethod = compConf.tableExportMethod || compConf.exportMethod || compConf.cellExportMethod;
19133
+ bodyExportMethod = compConf.tableExportMethod || compConf.exportMethod || compConf.cellExportMethod;
19017
19134
  }
19018
19135
  }
19019
- if (exportLabelMethod) {
19020
- cellValue = exportLabelMethod({
19136
+ if (!bodyExportMethod) {
19137
+ bodyExportMethod = columnOpts.exportMethod;
19138
+ }
19139
+ if (bodyExportMethod) {
19140
+ cellValue = bodyExportMethod({
19021
19141
  $table: $xetable,
19022
19142
  row,
19023
19143
  column,
@@ -19079,7 +19199,7 @@ function getExportData($xetable, opts) {
19079
19199
  $rowIndex: index
19080
19200
  }));
19081
19201
  }
19082
- return getLabelData($xetable, opts, columns, datas);
19202
+ return getBodyLabelData($xetable, opts, columns, datas);
19083
19203
  }
19084
19204
  function getBooleanValue(cellValue) {
19085
19205
  return cellValue === 'TRUE' || cellValue === 'true' || cellValue === true;
@@ -20302,8 +20422,11 @@ const convertToRows = originColumns => {
20302
20422
  }
20303
20423
  // 检查类型,如果为自定义导出,则不需要校验类型
20304
20424
  if (!opts.exportMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps), type)) {
20425
+ errLog('vxe.error.notType', [type]);
20305
20426
  if (true) {
20306
- errLog('vxe.error.notType', [type]);
20427
+ if (['xlsx', 'pdf'].includes(type)) {
20428
+ warnLog('vxe.error.reqPlugin', [4, 'plugin-export-xlsx']);
20429
+ }
20307
20430
  }
20308
20431
  const params = {
20309
20432
  status: false
@@ -20833,8 +20956,8 @@ function getCheckboxRangeRows($xeTable, evnt, params, targetTrElem, trRect, offs
20833
20956
  mouseConfig,
20834
20957
  mouseOpts
20835
20958
  } = this;
20836
- if (mouseConfig && mouseOpts.area && this.handleCellAreaEvent) {
20837
- return this.handleCellAreaEvent(evnt, params);
20959
+ if (mouseConfig && mouseOpts.area && this.handleMousedownCellAreaEvent) {
20960
+ return this.handleMousedownCellAreaEvent(evnt, params);
20838
20961
  } else {
20839
20962
  if (checkboxConfig && checkboxOpts.range) {
20840
20963
  this.handleCheckboxRangeEvent(evnt, params);
@@ -22853,7 +22976,7 @@ function handleUupdateResize(_vm) {
22853
22976
  if (this.showFooter && !(this.footerMethod || this.footerData)) {
22854
22977
  warnLog('vxe.error.reqProp', ['footer-data | footer-method']);
22855
22978
  }
22856
- if (treeConfig && this.stripe) {
22979
+ if (treeConfig && !treeOpts.transform && this.stripe) {
22857
22980
  warnLog('vxe.error.noTree', ['stripe']);
22858
22981
  }
22859
22982
  if (this.tooltipOpts.enabled) {
@@ -22896,7 +23019,10 @@ function handleUupdateResize(_vm) {
22896
23019
  if (this.rowOpts.height && !this.showOverflow) {
22897
23020
  warnLog('vxe.error.notProp', ['table.show-overflow']);
22898
23021
  }
22899
- if (!this.handleRecalculateCellAreas) {
23022
+ if (!this.handleMousedownCellAreaEvent) {
23023
+ if (this.areaConfig) {
23024
+ warnLog('vxe.error.notProp', ['area-config']);
23025
+ }
22900
23026
  if (this.clipConfig) {
22901
23027
  warnLog('vxe.error.notProp', ['clip-config']);
22902
23028
  }
@@ -22923,7 +23049,7 @@ function handleUupdateResize(_vm) {
22923
23049
  // if (this.mouseOpts.area && this.checkboxOpts.range) {
22924
23050
  // warnLog('vxe.error.errConflicts', ['mouse-config.area', 'checkbox-config.range'])
22925
23051
  // }
22926
- if (this.treeConfig && this.mouseOpts.area) {
23052
+ if (this.mouseOpts.area && this.treeConfig && !treeOpts.transform) {
22927
23053
  errLog('vxe.error.noTree', ['mouse-config.area']);
22928
23054
  }
22929
23055
  }
@@ -23036,7 +23162,7 @@ function handleUupdateResize(_vm) {
23036
23162
  const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
23037
23163
  $xeTable.$nextTick(() => {
23038
23164
  if (props.loading) {
23039
- if (!VxeUILoadingComponent) {
23165
+ if (!VxeUILoadingComponent && !this.$scopedSlots.loading) {
23040
23166
  errLog('vxe.error.reqComp', ['vxe-loading']);
23041
23167
  }
23042
23168
  }
@@ -23305,12 +23431,15 @@ function handleUupdateResize(_vm) {
23305
23431
  value: currLoading,
23306
23432
  icon: loadingOpts.icon,
23307
23433
  text: loadingOpts.text
23308
- }
23309
- }, $xeTable.callSlot(loadingSlot, {
23310
- $table: $xeTable,
23311
- $grid: $xeGrid,
23312
- loading: currLoading
23313
- }, h)) : loadingSlot ? h('div', {
23434
+ },
23435
+ scopedSlots: loadingSlot ? {
23436
+ default: () => $xeTable.callSlot(loadingSlot, {
23437
+ $table: $xeTable,
23438
+ $grid: $xeGrid,
23439
+ loading: currLoading
23440
+ }, h)
23441
+ } : {}
23442
+ }) : loadingSlot ? h('div', {
23314
23443
  class: ['vxe-loading--custom-wrapper', {
23315
23444
  'is--visible': currLoading
23316
23445
  }]
@@ -26784,7 +26913,8 @@ const Toolbar = VxeToolbar;
26784
26913
  notType: '不支持的文件类型 "{0}"',
26785
26914
  notExp: '该浏览器不支持导入/导出功能',
26786
26915
  impFields: '导入失败,请检查字段名和数据格式是否正确',
26787
- treeNotImp: '树表格不支持导入'
26916
+ treeNotImp: '树表格不支持导入',
26917
+ reqPlugin: '可选扩展插件 "{1}" https://vxeui.com/other{0}/#/{1}/install'
26788
26918
  },
26789
26919
  table: {
26790
26920
  emptyText: '暂无数据',