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