vxe-table 3.11.37 → 3.11.38

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 (99) hide show
  1. package/es/locale/lang/ar-EG.js +9 -0
  2. package/es/locale/lang/de-DE.js +9 -0
  3. package/es/locale/lang/en-US.js +9 -0
  4. package/es/locale/lang/es-ES.js +9 -0
  5. package/es/locale/lang/fr-FR.js +9 -0
  6. package/es/locale/lang/hu-HU.js +9 -0
  7. package/es/locale/lang/hy-AM.js +9 -0
  8. package/es/locale/lang/ja-JP.js +9 -0
  9. package/es/locale/lang/ko-KR.js +9 -0
  10. package/es/locale/lang/nb-NO.js +9 -0
  11. package/es/locale/lang/pt-BR.js +9 -0
  12. package/es/locale/lang/ru-RU.js +9 -0
  13. package/es/locale/lang/ug-CN.js +9 -0
  14. package/es/locale/lang/uk-UA.js +9 -0
  15. package/es/locale/lang/vi-VN.js +9 -0
  16. package/es/locale/lang/zh-CHT.js +9 -0
  17. package/es/locale/lang/zh-CN.js +9 -0
  18. package/es/style.css +1 -1
  19. package/es/table/render/index.js +42 -4
  20. package/es/ui/index.js +1 -1
  21. package/es/ui/src/log.js +1 -1
  22. package/lib/index.umd.js +64 -6
  23. package/lib/index.umd.min.js +1 -1
  24. package/lib/locale/lang/ar-EG.js +9 -0
  25. package/lib/locale/lang/ar-EG.min.js +1 -1
  26. package/lib/locale/lang/de-DE.js +9 -0
  27. package/lib/locale/lang/de-DE.min.js +1 -1
  28. package/lib/locale/lang/en-US.js +9 -0
  29. package/lib/locale/lang/en-US.min.js +1 -1
  30. package/lib/locale/lang/en-US.umd.js +9 -0
  31. package/lib/locale/lang/es-ES.js +9 -0
  32. package/lib/locale/lang/es-ES.min.js +1 -1
  33. package/lib/locale/lang/es-ES.umd.js +9 -0
  34. package/lib/locale/lang/fr-FR.js +9 -0
  35. package/lib/locale/lang/fr-FR.min.js +1 -1
  36. package/lib/locale/lang/hu-HU.js +9 -0
  37. package/lib/locale/lang/hu-HU.min.js +1 -1
  38. package/lib/locale/lang/hu-HU.umd.js +9 -0
  39. package/lib/locale/lang/hy-AM.js +9 -0
  40. package/lib/locale/lang/hy-AM.min.js +1 -1
  41. package/lib/locale/lang/ja-JP.js +9 -0
  42. package/lib/locale/lang/ja-JP.min.js +1 -1
  43. package/lib/locale/lang/ja-JP.umd.js +9 -0
  44. package/lib/locale/lang/ko-KR.js +9 -0
  45. package/lib/locale/lang/ko-KR.min.js +1 -1
  46. package/lib/locale/lang/ko-KR.umd.js +9 -0
  47. package/lib/locale/lang/nb-NO.js +9 -0
  48. package/lib/locale/lang/nb-NO.min.js +1 -1
  49. package/lib/locale/lang/pt-BR.js +9 -0
  50. package/lib/locale/lang/pt-BR.min.js +1 -1
  51. package/lib/locale/lang/pt-BR.umd.js +9 -0
  52. package/lib/locale/lang/ru-RU.js +9 -0
  53. package/lib/locale/lang/ru-RU.min.js +1 -1
  54. package/lib/locale/lang/ru-RU.umd.js +9 -0
  55. package/lib/locale/lang/ug-CN.js +9 -0
  56. package/lib/locale/lang/ug-CN.min.js +1 -1
  57. package/lib/locale/lang/uk-UA.js +9 -0
  58. package/lib/locale/lang/uk-UA.min.js +1 -1
  59. package/lib/locale/lang/uk-UA.umd.js +9 -0
  60. package/lib/locale/lang/vi-VN.js +9 -0
  61. package/lib/locale/lang/vi-VN.min.js +1 -1
  62. package/lib/locale/lang/zh-CHT.js +9 -0
  63. package/lib/locale/lang/zh-CHT.min.js +1 -1
  64. package/lib/locale/lang/zh-CHT.umd.js +9 -0
  65. package/lib/locale/lang/zh-CN.js +9 -0
  66. package/lib/locale/lang/zh-CN.min.js +1 -1
  67. package/lib/locale/lang/zh-CN.umd.js +9 -0
  68. package/lib/style.css +1 -1
  69. package/lib/table/render/index.js +53 -4
  70. package/lib/table/render/index.min.js +1 -1
  71. package/lib/ui/index.js +1 -1
  72. package/lib/ui/index.min.js +1 -1
  73. package/lib/ui/src/log.js +1 -1
  74. package/lib/ui/src/log.min.js +1 -1
  75. package/package.json +2 -2
  76. package/packages/locale/lang/ar-EG.ts +9 -0
  77. package/packages/locale/lang/de-DE.ts +9 -0
  78. package/packages/locale/lang/en-US.ts +9 -0
  79. package/packages/locale/lang/es-ES.ts +9 -0
  80. package/packages/locale/lang/fr-FR.ts +9 -0
  81. package/packages/locale/lang/hu-HU.ts +9 -0
  82. package/packages/locale/lang/hy-AM.ts +9 -0
  83. package/packages/locale/lang/ja-JP.ts +9 -0
  84. package/packages/locale/lang/ko-KR.ts +9 -0
  85. package/packages/locale/lang/nb-NO.ts +9 -0
  86. package/packages/locale/lang/pt-BR.ts +9 -0
  87. package/packages/locale/lang/ru-RU.ts +9 -0
  88. package/packages/locale/lang/ug-CN.ts +9 -0
  89. package/packages/locale/lang/uk-UA.ts +9 -0
  90. package/packages/locale/lang/vi-VN.ts +9 -0
  91. package/packages/locale/lang/zh-CHT.ts +9 -0
  92. package/packages/locale/lang/zh-CN.ts +9 -0
  93. package/packages/table/render/index.ts +42 -4
  94. /package/es/{iconfont.1734680280915.ttf → iconfont.1735003904481.ttf} +0 -0
  95. /package/es/{iconfont.1734680280915.woff → iconfont.1735003904481.woff} +0 -0
  96. /package/es/{iconfont.1734680280915.woff2 → iconfont.1735003904481.woff2} +0 -0
  97. /package/lib/{iconfont.1734680280915.ttf → iconfont.1735003904481.ttf} +0 -0
  98. /package/lib/{iconfont.1734680280915.woff → iconfont.1735003904481.woff} +0 -0
  99. /package/lib/{iconfont.1734680280915.woff2 → iconfont.1735003904481.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.37";
2223
+ const version = "3.11.38";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2793,7 +2793,7 @@ function isNodeElement(elem) {
2793
2793
  const {
2794
2794
  log: log_log
2795
2795
  } = core_.VxeUI;
2796
- const log_version = `table v${"3.11.37"}`;
2796
+ const log_version = `table v${"3.11.38"}`;
2797
2797
  const warnLog = log_log.create('warn', log_version);
2798
2798
  const errLog = log_log.create('error', log_version);
2799
2799
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -27426,7 +27426,7 @@ function defaultSelectEditRender(h, renderOpts, params) {
27426
27426
  on: getEditOns(renderOpts, params)
27427
27427
  })];
