vxe-table 3.8.8-beta.7 → 3.8.8-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.
Files changed (40) hide show
  1. package/lib/edit/src/mixin.js +4 -4
  2. package/lib/edit/src/mixin.min.js +1 -1
  3. package/lib/export/src/mixin.js +27 -21
  4. package/lib/export/src/mixin.min.js +1 -1
  5. package/lib/icon/style/style.css +1 -1
  6. package/lib/icon/style/style.min.css +1 -1
  7. package/lib/index.css +1 -1
  8. package/lib/index.umd.js +128 -99
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/keyboard/src/mixin.js +2 -2
  11. package/lib/keyboard/src/mixin.min.js +1 -1
  12. package/lib/menu/src/mixin.js +1 -1
  13. package/lib/menu/src/mixin.min.js +1 -1
  14. package/lib/style.css +1 -1
  15. package/lib/style.min.css +1 -1
  16. package/lib/table/src/cell.js +0 -6
  17. package/lib/table/src/cell.min.js +1 -1
  18. package/lib/table/src/methods.js +96 -67
  19. package/lib/table/src/methods.min.js +1 -1
  20. package/lib/tools/log.js +1 -1
  21. package/lib/tools/log.min.js +1 -1
  22. package/lib/v-x-e-table/index.js +1 -1
  23. package/lib/v-x-e-table/index.min.js +1 -1
  24. package/lib/validator/src/mixin.js +1 -1
  25. package/lib/validator/src/mixin.min.js +1 -1
  26. package/package.json +1 -1
  27. package/packages/edit/src/mixin.js +4 -4
  28. package/packages/export/src/mixin.js +19 -13
  29. package/packages/keyboard/src/mixin.js +2 -2
  30. package/packages/menu/src/mixin.js +1 -1
  31. package/packages/table/src/cell.js +0 -6
  32. package/packages/table/src/methods.js +82 -53
  33. package/packages/validator/src/mixin.js +1 -1
  34. package/types/table.d.ts +4 -0
  35. /package/lib/icon/style/{iconfont.1718470675024.ttf → iconfont.1719059955747.ttf} +0 -0
  36. /package/lib/icon/style/{iconfont.1718470675024.woff → iconfont.1719059955747.woff} +0 -0
  37. /package/lib/icon/style/{iconfont.1718470675024.woff2 → iconfont.1719059955747.woff2} +0 -0
  38. /package/lib/{iconfont.1718470675024.ttf → iconfont.1719059955747.ttf} +0 -0
  39. /package/lib/{iconfont.1718470675024.woff → iconfont.1719059955747.woff} +0 -0
  40. /package/lib/{iconfont.1718470675024.woff2 → iconfont.1719059955747.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -11485,7 +11485,7 @@ var es_array_concat = __webpack_require__(8706);
11485
11485
 
11486
11486
 
11487
11487
  function getLog(message, params) {
11488
- return "[vxe-table v".concat("3.8.8-beta.7", "] ").concat(conf.i18n(message, params));
11488
+ return "[vxe-table v".concat("3.8.8-beta.8", "] ").concat(conf.i18n(message, params));
11489
11489
  }
11490
11490
  function outLog(type) {
11491
11491
  return function (message, params) {
@@ -13165,7 +13165,7 @@ function setIcon(options) {
13165
13165
  var globalStore = {};
13166
13166
  var VXETable = {
13167
13167
  v: v,
13168
- version: "3.8.8-beta.7",
13168
+ version: "3.8.8-beta.8",
13169
13169
  reg: reg,
13170
13170
  use: use,
13171
13171
  setConfig: setConfig,
@@ -16048,7 +16048,6 @@ var Cell = {
16048
16048
  }
16049
16049
  if (!trigger || trigger === 'default') {
16050
16050
  on.click = function (evnt) {
16051
- evnt.stopPropagation();
16052
16051
  $table.triggerTreeExpandEvent(evnt, params);
16053
16052
  };
16054
16053
  }
@@ -16129,7 +16128,6 @@ var Cell = {
16129
16128
  on = {
16130
16129
  click: function click(evnt) {
16131
16130
  if (!isDisabled && isVisible) {
16132
- evnt.stopPropagation();
16133
16131
  $table.triggerRadioRowEvent(evnt, params);
16134
16132
  }
16135
16133
  }
@@ -16190,7 +16188,6 @@ var Cell = {
16190
16188
  on = {
16191
16189
  click: function click(evnt) {
16192
16190
  if (!isAllCheckboxDisabled) {
16193
- evnt.stopPropagation();
16194
16191
  $table.triggerCheckAllEvent(evnt, !isAllCheckboxSelected);
16195
16192
  }
16196
16193
  }
@@ -16253,7 +16250,6 @@ var Cell = {
16253
16250
  on = {
16254
16251
  click: function click(evnt) {
16255
16252
  if (!isDisabled && isVisible) {
16256
- evnt.stopPropagation();
16257
16253
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
16258
16254
  }
16259
16255
  }
@@ -16329,7 +16325,6 @@ var Cell = {
16329
16325
  on = {
16330
16326
  click: function click(evnt) {
16331
16327
  if (!isDisabled && isVisible) {
16332
- evnt.stopPropagation();
16333
16328
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
16334
16329
  }
16335
16330
  }
@@ -16414,7 +16409,6 @@ var Cell = {
16414
16409
  }],
16415
16410
  on: {
16416
16411
  click: function click(evnt) {
16417
- evnt.stopPropagation();
16418
16412
  $table.triggerRowExpandEvent(evnt, params);
16419
16413
  }
16420
16414
  }
@@ -17817,6 +17811,72 @@ var Methods = {
17817
17811
  }
17818
17812
  return this.$nextTick();
17819
17813
  },
17814
+ getCellElement: function getCellElement(row, fieldOrColumn) {
17815
+ var column = handleFieldOrColumn(this, fieldOrColumn);
17816
+ if (!column) {
17817
+ return null;
17818
+ }
17819
+ var $refs = this.$refs;
17820
+ var rowid = getRowid(this, row);
17821
+ var bodyElem = null;
17822
+ if (column) {
17823
+ bodyElem = $refs["".concat(column.fixed || 'table', "Body")] || $refs.tableBody;
17824
+ }
17825
+ if (bodyElem && bodyElem.$el) {
17826
+ return bodyElem.$el.querySelector(".vxe-body--row[rowid=\"".concat(rowid, "\"] .").concat(column.id));
17827
+ }
17828
+ return null;
17829
+ },
17830
+ getCellLabel: function getCellLabel(row, fieldOrColumn) {
17831
+ var column = handleFieldOrColumn(this, fieldOrColumn);
17832
+ if (!column) {
17833
+ return null;
17834
+ }
17835
+ var formatter = column.formatter;
17836
+ var cellValue = utils.getCellValue(row, column);
17837
+ var cellLabel = cellValue;
17838
+ if (formatter) {
17839
+ var rest, formatData;
17840
+ var fullAllDataRowMap = this.fullAllDataRowMap;
17841
+ var colid = column.id;
17842
+ var cacheFormat = fullAllDataRowMap.has(row);
17843
+ if (cacheFormat) {
17844
+ rest = fullAllDataRowMap.get(row);
17845
+ formatData = rest.formatData;
17846
+ if (!formatData) {
17847
+ formatData = fullAllDataRowMap.get(row).formatData = {};
17848
+ }
17849
+ if (rest && formatData[colid]) {
17850
+ if (formatData[colid].value === cellValue) {
17851
+ return formatData[colid].label;
17852
+ }
17853
+ }
17854
+ }
17855
+ var formatParams = {
17856
+ cellValue: cellValue,
17857
+ row: row,
17858
+ rowIndex: this.getRowIndex(row),
17859
+ column: column,
17860
+ columnIndex: this.getColumnIndex(column)
17861
+ };
17862
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(formatter)) {
17863
+ var gFormatOpts = formats.get(formatter);
17864
+ cellLabel = gFormatOpts && gFormatOpts.cellFormatMethod ? gFormatOpts.cellFormatMethod(formatParams) : '';
17865
+ } else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(formatter)) {
17866
+ var _gFormatOpts = formats.get(formatter[0]);
17867
+ cellLabel = _gFormatOpts && _gFormatOpts.cellFormatMethod ? _gFormatOpts.cellFormatMethod.apply(_gFormatOpts, [formatParams].concat(_toConsumableArray(formatter.slice(1)))) : '';
17868
+ } else {
17869
+ cellLabel = formatter(formatParams);
17870
+ }
17871
+ if (formatData) {
17872
+ formatData[colid] = {
17873
+ value: cellValue,
17874
+ label: cellLabel
17875
+ };
17876
+ }
17877
+ }
17878
+ return cellLabel;
17879
+ },
17820
17880
  /**
17821
17881
  * 检查是否为临时行数据
17822
17882
  * @param {Row} row 行对象
@@ -17873,6 +17933,13 @@ var Methods = {
17873
17933
  var columns = this.visibleColumn;
17874
17934
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isUndefined(columnIndex) ? columns.slice(0) : columns[columnIndex];
17875
17935
  },
17936
+ /**
17937
+ * 根据列获取列的唯一主键
17938
+ */
17939
+ getColid: function getColid(fieldOrColumn) {
17940
+ var column = handleFieldOrColumn(this, fieldOrColumn);
17941
+ return column ? column.id : null;
17942
+ },
17876
17943
  /**
17877
17944
  * 根据列的唯一主键获取列
17878
17945
  * @param {String} colid 列主键
@@ -19732,7 +19799,7 @@ var Methods = {
19732
19799
  var selected = editStore.selected,
19733
19800
  actived = editStore.actived;
19734
19801
  var keyCode = evnt.keyCode;
19735
- var isBack = keyCode === 8;
19802
+ var hasBackspaceKey = keyCode === 8;
19736
19803
  var isTab = keyCode === 9;
19737
19804
  var isEnter = keyCode === 13;
19738
19805
  var isEsc = keyCode === 27;
@@ -19859,12 +19926,12 @@ var Methods = {
19859
19926
  } else if (actived.row || actived.column) {
19860
19927
  _this29.moveTabSelected(actived.args, hasShiftKey, evnt);
19861
19928
  }
19862
- } else if (keyboardConfig && (isDel || (treeConfig && (rowOpts.isCurrent || highlightCurrentRow) && currentRow ? isBack && keyboardOpts.isArrow : isBack))) {
19929
+ } else if (keyboardConfig && (treeConfig || isEnableConf(editConfig)) && (isDel || (treeConfig && (rowOpts.isCurrent || highlightCurrentRow) && currentRow ? hasBackspaceKey && keyboardOpts.isArrow : hasBackspaceKey))) {
19863
19930
  if (!isEditStatus) {
19864
19931
  var delMethod = keyboardOpts.delMethod,
19865
19932
  backMethod = keyboardOpts.backMethod;
19866
19933
  // 如果是删除键
19867
- if (keyboardOpts.isDel && (selected.row || selected.column)) {
19934
+ if (keyboardOpts.isDel && isEnableConf(editConfig) && (selected.row || selected.column)) {
19868
19935
  var delPaqrams = {
19869
19936
  row: selected.row,
19870
19937
  rowIndex: _this29.getRowIndex(selected.row),
@@ -19877,7 +19944,7 @@ var Methods = {
19877
19944
  } else {
19878
19945
  setCellValue(selected.row, selected.column, null);
19879
19946
  }
19880
- if (isBack) {
19947
+ if (hasBackspaceKey) {
19881
19948
  if (backMethod) {
19882
19949
  backMethod({
19883
19950
  row: selected.row,
@@ -19894,7 +19961,7 @@ var Methods = {
19894
19961
  _this29.updateFooter();
19895
19962
  }
19896
19963
  _this29.emitEvent('cell-delete-value', delPaqrams, evnt);
19897
- } else if (isBack && keyboardOpts.isArrow && treeConfig && (rowOpts.isCurrent || highlightCurrentRow) && currentRow) {
19964
+ } else if (hasBackspaceKey && keyboardOpts.isArrow && treeConfig && (rowOpts.isCurrent || highlightCurrentRow) && currentRow) {
19898
19965
  // 如果树形表格回退键关闭当前行返回父节点
19899
19966
  var _XEUtils$findTree = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(_this29.afterFullData, function (item) {
19900
19967
  return item === currentRow;
@@ -20530,6 +20597,7 @@ var Methods = {
20530
20597
  if (trigger === 'manual') {
20531
20598
  return;
20532
20599
  }
20600
+ evnt.stopPropagation();
20533
20601
  if (checkboxOpts.isShiftKey && evnt.shiftKey && !this.treeConfig) {
20534
20602
  var checkboxRecords = this.getCheckboxRecords();
20535
20603
  if (checkboxRecords.length) {
@@ -20994,6 +21062,9 @@ var Methods = {
20994
21062
  if (trigger === 'manual') {
20995
21063
  return;
20996
21064
  }
21065
+ if (evnt) {
21066
+ evnt.stopPropagation();
21067
+ }
20997
21068
  this.handleCheckAllEvent(evnt, value);
20998
21069
  },
20999
21070
  /**
@@ -21072,6 +21143,7 @@ var Methods = {
21072
21143
  if (trigger === 'manual') {
21073
21144
  return;
21074
21145
  }
21146
+ evnt.stopPropagation();
21075
21147
  var newValue = row;
21076
21148
  var isChange = oldValue !== newValue;
21077
21149
  if (isChange) {
@@ -21756,6 +21828,7 @@ var Methods = {
21756
21828
  if (trigger === 'manual') {
21757
21829
  return;
21758
21830
  }
21831
+ evnt.stopPropagation();
21759
21832
  var rowid = getRowid(this, row);
21760
21833
  if (!lazy || !rowExpandLazyLoadedMaps[rowid]) {
21761
21834
  var expanded = !this.isRowExpandByRow(row);
@@ -22086,6 +22159,7 @@ var Methods = {
22086
22159
  if (trigger === 'manual') {
22087
22160
  return;
22088
22161
  }
22162
+ evnt.stopPropagation();
22089
22163
  var rowid = getRowid(this, row);
22090
22164
  if (!lazy || !treeExpandLazyLoadedMaps[rowid]) {
22091
22165
  var expanded = !this.isTreeExpandByRow(row);
@@ -22795,7 +22869,7 @@ var Methods = {
22795
22869
  var type = 'change';
22796
22870
  if (_this57.hasCellRules) {
22797
22871
  if (_this57.hasCellRules(type, row, column)) {
22798
- var cell = _this57.getCell(row, column);
22872
+ var cell = _this57.getCellElement(row, column);
22799
22873
  if (cell) {
22800
22874
  return _this57.validCellRules(type, row, column, cellValue).then(function () {
22801
22875
  if (customVal && validStore.visible) {
@@ -22956,63 +23030,12 @@ var Methods = {
22956
23030
  /*************************
22957
23031
  * Publish methods
22958
23032
  *************************/
23033
+ /**
23034
+ * 已废弃,被 getCellElement 替换
23035
+ * @deprecated
23036
+ */
22959
23037
  getCell: function getCell(row, column) {
22960
- var $refs = this.$refs;
22961
- var rowid = getRowid(this, row);
22962
- var bodyElem = null;
22963
- if (column) {
22964
- bodyElem = $refs["".concat(column.fixed || 'table', "Body")] || $refs.tableBody;
22965
- }
22966
- if (bodyElem && bodyElem.$el) {
22967
- return bodyElem.$el.querySelector(".vxe-body--row[rowid=\"".concat(rowid, "\"] .").concat(column.id));
22968
- }
22969
- return null;
22970
- },
22971
- getCellLabel: function getCellLabel(row, column) {
22972
- var formatter = column.formatter;
22973
- var cellValue = utils.getCellValue(row, column);
22974
- var cellLabel = cellValue;
22975
- if (formatter) {
22976
- var rest, formatData;
22977
- var fullAllDataRowMap = this.fullAllDataRowMap;
22978
- var colid = column.id;
22979
- var cacheFormat = fullAllDataRowMap.has(row);
22980
- if (cacheFormat) {
22981
- rest = fullAllDataRowMap.get(row);
22982
- formatData = rest.formatData;
22983
- if (!formatData) {
22984
- formatData = fullAllDataRowMap.get(row).formatData = {};
22985
- }
22986
- if (rest && formatData[colid]) {
22987
- if (formatData[colid].value === cellValue) {
22988
- return formatData[colid].label;
22989
- }
22990
- }
22991
- }
22992
- var formatParams = {
22993
- cellValue: cellValue,
22994
- row: row,
22995
- rowIndex: this.getRowIndex(row),
22996
- column: column,
22997
- columnIndex: this.getColumnIndex(column)
22998
- };
22999
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(formatter)) {
23000
- var gFormatOpts = formats.get(formatter);
23001
- cellLabel = gFormatOpts && gFormatOpts.cellFormatMethod ? gFormatOpts.cellFormatMethod(formatParams) : '';
23002
- } else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(formatter)) {
23003
- var _gFormatOpts = formats.get(formatter[0]);
23004
- cellLabel = _gFormatOpts && _gFormatOpts.cellFormatMethod ? _gFormatOpts.cellFormatMethod.apply(_gFormatOpts, [formatParams].concat(_toConsumableArray(formatter.slice(1)))) : '';
23005
- } else {
23006
- cellLabel = formatter(formatParams);
23007
- }
23008
- if (formatData) {
23009
- formatData[colid] = {
23010
- value: cellValue,
23011
- label: cellLabel
23012
- };
23013
- }
23014
- }
23015
- return cellLabel;
23038
+ return this.getCellElement(row, column);
23016
23039
  },
23017
23040
  findRowIndexOf: function findRowIndexOf(list, row) {
23018
23041
  var _this64 = this;
@@ -25295,7 +25318,7 @@ var Filter = VxeTableFilterModule;
25295
25318
  column = params.column;
25296
25319
  if (keyboard && row && column) {
25297
25320
  _this.scrollToRow(row, column).then(function () {
25298
- var cell = _this.getCell(row, column);
25321
+ var cell = _this.getCellElement(row, column);
25299
25322
  var _DomTools$getAbsolute2 = dom.getAbsolutePos(cell),
25300
25323
  boundingTop = _DomTools$getAbsolute2.boundingTop,
25301
25324
  boundingLeft = _DomTools$getAbsolute2.boundingLeft;
@@ -25947,7 +25970,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
25947
25970
  var row = params.row,
25948
25971
  column = params.column;
25949
25972
  var editRender = column.editRender;
25950
- var cell = params.cell = params.cell || this.getCell(row, column);
25973
+ var cell = params.cell = params.cell || this.getCellElement(row, column);
25951
25974
  var beforeEditMethod = editOpts.beforeEditMethod || editOpts.activeMethod;
25952
25975
  if (cell && isEnableConf(editConfig) && isEnableConf(editRender)) {
25953
25976
  // 激活编辑
@@ -26217,7 +26240,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
26217
26240
  var column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(fieldOrColumn) ? this.getColumnByField(fieldOrColumn) : fieldOrColumn;
26218
26241
  if (row && column && isEnableConf(editConfig) && isEnableConf(column.editRender)) {
26219
26242
  return this.scrollToRow(row, true).then(function () {
26220
- var cell = _this8.getCell(row, column);
26243
+ var cell = _this8.getCellElement(row, column);
26221
26244
  if (cell) {
26222
26245
  _this8.handleActived({
26223
26246
  row: row,
@@ -26244,7 +26267,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
26244
26267
  if (row && column && editOpts.trigger !== 'manual') {
26245
26268
  var rowIndex = this.findRowIndexOf(tableData, row);
26246
26269
  if (rowIndex > -1) {
26247
- var cell = this.getCell(row, column);
26270
+ var cell = this.getCellElement(row, column);
26248
26271
  var params = {
26249
26272
  row: row,
26250
26273
  rowIndex: rowIndex,
@@ -26337,7 +26360,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
26337
26360
  column = selected.column;
26338
26361
  this.reColSdCls();
26339
26362
  if (row && column) {
26340
- var cell = this.getCell(row, column);
26363
+ var cell = this.getCellElement(row, column);
26341
26364
  if (cell) {
26342
26365
  dom.addClass(cell, 'col--selected');
26343
26366
  }
@@ -32229,7 +32252,7 @@ function getLabelData($xetable, opts, columns, datas) {
32229
32252
  htmlCellElem.innerHTML = cellValue;
32230
32253
  cellValue = htmlCellElem.innerText.trim();
32231
32254
  } else {
32232
- var cell = $xetable.getCell(row, column);
32255
+ var cell = $xetable.getCellElement(row, column);
32233
32256
  if (cell) {
32234
32257
  cellValue = cell.innerText.trim();
32235
32258
  }
@@ -32296,7 +32319,7 @@ function getLabelData($xetable, opts, columns, datas) {
32296
32319
  htmlCellElem.innerHTML = cellValue;
32297
32320
  cellValue = htmlCellElem.innerText.trim();
32298
32321
  } else {
32299
- var cell = $xetable.getCell(row, column);
32322
+ var cell = $xetable.getCellElement(row, column);
32300
32323
  if (cell) {
32301
32324
  cellValue = cell.innerText.trim();
32302
32325
  }
@@ -32335,7 +32358,7 @@ function getHeaderTitle($xetable, opts, column) {
32335
32358
  $table: $xetable
32336
32359
  }) : (opts.original ? column.property : column.getTitle()) || '';
32337
32360
  }
32338
- function getFooterCellValue($xetable, opts, items, column) {
32361
+ function getFooterCellValue($xetable, opts, row, column) {
32339
32362
  var columnOpts = $xetable.columnOpts;
32340
32363
  var renderOpts = column.editRender || column.cellRender;
32341
32364
  var footLabelMethod = column.footerExportMethod;
@@ -32349,16 +32372,22 @@ function getFooterCellValue($xetable, opts, items, column) {
32349
32372
  footLabelMethod = columnOpts.footerExportMethod;
32350
32373
  }
32351
32374
  var _columnIndex = $xetable.getVTColumnIndex(column);
32352
- var cellValue = footLabelMethod ? footLabelMethod({
32353
- $table: $xetable,
32354
- items: items,
32355
- itemIndex: _columnIndex,
32356
- row: items,
32357
- _columnIndex: _columnIndex,
32358
- column: column,
32359
- options: opts
32360
- }) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(items[_columnIndex]);
32361
- return cellValue;
32375
+ if (footLabelMethod) {
32376
+ return footLabelMethod({
32377
+ $table: $xetable,
32378
+ items: row,
32379
+ itemIndex: _columnIndex,
32380
+ row: row,
32381
+ _columnIndex: _columnIndex,
32382
+ column: column,
32383
+ options: opts
32384
+ });
32385
+ }
32386
+ // 兼容老模式
32387
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(row)) {
32388
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(row[_columnIndex]);
32389
+ }
32390
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
32362
32391
  }
32363
32392
  function getFooterData(opts, footerTableData) {
32364
32393
  var footerFilterMethod = opts.footerFilterMethod;
@@ -32412,9 +32441,9 @@ function toCsv($xetable, opts, columns, datas) {
32412
32441
  if (opts.isFooter) {
32413
32442
  var footerTableData = $xetable.footerTableData;
32414
32443
  var footers = getFooterData(opts, footerTableData);
32415
- footers.forEach(function (rows) {
32444
+ footers.forEach(function (row) {
32416
32445
  content += columns.map(function (column) {
32417
- return toTxtCellLabel(getFooterCellValue($xetable, opts, rows, column));
32446
+ return toTxtCellLabel(getFooterCellValue($xetable, opts, row, column));
32418
32447
  }).join(',') + enterSymbol;
32419
32448
  });
32420
32449
  }
@@ -32435,9 +32464,9 @@ function toTxt($xetable, opts, columns, datas) {
32435
32464
  if (opts.isFooter) {
32436
32465
  var footerTableData = $xetable.footerTableData;
32437
32466
  var footers = getFooterData(opts, footerTableData);
32438
- footers.forEach(function (rows) {
32467
+ footers.forEach(function (row) {
32439
32468
  content += columns.map(function (column) {
32440
- return toTxtCellLabel(getFooterCellValue($xetable, opts, rows, column));
32469
+ return toTxtCellLabel(getFooterCellValue($xetable, opts, row, column));
32441
32470
  }).join(',') + enterSymbol;
32442
32471
  });
32443
32472
  }
@@ -32608,11 +32637,11 @@ function toHtml($xetable, opts, columns, datas) {
32608
32637
  var footers = getFooterData(opts, footerTableData);
32609
32638
  if (footers.length) {
32610
32639
  tables.push('<tfoot>');
32611
- footers.forEach(function (rows) {
32640
+ footers.forEach(function (row) {
32612
32641
  tables.push("<tr>".concat(columns.map(function (column) {
32613
32642
  var footAlign = column.footerAlign || column.align || allFooterAlign || allAlign;
32614
32643
  var classNames = hasEllipsis($xetable, column, 'showOverflow', allColumnOverflow) ? ['col--ellipsis'] : [];
32615
- var cellValue = getFooterCellValue($xetable, opts, rows, column);
32644
+ var cellValue = getFooterCellValue($xetable, opts, row, column);
32616
32645
  if (footAlign) {
32617
32646
  classNames.push("col--".concat(footAlign));
32618
32647
  }
@@ -32644,9 +32673,9 @@ function toXML($xetable, opts, columns, datas) {
32644
32673
  if (opts.isFooter) {
32645
32674
  var footerTableData = $xetable.footerTableData;
32646
32675
  var footers = getFooterData(opts, footerTableData);
32647
- footers.forEach(function (rows) {
32676
+ footers.forEach(function (row) {
32648
32677
  xml += "<Row>".concat(columns.map(function (column) {
32649
- return "<Cell><Data ss:Type=\"String\">".concat(getFooterCellValue($xetable, opts, rows, column), "</Data></Cell>");
32678
+ return "<Cell><Data ss:Type=\"String\">".concat(getFooterCellValue($xetable, opts, row, column), "</Data></Cell>");
32650
32679
  }).join(''), "</Row>");
32651
32680
  });
32652
32681
  }
@@ -33872,7 +33901,7 @@ function getCheckboxRangeRows(_vm, params, targetTrElem, moveRange) {
33872
33901
  }
33873
33902
  params.columnIndex = targetColumnIndex;
33874
33903
  params.column = targetColumn;
33875
- params.cell = this.getCell(params.row, params.column);
33904
+ params.cell = this.getCellElement(params.row, params.column);
33876
33905
  if (editConfig) {
33877
33906
  if (editOpts.trigger === 'click' || editOpts.trigger === 'dblclick') {
33878
33907
  if (editOpts.mode === 'row') {
@@ -33962,7 +33991,7 @@ function getCheckboxRangeRows(_vm, params, targetTrElem, moveRange) {
33962
33991
  params.column = visibleColumn[params.columnIndex];
33963
33992
  }
33964
33993
  this.scrollToRow(params.row, params.column).then(function () {
33965
- params.cell = _this3.getCell(params.row, params.column);
33994
+ params.cell = _this3.getCellElement(params.row, params.column);
33966
33995
  _this3.handleSelected(params, evnt);
33967
33996
  });
33968
33997
  },
@@ -34441,7 +34470,7 @@ function validErrorRuleValue(rule, val) {
34441
34470
  });
34442
34471
  };
34443
34472
  var posAndFinish = function posAndFinish() {
34444
- firstErrParams.cell = _this2.getCell(firstErrParams.row, firstErrParams.column);
34473
+ firstErrParams.cell = _this2.getCellElement(firstErrParams.row, firstErrParams.column);
34445
34474
  dom.scrollToView(firstErrParams.cell);
34446
34475
  _this2.handleValidError(firstErrParams).then(finish);
34447
34476
  };