vxe-table 4.7.79 → 4.7.81

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 (117) hide show
  1. package/README.ja-JP.md +1 -1
  2. package/README.md +1 -1
  3. package/es/grid/src/grid.js +17 -10
  4. package/es/locale/lang/en-US.js +0 -7
  5. package/es/locale/lang/hu-HU.d.ts +2 -0
  6. package/es/locale/lang/hu-HU.js +496 -501
  7. package/es/locale/lang/ja-JP.js +0 -7
  8. package/es/locale/lang/ko-KR.d.ts +2 -0
  9. package/es/locale/lang/ko-KR.js +0 -7
  10. package/es/locale/lang/pt-BR.js +0 -7
  11. package/es/locale/lang/ru-RU.d.ts +2 -0
  12. package/es/locale/lang/ru-RU.js +496 -503
  13. package/es/locale/lang/uk-UA.d.ts +2 -0
  14. package/es/locale/lang/uk-UA.js +666 -0
  15. package/es/locale/lang/vi-VN.js +0 -7
  16. package/es/locale/lang/zh-CHT.js +666 -0
  17. package/es/locale/lang/zh-CN.js +0 -7
  18. package/es/locale/lang/zh-HK.js +2 -2
  19. package/es/locale/lang/zh-MO.js +2 -2
  20. package/es/locale/lang/zh-TC.js +2 -673
  21. package/es/locale/lang/zh-TW.js +2 -2
  22. package/es/style.css +1 -1
  23. package/es/style.min.css +1 -1
  24. package/es/table/render/index.js +2 -10
  25. package/es/table/src/table.js +18 -7
  26. package/es/table/style.css +2 -2
  27. package/es/table/style.min.css +1 -1
  28. package/es/toolbar/src/toolbar.js +5 -0
  29. package/es/ui/index.js +2 -2
  30. package/es/ui/src/log.js +1 -1
  31. package/es/vxe-table/style.css +2 -2
  32. package/es/vxe-table/style.min.css +1 -1
  33. package/lib/grid/src/grid.js +18 -11
  34. package/lib/grid/src/grid.min.js +1 -1
  35. package/lib/index.umd.js +45 -38
  36. package/lib/index.umd.min.js +1 -1
  37. package/lib/locale/lang/en-US.js +0 -7
  38. package/lib/locale/lang/en-US.umd.js +0 -7
  39. package/lib/locale/lang/hu-HU.d.ts +2 -0
  40. package/lib/locale/lang/hu-HU.js +496 -501
  41. package/lib/locale/lang/hu-HU.min.js +1 -1
  42. package/lib/locale/lang/hu-HU.umd.js +686 -0
  43. package/lib/locale/lang/ja-JP.js +0 -7
  44. package/lib/locale/lang/ja-JP.umd.js +0 -7
  45. package/lib/locale/lang/ko-KR.d.ts +2 -0
  46. package/lib/locale/lang/ko-KR.js +0 -7
  47. package/lib/locale/lang/ko-KR.min.js +1 -1
  48. package/lib/locale/lang/ko-KR.umd.js +686 -0
  49. package/lib/locale/lang/pt-BR.js +0 -7
  50. package/lib/locale/lang/pt-BR.umd.js +0 -7
  51. package/lib/locale/lang/ru-RU.d.ts +2 -0
  52. package/lib/locale/lang/ru-RU.js +496 -503
  53. package/lib/locale/lang/ru-RU.min.js +1 -1
  54. package/lib/locale/lang/ru-RU.umd.js +686 -0
  55. package/lib/locale/lang/uk-UA.d.ts +2 -0
  56. package/lib/locale/lang/uk-UA.js +672 -0
  57. package/lib/locale/lang/uk-UA.min.js +1 -0
  58. package/lib/locale/lang/uk-UA.umd.js +686 -0
  59. package/lib/locale/lang/vi-VN.js +0 -7
  60. package/lib/locale/lang/zh-CHT.js +672 -0
  61. package/lib/locale/lang/zh-CHT.min.js +1 -0
  62. package/lib/locale/lang/zh-CN.js +0 -7
  63. package/lib/locale/lang/zh-CN.umd.js +0 -7
  64. package/lib/locale/lang/zh-HK.js +2 -2
  65. package/lib/locale/lang/zh-HK.min.js +1 -1
  66. package/lib/locale/lang/zh-HK.umd.js +7 -677
  67. package/lib/locale/lang/zh-MO.js +2 -2
  68. package/lib/locale/lang/zh-MO.min.js +1 -1
  69. package/lib/locale/lang/zh-MO.umd.js +7 -677
  70. package/lib/locale/lang/zh-TC.js +3 -673
  71. package/lib/locale/lang/zh-TC.min.js +1 -1
  72. package/lib/locale/lang/zh-TC.umd.js +7 -677
  73. package/lib/locale/lang/zh-TW.js +2 -2
  74. package/lib/locale/lang/zh-TW.min.js +1 -1
  75. package/lib/locale/lang/zh-TW.umd.js +7 -677
  76. package/lib/style.css +1 -1
  77. package/lib/style.min.css +1 -1
  78. package/lib/table/render/index.js +2 -10
  79. package/lib/table/render/index.min.js +1 -1
  80. package/lib/table/src/table.js +17 -7
  81. package/lib/table/src/table.min.js +1 -1
  82. package/lib/table/style/style.css +2 -2
  83. package/lib/table/style/style.min.css +1 -1
  84. package/lib/toolbar/src/toolbar.js +5 -0
  85. package/lib/toolbar/src/toolbar.min.js +1 -1
  86. package/lib/ui/index.js +2 -2
  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/lib/vxe-table/style/style.css +2 -2
  91. package/lib/vxe-table/style/style.min.css +1 -1
  92. package/package.json +4 -4
  93. package/packages/grid/src/grid.ts +16 -9
  94. package/packages/locale/lang/en-US.ts +0 -9
  95. package/packages/locale/lang/hu-HU.ts +496 -503
  96. package/packages/locale/lang/ja-JP.ts +0 -9
  97. package/packages/locale/lang/ko-KR.ts +0 -9
  98. package/packages/locale/lang/pt-BR.ts +0 -9
  99. package/packages/locale/lang/ru-RU.ts +496 -505
  100. package/packages/locale/lang/uk-UA.ts +666 -0
  101. package/packages/locale/lang/vi-VN.ts +0 -9
  102. package/packages/locale/lang/zh-CHT.ts +666 -0
  103. package/packages/locale/lang/zh-CN.ts +0 -9
  104. package/packages/locale/lang/zh-HK.ts +2 -2
  105. package/packages/locale/lang/zh-MO.ts +2 -2
  106. package/packages/locale/lang/zh-TC.ts +2 -674
  107. package/packages/locale/lang/zh-TW.ts +2 -2
  108. package/packages/table/render/index.ts +2 -10
  109. package/packages/table/src/table.ts +17 -7
  110. package/packages/toolbar/src/toolbar.ts +5 -0
  111. package/styles/components/table.scss +2 -2
  112. /package/es/{iconfont.1726116305532.ttf → iconfont.1727054403308.ttf} +0 -0
  113. /package/es/{iconfont.1726116305532.woff → iconfont.1727054403308.woff} +0 -0
  114. /package/es/{iconfont.1726116305532.woff2 → iconfont.1727054403308.woff2} +0 -0
  115. /package/lib/{iconfont.1726116305532.ttf → iconfont.1727054403308.ttf} +0 -0
  116. /package/lib/{iconfont.1726116305532.woff → iconfont.1727054403308.woff} +0 -0
  117. /package/lib/{iconfont.1726116305532.woff2 → iconfont.1727054403308.woff2} +0 -0