27428
27428
  }
27429
- function defaultTreeSelectEditRender(h, renderOpts, params) {
27429
+ function defaultTableOrTreeSelectEditRender(h, renderOpts, params) {
27430
27430
  const {
27431
27431
  row,
27432
27432
  column
@@ -27767,7 +27767,7 @@ render_renderer.mixin({
27767
27767
  },
27768
27768
  VxeTreeSelect: {
27769
27769
  tableAutoFocus: 'input',
27770
- renderTableEdit: defaultTreeSelectEditRender,
27770
+ renderTableEdit: defaultTableOrTreeSelectEditRender,
27771
27771
  renderTableCell(h, renderOpts, params) {
27772
27772
  return getCellLabelVNs(h, renderOpts, params, getTreeSelectCellValue(renderOpts, params));
27773
27773
  },
@@ -27775,15 +27775,64 @@ render_renderer.mixin({
27775
27775
  },
27776
27776
  VxeTableSelect: {
27777
27777
  tableAutoFocus: 'input',
27778
- renderTableEdit: defaultTreeSelectEditRender,
27778
+ renderTableEdit: defaultTableOrTreeSelectEditRender,
27779
27779
  renderTableCell(h, renderOpts, params) {
27780
27780
  return getCellLabelVNs(h, renderOpts, params, getTreeSelectCellValue(renderOpts, params));
27781
27781
  },
27782
27782
  tableExportMethod: handleExportTreeSelectMethod
27783
27783
  },
27784
+ VxeColorPicker: {
27785
+ tableAutoFocus: 'input',
27786
+ renderTableEdit(h, renderOpts, params) {
27787
+ const {
27788
+ row,
27789
+ column
27790
+ } = params;
27791
+ const {
27792
+ options
27793
+ } = renderOpts;
27794
+ const cellValue = getCellValue(row, column);
27795
+ return [h(getDefaultComponent(renderOpts), {
27796
+ props: getCellEditProps(renderOpts, params, cellValue, {
27797
+ colors: options
27798
+ }),
27799
+ on: getEditOns(renderOpts, params)
27800
+ })];
27801
+ },
27802
+ renderTableCell(h, renderOpts, params) {
27803
+ const {
27804
+ row,
27805
+ column
27806
+ } = params;
27807
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
27808
+ return h('span', {
27809
+ class: 'vxe-color-picker--readonly'
27810
+ }, [h('div', {
27811
+ class: 'vxe-color-picker--readonly-color',
27812
+ style: {
27813
+ backgroundColor: cellValue
27814
+ }
27815
+ })]);
27816
+ }
27817
+ },
27784
27818
  VxeIconPicker: {
27785
27819
  tableAutoFocus: 'input',
27786
- renderTableEdit: defaultEditRender,
27820
+ renderTableEdit(h, renderOpts, params) {
27821
+ const {
27822
+ row,
27823
+ column
27824
+ } = params;
27825
+ const {
27826
+ options
27827
+ } = renderOpts;
27828
+ const cellValue = getCellValue(row, column);
27829
+ return [h(getDefaultComponent(renderOpts), {
27830
+ props: getCellEditProps(renderOpts, params, cellValue, {
27831
+ icons: options
27832
+ }),
27833
+ on: getEditOns(renderOpts, params)
27834
+ })];
27835
+ },
27787
27836
  renderTableCell(h, renderOpts, params) {
27788
27837
  const {
27789
27838
  row,
@@ -28356,6 +28405,11 @@ const Toolbar = VxeToolbar;
28356
28405
  empty: {
28357
28406
  defText: '暂无数据'
28358
28407
  },
28408
+ colorPicker: {
28409
+ clear: '清除',
28410
+ confirm: '确认',
28411
+ copySuccess: '已复制到剪贴板:{0}'
28412
+ },
28359
28413
  formDesign: {
28360
28414
  formName: '表单名称',
28361
28415
  defFormTitle: '未命名的表单',
@@ -28548,6 +28602,10 @@ const Toolbar = VxeToolbar;
28548
28602
  cell: '单元格',
28549
28603
  value: '值'
28550
28604
  },
28605
+ body: {
28606
+ row: '行:{0}',
28607
+ col: '列:{0}'
28608
+ },
28551
28609
  empty: '(空值)',
28552
28610
  reError: '无效的正则表达式',
28553
28611
  recordCount: '已找到 {0} 个单元格',