vxe-table 3.21.7 → 3.21.9

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.
@@ -83,6 +83,8 @@ export function createInternalData() {
83
83
  sourceDataRowIdData: {},
84
84
  fullColumnIdData: {},
85
85
  fullColumnFieldData: {},
86
+ fullCellHeightMaps: {},
87
+ fullCellStoreMaps: {},
86
88
  // 当前行
87
89
  currentRow: null,
88
90
  // 合并表头单元格的数据
@@ -142,7 +144,8 @@ export function createInternalData() {
142
144
  inited: false,
143
145
  tooltipTimeout: null,
144
146
  initStatus: false,
145
- isActivated: false
147
+ isActivated: false,
148
+ rceDelay: 0
146
149
  // _sToTime: null
147
150
  };
148
151
  }
@@ -390,6 +393,21 @@ export function createReactData() {
390
393
  isColLoading: false
391
394
  };
392
395
  }
396
+ const maxKey = '__max';
397
+ export function getRowMaxHeight(chRest, isForce) {
398
+ if (isForce || !chRest[maxKey]) {
399
+ let max = 0;
400
+ for (const key in chRest) {
401
+ const val = chRest[key];
402
+ if (key !== maxKey && XEUtils.isNumber(val) && val > max) {
403
+ max = val;
404
+ }
405
+ }
406
+ chRest[maxKey] = max;
407
+ return max;
408
+ }
409
+ return chRest[maxKey];
410
+ }
393
411
  const getAllConvertColumns = (columns, parentColumn) => {
394
412
  const result = [];
395
413
  columns.forEach((column) => {
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.21.7";
3
+ export const version = "3.21.9";
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.21.7"}`;
3
+ const version = `table v${"3.21.9"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);