vxe-table 3.11.0 → 3.11.1

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 (75) hide show
  1. package/es/locale/lang/en-US.js +1 -0
  2. package/es/locale/lang/es-ES.js +1 -0
  3. package/es/locale/lang/hu-HU.js +1 -0
  4. package/es/locale/lang/ja-JP.js +1 -0
  5. package/es/locale/lang/ko-KR.js +1 -0
  6. package/es/locale/lang/pt-BR.js +1 -0
  7. package/es/locale/lang/ru-RU.js +1 -0
  8. package/es/locale/lang/uk-UA.js +1 -0
  9. package/es/locale/lang/vi-VN.js +1 -0
  10. package/es/locale/lang/zh-CHT.js +1 -0
  11. package/es/locale/lang/zh-CN.js +1 -0
  12. package/es/style.css +1 -1
  13. package/es/table/module/edit/mixin.js +8 -0
  14. package/es/ui/index.js +1 -1
  15. package/es/ui/src/log.js +1 -1
  16. package/lib/index.umd.js +13 -2
  17. package/lib/index.umd.min.js +1 -1
  18. package/lib/locale/lang/en-US.js +1 -0
  19. package/lib/locale/lang/en-US.min.js +1 -1
  20. package/lib/locale/lang/en-US.umd.js +1 -0
  21. package/lib/locale/lang/es-ES.js +1 -0
  22. package/lib/locale/lang/es-ES.min.js +1 -1
  23. package/lib/locale/lang/es-ES.umd.js +1 -0
  24. package/lib/locale/lang/hu-HU.js +1 -0
  25. package/lib/locale/lang/hu-HU.min.js +1 -1
  26. package/lib/locale/lang/hu-HU.umd.js +1 -0
  27. package/lib/locale/lang/ja-JP.js +1 -0
  28. package/lib/locale/lang/ja-JP.min.js +1 -1
  29. package/lib/locale/lang/ja-JP.umd.js +1 -0
  30. package/lib/locale/lang/ko-KR.js +1 -0
  31. package/lib/locale/lang/ko-KR.min.js +1 -1
  32. package/lib/locale/lang/ko-KR.umd.js +1 -0
  33. package/lib/locale/lang/pt-BR.js +1 -0
  34. package/lib/locale/lang/pt-BR.min.js +1 -1
  35. package/lib/locale/lang/pt-BR.umd.js +1 -0
  36. package/lib/locale/lang/ru-RU.js +1 -0
  37. package/lib/locale/lang/ru-RU.min.js +1 -1
  38. package/lib/locale/lang/ru-RU.umd.js +1 -0
  39. package/lib/locale/lang/uk-UA.js +1 -0
  40. package/lib/locale/lang/uk-UA.min.js +1 -1
  41. package/lib/locale/lang/uk-UA.umd.js +1 -0
  42. package/lib/locale/lang/vi-VN.js +1 -0
  43. package/lib/locale/lang/vi-VN.min.js +1 -1
  44. package/lib/locale/lang/zh-CHT.js +1 -0
  45. package/lib/locale/lang/zh-CHT.min.js +1 -1
  46. package/lib/locale/lang/zh-CHT.umd.js +1 -0
  47. package/lib/locale/lang/zh-CN.js +1 -0
  48. package/lib/locale/lang/zh-CN.min.js +1 -1
  49. package/lib/locale/lang/zh-CN.umd.js +1 -0
  50. package/lib/style.css +1 -1
  51. package/lib/table/module/edit/mixin.js +10 -0
  52. package/lib/table/module/edit/mixin.min.js +1 -1
  53. package/lib/ui/index.js +1 -1
  54. package/lib/ui/index.min.js +1 -1
  55. package/lib/ui/src/log.js +1 -1
  56. package/lib/ui/src/log.min.js +1 -1
  57. package/package.json +2 -2
  58. package/packages/locale/lang/en-US.ts +1 -0
  59. package/packages/locale/lang/es-ES.ts +1 -0
  60. package/packages/locale/lang/hu-HU.ts +1 -0
  61. package/packages/locale/lang/ja-JP.ts +1 -0
  62. package/packages/locale/lang/ko-KR.ts +1 -0
  63. package/packages/locale/lang/pt-BR.ts +1 -0
  64. package/packages/locale/lang/ru-RU.ts +1 -0
  65. package/packages/locale/lang/uk-UA.ts +1 -0
  66. package/packages/locale/lang/vi-VN.ts +1 -0
  67. package/packages/locale/lang/zh-CHT.ts +1 -0
  68. package/packages/locale/lang/zh-CN.ts +1 -0
  69. package/packages/table/module/edit/mixin.ts +8 -0
  70. /package/es/{iconfont.1731890707082.ttf → iconfont.1731937243466.ttf} +0 -0
  71. /package/es/{iconfont.1731890707082.woff → iconfont.1731937243466.woff} +0 -0
  72. /package/es/{iconfont.1731890707082.woff2 → iconfont.1731937243466.woff2} +0 -0
  73. /package/lib/{iconfont.1731890707082.ttf → iconfont.1731937243466.ttf} +0 -0
  74. /package/lib/{iconfont.1731890707082.woff → iconfont.1731937243466.woff} +0 -0
  75. /package/lib/{iconfont.1731890707082.woff2 → iconfont.1731937243466.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.0";
2223
+ const version = "3.11.1";
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.0"}`;
2777
+ const log_version = `table v${"3.11.1"}`;
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
@@ -18131,7 +18131,11 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18131
18131
  */
18132
18132
  handleClearEdit(evnt, targetRow) {
18133
18133
  const $xeTable = this;
18134
+ const props = $xeTable;
18134
18135
  const reactData = $xeTable;
18136
+ const {
18137
+ mouseConfig
18138
+ } = props;
18135
18139
  const {
18136
18140
  editStore
18137
18141
  } = reactData;
@@ -18144,6 +18148,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18144
18148
  column
18145
18149
  } = actived;
18146
18150
  const validOpts = $xeTable.validOpts;
18151
+ const mouseOpts = $xeTable.computeMouseOpts;
18147
18152
  if (row || column) {
18148
18153
  if (targetRow && getRowid($xeTable, targetRow) !== getRowid($xeTable, row)) {
18149
18154
  return $xeTable.$nextTick();
@@ -18164,6 +18169,11 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18164
18169
  }
18165
18170
  focused.row = null;
18166
18171
  focused.column = null;
18172
+ $xeTable.$nextTick(() => {
18173
+ if (mouseConfig && mouseOpts.area && $xeTable.handleRecalculateCellAreas) {
18174
+ return $xeTable.handleRecalculateCellAreas();
18175
+ }
18176
+ });
18167
18177
  if (validOpts.autoClear) {
18168
18178
  if (validOpts.msgMode !== 'full' || mixin_getConfig().cellVaildMode === 'obsolete') {
18169
18179
  if ($xeTable.clearValidate) {
@@ -26666,6 +26676,7 @@ const Toolbar = VxeToolbar;
26666
26676
  fileTypeHint: '支持 {0} 文件类型',
26667
26677
  fileSizeHint: '单个文件大小不超过{0}',
26668
26678
  fileCountHint: '最多可上传{0}个文件',
26679
+ uploadTypeErr: '文件类型不匹配!',
26669
26680
  overCountErr: '最多只能选择{0}个文件!',
26670
26681
  overCountExtraErr: '已超出最大数量{0}个,超出的{1}个文件将被忽略!',
26671
26682
  overSizeErr: '文件大小最大不能超过{0}!',