vxe-table 3.18.16 → 3.18.17

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/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.18.16";
3
+ export const version = "3.18.17";
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.18.16"}`;
3
+ const version = `table v${"3.18.17"}`;
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.18.16";
2005
+ const version = "3.18.17";
2006
2006
  core_.VxeUI.version = version;
2007
2007
  core_.VxeUI.tableVersion = version;
2008
2008
  core_.VxeUI.setConfig({
@@ -2689,7 +2689,7 @@ function isNodeElement(elem) {
2689
2689
  const {
2690
2690
  log: log_log
2691
2691
  } = core_.VxeUI;
2692
- const log_version = `table v${"3.18.16"}`;
2692
+ const log_version = `table v${"3.18.17"}`;
2693
2693
  const warnLog = log_log.create('warn', log_version);
2694
2694
  const errLog = log_log.create('error', log_version);
2695
2695
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -8342,8 +8342,12 @@ function removeBodyMerges($xeTable, merges) {
8342
8342
  return rest;
8343
8343
  }
8344
8344
  function handleHeaderMerge($xeTable, merges) {
8345
+ const props = $xeTable;
8345
8346
  const reactData = $xeTable;
8346
8347
  const internalData = $xeTable;
8348
+ const {
8349
+ showCustomHeader
8350
+ } = props;
8347
8351
  const {
8348
8352
  footerTableData
8349
8353
  } = reactData;
@@ -8380,6 +8384,10 @@ function handleHeaderMerge($xeTable, merges) {
8380
8384
  if (mergeRowIndex > -1 && mergeColumnIndex > -1 && (rowspan || colspan)) {
8381
8385
  rowspan = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(rowspan) || 1;
8382
8386
  colspan = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(colspan) || 1;
8387
+ if (!showCustomHeader && rowspan > 1) {
8388
+ errLog('vxe.error.notSupportProp', ['[table] show-custom-header=false', `rowspan=${rowspan}`, 'rowspan=1']);
8389
+ return;
8390
+ }
8383
8391
  if (rowspan > 1 || colspan > 1) {
8384
8392
  const row = footerTableData[mergeRowIndex];
8385
8393
  const column = visibleColumn[mergeColumnIndex];