vxe-table 3.13.7 → 3.13.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 (45) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/locale/lang/ja-JP.js +2 -2
  4. package/es/style.css +1 -1
  5. package/es/style.min.css +1 -1
  6. package/es/table/module/edit/mixin.js +7 -5
  7. package/es/table/src/methods.js +1 -1
  8. package/es/table/style.css +0 -17
  9. package/es/table/style.min.css +1 -1
  10. package/es/ui/index.js +1 -1
  11. package/es/ui/src/log.js +1 -1
  12. package/es/vxe-table/style.css +0 -17
  13. package/es/vxe-table/style.min.css +1 -1
  14. package/lib/index.css +1 -1
  15. package/lib/index.min.css +1 -1
  16. package/lib/index.umd.js +10 -8
  17. package/lib/index.umd.min.js +1 -1
  18. package/lib/locale/lang/ja-JP.js +2 -2
  19. package/lib/locale/lang/ja-JP.min.js +1 -1
  20. package/lib/locale/lang/ja-JP.umd.js +2 -2
  21. package/lib/style.css +1 -1
  22. package/lib/style.min.css +1 -1
  23. package/lib/table/module/edit/mixin.js +7 -5
  24. package/lib/table/module/edit/mixin.min.js +1 -1
  25. package/lib/table/src/methods.js +1 -1
  26. package/lib/table/src/methods.min.js +1 -1
  27. package/lib/table/style/style.css +0 -17
  28. package/lib/table/style/style.min.css +1 -1
  29. package/lib/ui/index.js +1 -1
  30. package/lib/ui/index.min.js +1 -1
  31. package/lib/ui/src/log.js +1 -1
  32. package/lib/ui/src/log.min.js +1 -1
  33. package/lib/vxe-table/style/style.css +0 -17
  34. package/lib/vxe-table/style/style.min.css +1 -1
  35. package/package.json +1 -1
  36. package/packages/locale/lang/ja-JP.ts +2 -2
  37. package/packages/table/module/edit/mixin.ts +7 -5
  38. package/packages/table/src/methods.ts +1 -1
  39. package/styles/components/table.scss +0 -19
  40. /package/es/{iconfont.1740188839037.ttf → iconfont.1740359276306.ttf} +0 -0
  41. /package/es/{iconfont.1740188839037.woff → iconfont.1740359276306.woff} +0 -0
  42. /package/es/{iconfont.1740188839037.woff2 → iconfont.1740359276306.woff2} +0 -0
  43. /package/lib/{iconfont.1740188839037.ttf → iconfont.1740359276306.ttf} +0 -0
  44. /package/lib/{iconfont.1740188839037.woff → iconfont.1740359276306.woff} +0 -0
  45. /package/lib/{iconfont.1740188839037.woff2 → iconfont.1740359276306.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.13.7";
2223
+ const version = "3.13.8";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2843,7 +2843,7 @@ function isNodeElement(elem) {
2843
2843
  const {
2844
2844
  log: log_log
2845
2845
  } = core_.VxeUI;
2846
- const log_version = `table v${"3.13.7"}`;
2846
+ const log_version = `table v${"3.13.8"}`;
2847
2847
  const warnLog = log_log.create('warn', log_version);
2848
2848
  const errLog = log_log.create('error', log_version);
2849
2849
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -12011,7 +12011,7 @@ const Methods = {
12011
12011
  const rowid = getRowid(this, row);
12012
12012
  this.clearHoverRow();
12013
12013
  if ($el) {
12014
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach($el.querySelectorAll(`[rowid="${rowid}"]`), elem => addClass(elem, 'row--hover'));
12014
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach($el.querySelectorAll(`.vxe-body--row[rowid="${rowid}"]`), elem => addClass(elem, 'row--hover'));
12015
12015
  }
12016
12016
  this.hoverRow = row;
12017
12017
  },
@@ -21006,7 +21006,7 @@ function handleClearEdit($xeTable, evnt, targetRow) {
21006
21006
  }
21007
21007
  return $xeTable.$nextTick().then(() => $xeTable.updateCellAreas());
21008
21008
  }
21009
- function handleEditActive($xeTable, params, evnt, isFocus) {
21009
+ function handleEditActive($xeTable, params, evnt, isFocus, isPos) {
21010
21010
  const props = $xeTable;
21011
21011
  const reactData = $xeTable;
21012
21012
  const {
@@ -21125,7 +21125,7 @@ function handleEditActive($xeTable, params, evnt, isFocus) {
21125
21125
  column.renderHeight = cell.offsetHeight;
21126
21126
  actived.args = params;
21127
21127
  actived.column = column;
21128
- if (isFocus) {
21128
+ if (isPos) {
21129
21129
  setTimeout(() => {
21130
21130
  $xeTable.handleFocus(params, evnt);
21131
21131
  });
@@ -21156,7 +21156,7 @@ function handleEditCell($xeTable, row, fieldOrColumn, isPos) {
21156
21156
  columnIndex: $xeTable.getColumnIndex(column),
21157
21157
  cell,
21158
21158
  $table: $xeTable
21159
- }, null, false);
21159
+ }, null, isPos, isPos);
21160
21160
  internalData._lastCallTime = Date.now();
21161
21161
  }
21162
21162
  return $xeTable.$nextTick();
@@ -21476,7 +21476,7 @@ function handleEditCell($xeTable, row, fieldOrColumn, isPos) {
21476
21476
  */
21477
21477
  handleEdit(params, evnt) {
21478
21478
  const $xeTable = this;
21479
- return handleEditActive($xeTable, params, evnt, true);
21479
+ return handleEditActive($xeTable, params, evnt, true, true);
21480
21480
  },
21481
21481
  /**
21482
21482
  * @deprecated
@@ -21632,10 +21632,12 @@ function handleEditCell($xeTable, row, fieldOrColumn, isPos) {
21632
21632
  _setEditRow(row, fieldOrColumn) {
21633
21633
  const $xeTable = this;
21634
21634
  let column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().find(this.visibleColumn, column => isEnableConf(column.editRender));
21635
+ let isPos = false;
21635
21636
  if (fieldOrColumn) {
21637
+ isPos = true;
21636
21638
  column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(fieldOrColumn) ? this.getColumnByField(fieldOrColumn) : fieldOrColumn;
21637
21639
  }
21638
- return handleEditCell($xeTable, row, column, false);
21640
+ return handleEditCell($xeTable, row, column, isPos);
21639
21641
  },
21640
21642
  _setActiveCell(row, fieldOrColumn) {
21641
21643
  if (true) {