vxe-table 3.16.0-beta.9 → 3.16.0

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.
@@ -166,14 +166,14 @@ function getRenderDefaultColumnTitle(h, column, content) {
166
166
  }
167
167
  function renderTitleContent(h, params, content) {
168
168
  const { $table, column } = params;
169
- const { showHeaderOverflow } = column;
170
169
  const tableProps = $table;
171
170
  const tableReactData = $table;
172
171
  const { showHeaderOverflow: allColumnHeaderOverflow } = tableProps;
173
172
  const { isRowGroupStatus } = tableReactData;
173
+ const { showHeaderOverflow } = column;
174
174
  const tooltipOpts = $table.computeTooltipOpts;
175
175
  const showAllTip = tooltipOpts.showAll;
176
- const headOverflow = XEUtils.isUndefined(showHeaderOverflow) || XEUtils.isNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
176
+ const headOverflow = XEUtils.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
177
177
  const showTitle = headOverflow === 'title';
178
178
  const showTooltip = headOverflow === true || headOverflow === 'tooltip';
179
179
  const ons = {};
@@ -202,7 +202,10 @@ function renderTitleContent(h, params, content) {
202
202
  }
203
203
  const titleVN = getRenderDefaultColumnTitle(h, column, content);
204
204
  return [
205
- h('span', Object.assign({ class: 'vxe-cell--title' }, ons), isRowGroupStatus && column.aggFunc && $table.getPivotTableAggregateRenderColTitles
205
+ h('span', {
206
+ class: 'vxe-cell--title',
207
+ on: ons
208
+ }, isRowGroupStatus && column.aggFunc && $table.getPivotTableAggregateRenderColTitles
206
209
  ? $table.getPivotTableAggregateRenderColTitles(h, column, titleVN)
207
210
  : [
208
211
  titleVN
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.0-beta.9";
3
+ export const version = "3.16.0";
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.0-beta.9"}`;
3
+ const version = `table v${"3.16.0"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
2002
2002
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2003
2003
 
2004
2004
 
2005
- const version = "3.16.0-beta.9";
2005
+ const version = "3.16.0";
2006
2006
  core_.VxeUI.version = version;
2007
2007
  core_.VxeUI.tableVersion = version;
2008
2008
  core_.VxeUI.setConfig({
@@ -2667,7 +2667,7 @@ function isNodeElement(elem) {
2667
2667
  const {
2668
2668
  log: log_log
2669
2669
  } = core_.VxeUI;
2670
- const log_version = `table v${"3.16.0-beta.9"}`;
2670
+ const log_version = `table v${"3.16.0"}`;
2671
2671
  const warnLog = log_log.create('warn', log_version);
2672
2672
  const errLog = log_log.create('error', log_version);
2673
2673
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -3687,9 +3687,6 @@ function renderTitleContent(h, params, content) {
3687
3687
  $table,
3688
3688
  column
3689
3689
  } = params;
3690
- const {
3691
- showHeaderOverflow
3692
- } = column;
3693
3690
  const tableProps = $table;
3694
3691
  const tableReactData = $table;
3695
3692
  const {
@@ -3698,9 +3695,12 @@ function renderTitleContent(h, params, content) {
3698
3695
  const {
3699
3696
  isRowGroupStatus
3700
3697
  } = tableReactData;
3698
+ const {
3699
+ showHeaderOverflow
3700
+ } = column;
3701
3701
  const tooltipOpts = $table.computeTooltipOpts;
3702
3702
  const showAllTip = tooltipOpts.showAll;
3703
- const headOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isUndefined(showHeaderOverflow) || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
3703
+ const headOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
3704
3704
  const showTitle = headOverflow === 'title';
3705
3705
  const showTooltip = headOverflow === true || headOverflow === 'tooltip';
3706
3706
  const ons = {};
@@ -3729,7 +3729,7 @@ function renderTitleContent(h, params, content) {
3729
3729
  const titleVN = getRenderDefaultColumnTitle(h, column, content);
3730
3730
  return [h('span', {
3731
3731
  class: 'vxe-cell--title',
3732
- ...ons
3732
+ on: ons
3733
3733
  }, isRowGroupStatus && column.aggFunc && $table.getPivotTableAggregateRenderColTitles ? $table.getPivotTableAggregateRenderColTitles(h, column, titleVN) : [titleVN])];
3734
3734
  }
3735
3735
  function getFooterContent(h, params) {