vxe-table 4.11.20 → 4.11.21

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.
package/lib/index.umd.js CHANGED
@@ -3051,7 +3051,7 @@ function eqEmptyValue(cellValue) {
3051
3051
  ;// ./packages/ui/index.ts
3052
3052
 
3053
3053
 
3054
- const version = "4.11.20";
3054
+ const version = "4.11.21";
3055
3055
  core_.VxeUI.version = version;
3056
3056
  core_.VxeUI.tableVersion = version;
3057
3057
  core_.VxeUI.setConfig({
@@ -3499,7 +3499,7 @@ var es_iterator_some = __webpack_require__(3579);
3499
3499
  const {
3500
3500
  log: log_log
3501
3501
  } = core_.VxeUI;
3502
- const log_version = `table v${"4.11.20"}`;
3502
+ const log_version = `table v${"4.11.21"}`;
3503
3503
  const warnLog = log_log.create('warn', log_version);
3504
3504
  const errLog = log_log.create('error', log_version);
3505
3505
  ;// ./packages/table/src/columnInfo.ts
@@ -9319,11 +9319,17 @@ const {
9319
9319
  const rtFilter = compConf ? compConf.renderTableFilter || compConf.renderFilter : null;
9320
9320
  if (filterSlot) {
9321
9321
  return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
9322
- class: 'vxe-table--filter-template'
9322
+ class: 'vxe-table--filter-template',
9323
+ style: maxHeight ? {
9324
+ maxHeight: `${maxHeight}px`
9325
+ } : {}
9323
9326
  }, $xeTable.callSlot(filterSlot, params))];
9324
9327
  } else if (rtFilter) {
9325
9328
  return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
9326
- class: 'vxe-table--filter-template'
9329
+ class: 'vxe-table--filter-template',
9330
+ style: maxHeight ? {
9331
+ maxHeight: `${maxHeight}px`
9332
+ } : {}
9327
9333
  }, getSlotVNs(rtFilter(filterRender, params)))];
9328
9334
  }
9329
9335
  const isAllChecked = multiple ? filterStore.isAllSelected : !filterStore.options.some(item => item._checked);