vxe-table 4.14.4 → 4.14.5

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 (152) hide show
  1. package/es/locale/lang/ar-EG.js +1 -0
  2. package/es/locale/lang/de-DE.js +1 -0
  3. package/es/locale/lang/en-US.js +1 -0
  4. package/es/locale/lang/es-ES.js +1 -0
  5. package/es/locale/lang/fr-FR.js +1 -0
  6. package/es/locale/lang/hu-HU.js +1 -0
  7. package/es/locale/lang/hy-AM.js +1 -0
  8. package/es/locale/lang/id-ID.js +1 -0
  9. package/es/locale/lang/it-IT.js +1 -0
  10. package/es/locale/lang/ja-JP.js +1 -0
  11. package/es/locale/lang/ko-KR.js +1 -0
  12. package/es/locale/lang/ms-MY.js +1 -0
  13. package/es/locale/lang/nb-NO.js +1 -0
  14. package/es/locale/lang/pt-BR.js +1 -0
  15. package/es/locale/lang/ru-RU.js +1 -0
  16. package/es/locale/lang/th-TH.js +1 -0
  17. package/es/locale/lang/ug-CN.js +1 -0
  18. package/es/locale/lang/uk-UA.js +1 -0
  19. package/es/locale/lang/uz-UZ.js +1 -0
  20. package/es/locale/lang/vi-VN.js +1 -0
  21. package/es/locale/lang/zh-CHT.js +1 -0
  22. package/es/locale/lang/zh-CN.js +1 -0
  23. package/es/style.css +1 -1
  24. package/es/table/src/columnInfo.js +11 -2
  25. package/es/table/src/table.js +1 -2
  26. package/es/ui/index.js +1 -1
  27. package/es/ui/src/log.js +1 -1
  28. package/lib/index.common.js +1 -2
  29. package/lib/index.umd.js +1928 -1818
  30. package/lib/index.umd.min.js +1 -1
  31. package/lib/locale/lang/ar-EG.js +1 -0
  32. package/lib/locale/lang/ar-EG.min.js +1 -1
  33. package/lib/locale/lang/ar-EG.umd.js +1 -0
  34. package/lib/locale/lang/de-DE.js +1 -0
  35. package/lib/locale/lang/de-DE.min.js +1 -1
  36. package/lib/locale/lang/de-DE.umd.js +1 -0
  37. package/lib/locale/lang/en-US.js +1 -0
  38. package/lib/locale/lang/en-US.min.js +1 -1
  39. package/lib/locale/lang/en-US.umd.js +1 -0
  40. package/lib/locale/lang/es-ES.js +1 -0
  41. package/lib/locale/lang/es-ES.min.js +1 -1
  42. package/lib/locale/lang/es-ES.umd.js +1 -0
  43. package/lib/locale/lang/fr-FR.js +1 -0
  44. package/lib/locale/lang/fr-FR.min.js +1 -1
  45. package/lib/locale/lang/fr-FR.umd.js +1 -0
  46. package/lib/locale/lang/hu-HU.js +1 -0
  47. package/lib/locale/lang/hu-HU.min.js +1 -1
  48. package/lib/locale/lang/hu-HU.umd.js +1 -0
  49. package/lib/locale/lang/hy-AM.js +1 -0
  50. package/lib/locale/lang/hy-AM.min.js +1 -1
  51. package/lib/locale/lang/hy-AM.umd.js +1 -0
  52. package/lib/locale/lang/id-ID.js +1 -0
  53. package/lib/locale/lang/id-ID.min.js +1 -1
  54. package/lib/locale/lang/id-ID.umd.js +1 -0
  55. package/lib/locale/lang/it-IT.js +1 -0
  56. package/lib/locale/lang/it-IT.min.js +1 -1
  57. package/lib/locale/lang/it-IT.umd.js +1 -0
  58. package/lib/locale/lang/ja-JP.js +1 -0
  59. package/lib/locale/lang/ja-JP.min.js +1 -1
  60. package/lib/locale/lang/ja-JP.umd.js +1 -0
  61. package/lib/locale/lang/ko-KR.js +1 -0
  62. package/lib/locale/lang/ko-KR.min.js +1 -1
  63. package/lib/locale/lang/ko-KR.umd.js +1 -0
  64. package/lib/locale/lang/ms-MY.js +1 -0
  65. package/lib/locale/lang/ms-MY.min.js +1 -1
  66. package/lib/locale/lang/ms-MY.umd.js +1 -0
  67. package/lib/locale/lang/nb-NO.js +1 -0
  68. package/lib/locale/lang/nb-NO.min.js +1 -1
  69. package/lib/locale/lang/nb-NO.umd.js +1 -0
  70. package/lib/locale/lang/pt-BR.js +1 -0
  71. package/lib/locale/lang/pt-BR.min.js +1 -1
  72. package/lib/locale/lang/pt-BR.umd.js +1 -0
  73. package/lib/locale/lang/ru-RU.js +1 -0
  74. package/lib/locale/lang/ru-RU.min.js +1 -1
  75. package/lib/locale/lang/ru-RU.umd.js +1 -0
  76. package/lib/locale/lang/th-TH.js +1 -0
  77. package/lib/locale/lang/th-TH.min.js +1 -1
  78. package/lib/locale/lang/th-TH.umd.js +1 -0
  79. package/lib/locale/lang/ug-CN.js +1 -0
  80. package/lib/locale/lang/ug-CN.min.js +1 -1
  81. package/lib/locale/lang/ug-CN.umd.js +1 -0
  82. package/lib/locale/lang/uk-UA.js +1 -0
  83. package/lib/locale/lang/uk-UA.min.js +1 -1
  84. package/lib/locale/lang/uk-UA.umd.js +1 -0
  85. package/lib/locale/lang/uz-UZ.js +1 -0
  86. package/lib/locale/lang/uz-UZ.min.js +1 -1
  87. package/lib/locale/lang/uz-UZ.umd.js +1 -0
  88. package/lib/locale/lang/vi-VN.js +1 -0
  89. package/lib/locale/lang/vi-VN.min.js +1 -1
  90. package/lib/locale/lang/vi-VN.umd.js +1 -0
  91. package/lib/locale/lang/zh-CHT.js +1 -0
  92. package/lib/locale/lang/zh-CHT.min.js +1 -1
  93. package/lib/locale/lang/zh-CHT.umd.js +1 -0
  94. package/lib/locale/lang/zh-CN.js +1 -0
  95. package/lib/locale/lang/zh-CN.min.js +1 -1
  96. package/lib/locale/lang/zh-CN.umd.js +1 -0
  97. package/lib/style.css +1 -1
  98. package/lib/table/src/columnInfo.js +14 -2
  99. package/lib/table/src/columnInfo.min.js +1 -1
  100. package/lib/table/src/table.js +1 -2
  101. package/lib/table/src/table.min.js +1 -1
  102. package/lib/ui/index.js +1 -1
  103. package/lib/ui/index.min.js +1 -1
  104. package/lib/ui/src/log.js +1 -1
  105. package/lib/ui/src/log.min.js +1 -1
  106. package/lib/v-x-e-table/index.js +1 -2
  107. package/lib/v-x-e-table/index.min.js +1 -1
  108. package/lib/vxe-colgroup/index.js +1 -2
  109. package/lib/vxe-colgroup/index.min.js +1 -1
  110. package/lib/vxe-column/index.js +1 -2
  111. package/lib/vxe-column/index.min.js +1 -1
  112. package/lib/vxe-grid/index.js +1 -2
  113. package/lib/vxe-grid/index.min.js +1 -1
  114. package/lib/vxe-table/index.js +1 -2
  115. package/lib/vxe-table/index.min.js +1 -1
  116. package/lib/vxe-toolbar/index.js +1 -2
  117. package/lib/vxe-toolbar/index.min.js +1 -1
  118. package/lib/vxe-ui/index.js +1 -2
  119. package/lib/vxe-ui/index.min.js +1 -1
  120. package/lib/vxe-v-x-e-table/index.js +1 -2
  121. package/lib/vxe-v-x-e-table/index.min.js +1 -1
  122. package/package.json +1 -1
  123. package/packages/locale/lang/ar-EG.ts +1 -0
  124. package/packages/locale/lang/de-DE.ts +1 -0
  125. package/packages/locale/lang/en-US.ts +1 -0
  126. package/packages/locale/lang/es-ES.ts +1 -0
  127. package/packages/locale/lang/fr-FR.ts +1 -0
  128. package/packages/locale/lang/hu-HU.ts +1 -0
  129. package/packages/locale/lang/hy-AM.ts +1 -0
  130. package/packages/locale/lang/id-ID.ts +1 -0
  131. package/packages/locale/lang/it-IT.ts +1 -0
  132. package/packages/locale/lang/ja-JP.ts +1 -0
  133. package/packages/locale/lang/ko-KR.ts +1 -0
  134. package/packages/locale/lang/ms-MY.ts +1 -0
  135. package/packages/locale/lang/nb-NO.ts +1 -0
  136. package/packages/locale/lang/pt-BR.ts +1 -0
  137. package/packages/locale/lang/ru-RU.ts +1 -0
  138. package/packages/locale/lang/th-TH.ts +1 -0
  139. package/packages/locale/lang/ug-CN.ts +1 -0
  140. package/packages/locale/lang/uk-UA.ts +1 -0
  141. package/packages/locale/lang/uz-UZ.ts +1 -0
  142. package/packages/locale/lang/vi-VN.ts +1 -0
  143. package/packages/locale/lang/zh-CHT.ts +1 -0
  144. package/packages/locale/lang/zh-CN.ts +1 -0
  145. package/packages/table/src/columnInfo.ts +13 -2
  146. package/packages/table/src/table.ts +1 -2
  147. /package/es/{iconfont.1752646222537.ttf → iconfont.1753174940670.ttf} +0 -0
  148. /package/es/{iconfont.1752646222537.woff → iconfont.1753174940670.woff} +0 -0
  149. /package/es/{iconfont.1752646222537.woff2 → iconfont.1753174940670.woff2} +0 -0
  150. /package/lib/{iconfont.1752646222537.ttf → iconfont.1753174940670.ttf} +0 -0
  151. /package/lib/{iconfont.1752646222537.woff → iconfont.1753174940670.woff} +0 -0
  152. /package/lib/{iconfont.1752646222537.woff2 → iconfont.1753174940670.woff2} +0 -0
