vxe-table 3.20.14 → 3.20.15

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 (131) hide show
  1. package/es/locale/lang/ar-EG.js +27 -9
  2. package/es/locale/lang/de-DE.js +25 -7
  3. package/es/locale/lang/en-US.js +26 -8
  4. package/es/locale/lang/es-ES.js +25 -7
  5. package/es/locale/lang/fr-FR.js +27 -9
  6. package/es/locale/lang/hu-HU.js +26 -8
  7. package/es/locale/lang/hy-AM.js +26 -8
  8. package/es/locale/lang/id-ID.js +27 -9
  9. package/es/locale/lang/it-IT.js +26 -8
  10. package/es/locale/lang/ja-JP.js +25 -7
  11. package/es/locale/lang/ko-KR.js +26 -8
  12. package/es/locale/lang/ms-MY.js +27 -9
  13. package/es/locale/lang/nb-NO.js +27 -9
  14. package/es/locale/lang/pt-BR.js +27 -9
  15. package/es/locale/lang/ru-RU.js +25 -7
  16. package/es/locale/lang/th-TH.js +26 -8
  17. package/es/locale/lang/ug-CN.js +26 -8
  18. package/es/locale/lang/uk-UA.js +26 -8
  19. package/es/locale/lang/uz-UZ.js +26 -8
  20. package/es/locale/lang/vi-VN.js +25 -7
  21. package/es/locale/lang/zh-CHT.js +25 -7
  22. package/es/locale/lang/zh-CN.js +25 -7
  23. package/es/style.css +1 -1
  24. package/es/table/src/cell.js +4 -3
  25. package/es/ui/index.js +1 -1
  26. package/es/ui/src/log.js +1 -1
  27. package/lib/index.umd.js +31 -13
  28. package/lib/index.umd.min.js +1 -1
  29. package/lib/locale/lang/ar-EG.js +27 -9
  30. package/lib/locale/lang/ar-EG.min.js +1 -1
  31. package/lib/locale/lang/ar-EG.umd.js +27 -9
  32. package/lib/locale/lang/de-DE.js +25 -7
  33. package/lib/locale/lang/de-DE.min.js +1 -1
  34. package/lib/locale/lang/de-DE.umd.js +25 -7
  35. package/lib/locale/lang/en-US.js +26 -8
  36. package/lib/locale/lang/en-US.min.js +1 -1
  37. package/lib/locale/lang/en-US.umd.js +26 -8
  38. package/lib/locale/lang/es-ES.js +25 -7
  39. package/lib/locale/lang/es-ES.min.js +1 -1
  40. package/lib/locale/lang/es-ES.umd.js +25 -7
  41. package/lib/locale/lang/fr-FR.js +27 -9
  42. package/lib/locale/lang/fr-FR.min.js +1 -1
  43. package/lib/locale/lang/fr-FR.umd.js +27 -9
  44. package/lib/locale/lang/hu-HU.js +26 -8
  45. package/lib/locale/lang/hu-HU.min.js +1 -1
  46. package/lib/locale/lang/hu-HU.umd.js +26 -8
  47. package/lib/locale/lang/hy-AM.js +26 -8
  48. package/lib/locale/lang/hy-AM.min.js +1 -1
  49. package/lib/locale/lang/hy-AM.umd.js +26 -8
  50. package/lib/locale/lang/id-ID.js +27 -9
  51. package/lib/locale/lang/id-ID.min.js +1 -1
  52. package/lib/locale/lang/id-ID.umd.js +27 -9
  53. package/lib/locale/lang/it-IT.js +26 -8
  54. package/lib/locale/lang/it-IT.min.js +1 -1
  55. package/lib/locale/lang/it-IT.umd.js +26 -8
  56. package/lib/locale/lang/ja-JP.js +25 -7
  57. package/lib/locale/lang/ja-JP.min.js +1 -1
  58. package/lib/locale/lang/ja-JP.umd.js +25 -7
  59. package/lib/locale/lang/ko-KR.js +26 -8
  60. package/lib/locale/lang/ko-KR.min.js +1 -1
  61. package/lib/locale/lang/ko-KR.umd.js +26 -8
  62. package/lib/locale/lang/ms-MY.js +27 -9
  63. package/lib/locale/lang/ms-MY.min.js +1 -1
  64. package/lib/locale/lang/ms-MY.umd.js +27 -9
  65. package/lib/locale/lang/nb-NO.js +27 -9
  66. package/lib/locale/lang/nb-NO.min.js +1 -1
  67. package/lib/locale/lang/nb-NO.umd.js +27 -9
  68. package/lib/locale/lang/pt-BR.js +27 -9
  69. package/lib/locale/lang/pt-BR.min.js +1 -1
  70. package/lib/locale/lang/pt-BR.umd.js +27 -9
  71. package/lib/locale/lang/ru-RU.js +25 -7
  72. package/lib/locale/lang/ru-RU.min.js +1 -1
  73. package/lib/locale/lang/ru-RU.umd.js +25 -7
  74. package/lib/locale/lang/th-TH.js +26 -8
  75. package/lib/locale/lang/th-TH.min.js +1 -1
  76. package/lib/locale/lang/th-TH.umd.js +26 -8
  77. package/lib/locale/lang/ug-CN.js +26 -8
  78. package/lib/locale/lang/ug-CN.min.js +1 -1
  79. package/lib/locale/lang/ug-CN.umd.js +26 -8
  80. package/lib/locale/lang/uk-UA.js +26 -8
  81. package/lib/locale/lang/uk-UA.min.js +1 -1
  82. package/lib/locale/lang/uk-UA.umd.js +26 -8
  83. package/lib/locale/lang/uz-UZ.js +26 -8
  84. package/lib/locale/lang/uz-UZ.min.js +1 -1
  85. package/lib/locale/lang/uz-UZ.umd.js +26 -8
  86. package/lib/locale/lang/vi-VN.js +25 -7
  87. package/lib/locale/lang/vi-VN.min.js +1 -1
  88. package/lib/locale/lang/vi-VN.umd.js +25 -7
  89. package/lib/locale/lang/zh-CHT.js +25 -7
  90. package/lib/locale/lang/zh-CHT.min.js +1 -1
  91. package/lib/locale/lang/zh-CHT.umd.js +25 -7
  92. package/lib/locale/lang/zh-CN.js +25 -7
  93. package/lib/locale/lang/zh-CN.min.js +1 -1
  94. package/lib/locale/lang/zh-CN.umd.js +25 -7
  95. package/lib/style.css +1 -1
  96. package/lib/table/src/cell.js +4 -4
  97. package/lib/table/src/cell.min.js +1 -1
  98. package/lib/ui/index.js +1 -1
  99. package/lib/ui/index.min.js +1 -1
  100. package/lib/ui/src/log.js +1 -1
  101. package/lib/ui/src/log.min.js +1 -1
  102. package/package.json +1 -1
  103. package/packages/locale/lang/ar-EG.ts +850 -832
  104. package/packages/locale/lang/de-DE.ts +850 -832
  105. package/packages/locale/lang/en-US.ts +850 -832
  106. package/packages/locale/lang/es-ES.ts +850 -832
  107. package/packages/locale/lang/fr-FR.ts +850 -832
  108. package/packages/locale/lang/hu-HU.ts +850 -832
  109. package/packages/locale/lang/hy-AM.ts +850 -832
  110. package/packages/locale/lang/id-ID.ts +850 -832
  111. package/packages/locale/lang/it-IT.ts +850 -832
  112. package/packages/locale/lang/ja-JP.ts +850 -832
  113. package/packages/locale/lang/ko-KR.ts +850 -832
  114. package/packages/locale/lang/ms-MY.ts +850 -832
  115. package/packages/locale/lang/nb-NO.ts +850 -832
  116. package/packages/locale/lang/pt-BR.ts +850 -832
  117. package/packages/locale/lang/ru-RU.ts +850 -832
  118. package/packages/locale/lang/th-TH.ts +850 -832
  119. package/packages/locale/lang/ug-CN.ts +850 -832
  120. package/packages/locale/lang/uk-UA.ts +850 -832
  121. package/packages/locale/lang/uz-UZ.ts +850 -832
  122. package/packages/locale/lang/vi-VN.ts +850 -832
  123. package/packages/locale/lang/zh-CHT.ts +850 -832
  124. package/packages/locale/lang/zh-CN.ts +25 -7
  125. package/packages/table/src/cell.ts +4 -3
  126. /package/es/{iconfont.1779778138885.ttf → iconfont.1780199621509.ttf} +0 -0
  127. /package/es/{iconfont.1779778138885.woff → iconfont.1780199621509.woff} +0 -0
  128. /package/es/{iconfont.1779778138885.woff2 → iconfont.1780199621509.woff2} +0 -0
  129. /package/lib/{iconfont.1779778138885.ttf → iconfont.1780199621509.ttf} +0 -0
  130. /package/lib/{iconfont.1779778138885.woff → iconfont.1780199621509.woff} +0 -0
  131. /package/lib/{iconfont.1779778138885.woff2 → iconfont.1780199621509.woff2} +0 -0