package/README.ja-JP.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # vxe-table
2
2
 
3
- [简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
3
+ [简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
4
4
 
5
5
  [![star](https://gitee.com/xuliangzhan/vxe-table/badge/star.svg?theme=gvp)](https://gitee.com/xuliangzhan/vxe-table/stargazers)
6
6
  [![npm version](https://img.shields.io/npm/v/vxe-table.svg?style=flat-square)](https://www.npmjs.com/package/vxe-table)
package/README.md CHANGED
@@ -23,7 +23,7 @@
23
23
  * [x] ~~v1.0 基于 vue2.6,支持所有主流的浏览器,实现表格的一切实用的功能~~
24
24
  * [x] ~~v2.0 基于 vue2.6,支持所有主流的浏览器,同时兼具功能与性能~~
25
25
  * [x] v3.0 基于 vue2.6+,支持现代浏览器并保留兼容 IE11
26
- * [ ] v3.9 基于 vue2.6+,重构拆分组件,分为 [Vxe table](https://github.com/x-extends/vxe-table) 和 [Vxe UI](https://github.com/x-extends/vxe-pc-ui),将支持可视化组件
26
+ * [x] v3.9 基于 vue2.6+,重构拆分组件,分为 [Vxe table](https://github.com/x-extends/vxe-table) 和 [Vxe UI](https://github.com/x-extends/vxe-pc-ui),将支持可视化组件
27
27
  * [x] v4.0 基于 vue3.2+,只支持现代浏览器,不支持 IE
28
28
  * [x] v4.7 基于 vue3.2+,重构拆分组件,分为 [Vxe table](https://github.com/x-extends/vxe-table) 和 [Vxe UI](https://github.com/x-extends/vxe-pc-ui),将支持可视化组件
29
29
  * [ ] 下一阶段:sticky 渲染模式、将虚拟滚动提升到极致、虚拟滚动动态行高、数据图表可视化
@@ -742,9 +742,12 @@ export default defineComponent({
742
742
  }
743
743
  }
744
744
  if (isInited) {
745
- const { computeSortOpts } = $xeTable.getComputeMaps();
746
- const sortOpts = computeSortOpts.value;
747
- let defaultSort = sortOpts.defaultSort;
745
+ let defaultSort = null;
746
+ if ($xeTable) {
747
+ const { computeSortOpts } = $xeTable.getComputeMaps();
748
+ const sortOpts = computeSortOpts.value;
749
+ defaultSort = sortOpts.defaultSort;
750
+ }
748
751
  // 如果使用默认排序
749
752
  if (defaultSort) {
750
753
  if (!XEUtils.isArray(defaultSort)) {
@@ -758,15 +761,19 @@ export default defineComponent({
758
761
  };
759
762
  });
760
763
  }
761
- filterList = $xeTable.getCheckedFilters();
764
+ if ($xeTable) {
765
+ filterList = $xeTable.getCheckedFilters();
766
+ }
762
767
  }
763
768
  else {
764
- if (isReload) {
765
- $xeTable.clearAll();
766
- }
767
- else {
768
- sortList = $xeTable.getSortColumns();
769
- filterList = $xeTable.getCheckedFilters();
769
+ if ($xeTable) {
770
+ if (isReload) {
771
+ $xeTable.clearAll();
772
+ }
773
+ else {
774
+ sortList = $xeTable.getSortColumns();
775
+ filterList = $xeTable.getCheckedFilters();
776
+ }
770
777
  }
771
778
  }
772
779
  const commitParams = {
@@ -472,9 +472,6 @@ export default {
472
472
  ss: 'Second'
473
473
  }
474
474
  },
475
- /**
476
- * 扩展插件
477
- */
478
475
  plugins: {
479
476
  extendCellArea: {
480
477
  area: {
@@ -579,10 +576,6 @@ export default {
579
576
  notData: 'No data'
580
577
  }
581
578
  },
582
- /**
583
- * 以下废弃
584
- * @deprecated
585
- */
586
579
  renderer: {
587
580
  search: 'Search',
588
581
  cases: {
@@ -0,0 +1,2 @@
1
+ declare const langMsgs: { [key: string]: any }
2
+ export default langMsgs