@@ -9,6 +9,7 @@ export class ColumnInfo {
9
9
  constructor($xeTable, _vm, { renderHeader, renderCell, renderFooter, renderData } = {}) {
10
10
  const tableProps = $xeTable.props;
11
11
  const $xeGrid = $xeTable.xeGrid;
12
+ const { field, editRender } = _vm;
12
13
  const formatter = _vm.formatter;
13
14
  const visible = XEUtils.isBoolean(_vm.visible) ? _vm.visible : true;
14
15
  const types = ['seq', 'checkbox', 'radio', 'expand', 'html'];
@@ -48,11 +49,19 @@ export class ColumnInfo {
48
49
  errLog('vxe.error.errProp', [`column.agg-func=${_vm.aggFunc}`, 'column.agg-func=true']);
49
50
  }
50
51
  }
52
+ if (field && editRender) {
53
+ if (editRender.startField && `${editRender.startField}`.indexOf(field) >= 0) {
54
+ errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.startField=${editRender.startField}`]);
55
+ }
56
+ if (editRender.endField && `${editRender.endField}`.indexOf(field) >= 0) {
57
+ errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.endField=${editRender.endField}`]);
58
+ }
59
+ }
51
60
  Object.assign(this, {
52
61
  // 基本属性
53
62
  type: _vm.type,
54
63
  property: _vm.field,
55
- field: _vm.field,
64
+ field: field,
56
65
  title: _vm.title,
57
66
  width: _vm.width,
58
67
  minWidth: _vm.minWidth,
@@ -87,7 +96,7 @@ export class ColumnInfo {
87
96
  rowResize: _vm.rowResize,
88
97
  cellType: _vm.cellType,
89
98
  cellRender: _vm.cellRender,
90
- editRender: _vm.editRender,
99
+ editRender: editRender,
91
100
  contentRender: _vm.contentRender,
92
101
  headerExportMethod: _vm.headerExportMethod,
93
102
  exportMethod: _vm.exportMethod,
@@ -5767,8 +5767,7 @@ export default defineVxeComponent({
5767
5767
  return nextTick();
5768
5768
  },
5769
5769
  setSort(sortConfs, isUpdate) {
5770
- // 已废弃,即将去掉事件触发 new Event('click') -> null
5771
- return handleSortEvent(new Event('click'), sortConfs, isUpdate);
5770
+ return handleSortEvent(null, sortConfs, isUpdate);
5772
5771
  },
5773
5772
  setSortByEvent(evnt, sortConfs, isUpdate) {
5774
5773
  return handleSortEvent(evnt, sortConfs, isUpdate);
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 = "4.14.4";
3
+ export const version = "4.14.5";
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${"4.14.4"}`;
3
+ const version = `table v${"4.14.5"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
@@ -17,6 +17,5 @@ Object.keys(VxeUITableExport).forEach(function (key) {
17
17
  }
18
18
  });
19
19
  });
20
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
22
21
  var _default = exports.default = VxeUITableExport;