@@ -370,7 +370,7 @@ export const Cell = {
370
370
  const tableInternalData = $table;
371
371
  const { isRowGroupStatus } = tableReactData;
372
372
  const { editConfig } = tableProps;
373
- const { field, slots, editRender, cellRender, rowGroupNode, aggFunc, formatter } = column;
373
+ const { field, slots, editRender, cellRender, rowGroupNode, aggFunc } = column;
374
374
  const isEnableEdit = editConfig && isEnableConf(editConfig);
375
375
  const editRenderOpts = isEnableEdit && isEnableConf(editRender) ? editRender : null;
376
376
  const cellRenderOpts = isEnableConf(cellRender) ? cellRender : null;
@@ -445,8 +445,9 @@ export const Cell = {
445
445
  return renderCellBaseVNs(h, params, $table.callSlot(defaultSlot, params, h));
446
446
  }
447
447
  const renderOpts = editRenderOpts || cellRenderOpts;
448
- // formatter > (renderTableCell | renderTableDefault)
449
- if (renderOpts && !formatter) {
448
+ // 如果是编辑表格:renderTableCell > formatter
449
+ // 如果是查看表格:renderTableDefault > formatter
450
+ if (renderOpts) {
450
451
  const compConf = renderer.get(renderOpts.name);
451
452
  if (compConf) {
452
453
  const renderFn = editRenderOpts ? (compConf.renderTableCell || compConf.renderCell) : (compConf.renderTableDefault || compConf.renderDefault);
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.20.14";
3
+ export const version = "3.20.15";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.20.14"}`;
3
+ const version = `table v${"3.20.15"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -3311,7 +3311,7 @@ function getClass(property, params) {
3311
3311
  /* unused harmony import specifier */ var VxeUI;
3312
3312
 
3313
3313
 
3314
- const version = "3.20.14";
3314
+ const version = "3.20.15";
3315
3315
  core_.VxeUI.version = version;
3316
3316
  core_.VxeUI.tableVersion = version;
3317
3317
  core_.VxeUI.setConfig({
@@ -4067,7 +4067,7 @@ var es_iterator_reduce = __webpack_require__(8237);
4067
4067
  const {
4068
4068
  log: log_log
4069
4069
  } = core_.VxeUI;
4070
- const log_version = `table v${"3.20.14"}`;
4070
+ const log_version = `table v${"3.20.15"}`;
4071
4071
  const warnLog = log_log.create('warn', log_version);
4072
4072
  const errLog = log_log.create('error', log_version);
4073
4073
  ;// ./packages/table/src/columnInfo.ts
@@ -5821,8 +5821,7 @@ const Cell = {
5821
5821
  editRender,
5822
5822
  cellRender,
5823
5823
  rowGroupNode,
5824
- aggFunc,
5825
- formatter
5824
+ aggFunc
5826
5825
  } = column;
5827
5826
  const isEnableEdit = editConfig && isEnableConf(editConfig);
5828
5827
  const editRenderOpts = isEnableEdit && isEnableConf(editRender) ? editRender : null;
@@ -5920,8 +5919,9 @@ const Cell = {
5920
5919
  return renderCellBaseVNs(h, params, $table.callSlot(defaultSlot, params, h));
5921
5920
  }
5922
5921
  const renderOpts = editRenderOpts || cellRenderOpts;
5923
- // formatter > (renderTableCell | renderTableDefault)
5924
- if (renderOpts && !formatter) {
5922
+ // 如果是编辑表格:renderTableCell > formatter
5923
+ // 如果是查看表格:renderTableDefault > formatter
5924
+ if (renderOpts) {
5925
5925
  const compConf = cell_renderer.get(renderOpts.name);
5926
5926
  if (compConf) {
5927
5927
  const renderFn = editRenderOpts ? compConf.renderTableCell || compConf.renderCell : compConf.renderTableDefault || compConf.renderDefault;
@@ -26617,7 +26617,7 @@ const Toolbar = VxeToolbar;
26617
26617
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
26618
26618
  barUnableLink: '工具栏无法关联表格',
26619
26619
  expandContent: '展开行的插槽应该是 "content",请检查是否正确',
26620
- reqComp: '缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useGlobal',
26620
+ reqComp: '缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useUI/useGlobal',
26621
26621
  reqModule: '缺少 "{0}" 模块',
26622
26622
  reqProp: '缺少必要的 "{0}" 参数,这可能会导致出现错误',
26623
26623
  emptyProp: '参数 "{0}" 不允许为空',
@@ -26648,7 +26648,7 @@ const Toolbar = VxeToolbar;
26648
26648
  treeNotImp: '树表格不支持导入',
26649
26649
  treeCrossDrag: '只能拖拽第一层级',
26650
26650
  treeDragChild: '父级不能拖拽到自己的子级中',
26651
- reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
26651
+ reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',
26652
26652
  errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
26653
26653
  useNew: '不建议使用 {0},请使用 {1}',
26654
26654
  errorVersion: '版本不匹配,当前版本 {0},最低支持版本为 {1}'
@@ -26696,7 +26696,8 @@ const Toolbar = VxeToolbar;
26696
26696
  select: {
26697
26697
  clear: '清除',
26698
26698
  allChecked: '全选',
26699
- total: '{0} / {1}',
26699
+ total: '已选 {0} 项',
26700
+ close: '关闭',
26700
26701
  search: '搜索',
26701
26702
  loadingText: '加载中...',
26702
26703
  emptyText: '暂无数据',
@@ -26713,7 +26714,8 @@ const Toolbar = VxeToolbar;
26713
26714
  allChecked: '全选',
26714
26715
  allExpand: '全部展开',
26715
26716
  clearExpand: '全部收起',
26716
- total: '已选 {0}',
26717
+ total: '已选 {0} 项',
26718
+ close: '关闭',
26717
26719
  search: '搜索',
26718
26720
  emptyText: '暂无数据'
26719
26721
  },
@@ -26756,7 +26758,7 @@ const Toolbar = VxeToolbar;
26756
26758
  cstmDragTarget: '移动:{0}',
26757
26759
  setting: {
26758
26760
  colSort: '排序',
26759
- sortHelpTip: '点击并拖动图标可以调整顺序',
26761
+ sortHelpTip: '点击图标开始拖动',
26760
26762
  colTitle: '列标题',
26761
26763
  colResizable: '列宽(像素)',
26762
26764
  colVisible: '是否显示',
@@ -26764,7 +26766,15 @@ const Toolbar = VxeToolbar;
26764
26766
  colFixedMax: '冻结列(最多 {0} 列)',
26765
26767
  fixedLeft: '左侧',
26766
26768
  fixedUnset: '不设置',
26767
- fixedRight: '右侧'
26769
+ fixedRight: '右侧',
26770
+ moveUp: '上移',
26771
+ moveDn: '下移',
26772
+ putTop: '置顶',
26773
+ putBottom: '置尾',
26774
+ moveUpTitle: '点击向上移动',
26775
+ moveDnTitle: '点击向下移动',
26776
+ putTopTitle: '点击置顶',
26777
+ putBottomTitle: '点击置尾'
26768
26778
  }
26769
26779
  },
26770
26780
  import: {
@@ -26822,6 +26832,10 @@ const Toolbar = VxeToolbar;
26822
26832
  expMergeTitle: '如果存在,则支持带有合并结构的单元格',
26823
26833
  expOptAllExpand: '展开树',
26824
26834
  expAllExpandTitle: '如果存在,则支持将带有层级结构的数据全部展开',
26835
+ expOptTreeAllExpand: '展开树',
26836
+ expTreeAllExpandTitle: '如果存在,则自动展开所有树层级',
26837
+ expOptRowGroupAllExpand: '展开分组',
26838
+ expRowGroupAllExpandTitle: '如果存在,则自动展开所有分组层级',
26825
26839
  expOptUseStyle: '样式',
26826
26840
  expUseStyleTitle: '如果存在,则支持带样式的单元格',
26827
26841
  expOptOriginal: '源数据',
@@ -27140,6 +27154,10 @@ const Toolbar = VxeToolbar;
27140
27154
  contextMenu: {
27141
27155
  loadingText: '加载中...'
27142
27156
  },
27157
+ switch: {
27158
+ onText: '打开',
27159
+ offText: '关闭'
27160
+ },
27143
27161
  gantt: {
27144
27162
  tFullFormat: {
27145
27163
  year: '{yyyy}年',
@@ -27230,7 +27248,7 @@ const Toolbar = VxeToolbar;
27230
27248
  groupPlaceholder: '拖至此处进行分组',
27231
27249
  valuesPlaceholder: '拖至此处进行聚合',
27232
27250
  dragExistCol: '该列已存在',
27233
- sortHelpTip: '点击并拖动图标可以调整顺序'
27251
+ sortHelpTip: '点击图标开始拖动'
27234
27252
  },
27235
27253
  aggFuncs: {
27236
27254
  sum: '求和',