vxe-table 4.11.8 → 4.11.10

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/hook.js +7 -5
  7. package/es/table/src/table.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/hook.js +7 -5
  24. package/lib/table/module/edit/hook.min.js +1 -1
  25. package/lib/table/src/table.js +1 -1
  26. package/lib/table/src/table.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/hook.ts +7 -5
  38. package/packages/table/src/table.ts +1 -1
  39. package/styles/components/table.scss +0 -19
  40. /package/es/{iconfont.1740188851839.ttf → iconfont.1740359300055.ttf} +0 -0
  41. /package/es/{iconfont.1740188851839.woff → iconfont.1740359300055.woff} +0 -0
  42. /package/es/{iconfont.1740188851839.woff2 → iconfont.1740359300055.woff2} +0 -0
  43. /package/lib/{iconfont.1740188851839.ttf → iconfont.1740359300055.ttf} +0 -0
  44. /package/lib/{iconfont.1740188851839.woff → iconfont.1740359300055.woff} +0 -0
  45. /package/lib/{iconfont.1740188851839.woff2 → iconfont.1740359300055.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
3138
3138
  ;// ./packages/ui/index.ts
3139
3139
 
3140
3140
 
3141
- const version = "4.11.8";
3141
+ const version = "4.11.10";
3142
3142
  core_.VxeUI.version = version;
3143
3143
  core_.VxeUI.tableVersion = version;
3144
3144
  core_.VxeUI.setConfig({
@@ -3586,7 +3586,7 @@ var esnext_iterator_some = __webpack_require__(7550);
3586
3586
  const {
3587
3587
  log: log_log
3588
3588
  } = core_.VxeUI;
3589
- const log_version = `table v${"4.11.8"}`;
3589
+ const log_version = `table v${"4.11.10"}`;
3590
3590
  const warnLog = log_log.create('warn', log_version);
3591
3591
  const errLog = log_log.create('error', log_version);
3592
3592
  ;// ./packages/table/src/columnInfo.ts
@@ -20957,7 +20957,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
20957
20957
  const el = refElem.value;
20958
20958
  tablePrivateMethods.clearHoverRow();
20959
20959
  if (el) {
20960
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(el.querySelectorAll(`[rowid="${rowid}"]`), elem => addClass(elem, 'row--hover'));
20960
+ 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'));
20961
20961
  }
20962
20962
  internalData.hoverRow = row;
20963
20963
  },
@@ -23380,7 +23380,7 @@ edit_hook_hooks.add('tableEditModule', {
23380
23380
  }
23381
23381
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => $xeTable.updateCellAreas());
23382
23382
  };
23383
- const handleEditActive = (params, evnt, isFocus) => {
23383
+ const handleEditActive = (params, evnt, isFocus, isPos) => {
23384
23384
  const {
23385
23385
  editConfig,
23386
23386
  mouseConfig
@@ -23497,7 +23497,7 @@ edit_hook_hooks.add('tableEditModule', {
23497
23497
  column.renderHeight = cell.offsetHeight;
23498
23498
  actived.args = params;
23499
23499
  actived.column = column;
23500
- if (isFocus) {
23500
+ if (isPos) {
23501
23501
  setTimeout(() => {
23502
23502
  $xeTable.handleFocus(params, evnt);
23503
23503
  });
@@ -23526,7 +23526,7 @@ edit_hook_hooks.add('tableEditModule', {
23526
23526
  columnIndex: $xeTable.getColumnIndex(column),
23527
23527
  cell,
23528
23528
  $table: $xeTable
23529
- }, null, false);
23529
+ }, null, isPos, isPos);
23530
23530
  internalData._lastCallTime = Date.now();
23531
23531
  }
23532
23532
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
@@ -23925,10 +23925,12 @@ edit_hook_hooks.add('tableEditModule', {
23925
23925
  visibleColumn
23926
23926
  } = internalData;
23927
23927
  let column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().find(visibleColumn, column => isEnableConf(column.editRender));
23928
+ let isPos = false;
23928
23929
  if (fieldOrColumn) {
23930
+ isPos = true;
23929
23931
  column = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(fieldOrColumn) ? $xeTable.getColumnByField(fieldOrColumn) : fieldOrColumn;
23930
23932
  }
23931
- return handleEditCell(row, column, false);
23933
+ return handleEditCell(row, column, isPos);
23932
23934
  },
23933
23935
  setActiveCell(row, fieldOrColumn) {
23934
23936
  if (true) {
@@ -23974,7 +23976,7 @@ edit_hook_hooks.add('tableEditModule', {
23974
23976
  * 处理激活编辑
23975
23977
  */
23976
23978
  handleEdit(params, evnt) {
23977
- return handleEditActive(params, evnt, true);
23979
+ return handleEditActive(params, evnt, true, true);
23978
23980
  },
23979
23981
  /**
23980
23982
  * @deprecated