vxe-table 4.20.4 → 4.20.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.
package/dist/all.esm.js CHANGED
@@ -44,7 +44,7 @@ function eqEmptyValue(cellValue) {
44
44
  return cellValue === '' || XEUtils.eqNull(cellValue);
45
45
  }
46
46
 
47
- const version = "4.20.4";
47
+ const version = "4.20.5";
48
48
  VxeUI.version = version;
49
49
  VxeUI.tableVersion = version;
50
50
  VxeUI.setConfig({
@@ -756,7 +756,7 @@ function wheelScrollTopTo(diffNum, cb) {
756
756
  }
757
757
 
758
758
  const { log } = VxeUI;
759
- const tableVersion = `table v${"4.20.4"}`;
759
+ const tableVersion = `table v${"4.20.5"}`;
760
760
  function createComponentLog(name) {
761
761
  const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
762
762
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -29962,25 +29962,34 @@ var VxeTableComponent = defineVxeComponent({
29962
29962
  }
29963
29963
  }
29964
29964
  if (!VxeUITooltipComponent) {
29965
- errLog$2('vxe.error.reqComp', ['vxe-tooltip']);
29965
+ let useOvTip = false;
29966
29966
  if (showOverflow === 'tooltip') {
29967
+ useOvTip = true;
29967
29968
  errLog$2('vxe.error.errProp', ['show-overflow=' + showOverflow, 'show-overflow=false,title,ellipsis']);
29968
29969
  }
29969
29970
  if (showOverflow === true && tooltipOpts.mode === 'tooltip') {
29971
+ useOvTip = true;
29970
29972
  errLog$2('vxe.error.notSupportProp', ['show-overflow=' + showOverflow, 'tooltip-config.mode=tooltip', 'tooltip-config.mode=title,ellipsis']);
29971
29973
  }
29972
29974
  if (showHeaderOverflow === 'tooltip') {
29975
+ useOvTip = true;
29973
29976
  errLog$2('vxe.error.errProp', ['show-header-overflow=' + showHeaderOverflow, 'show-header-overflow=false,title,ellipsis']);
29974
29977
  }
29975
29978
  if (showHeaderOverflow === true && headerTooltipOpts.mode === 'tooltip') {
29979
+ useOvTip = true;
29976
29980
  errLog$2('vxe.error.notSupportProp', ['show-header-overflow=' + showHeaderOverflow, 'header-tooltip-config.mode=tooltip', 'header-tooltip-config.mode=title,ellipsis']);
29977
29981
  }
29978
29982
  if (showFooterOverflow === 'tooltip') {
29983
+ useOvTip = true;
29979
29984
  errLog$2('vxe.error.errProp', ['show-footer-overflow=' + showFooterOverflow, 'show-footer-overflow=false,title,ellipsis']);
29980
29985
  }
29981
29986
  if (showFooterOverflow === true && footerTooltipOpts.mode === 'tooltip') {
29987
+ useOvTip = true;
29982
29988
  errLog$2('vxe.error.notSupportProp', ['show-footer-overflow=' + showFooterOverflow, 'footer-tooltip-config.mode=tooltip', 'footer-tooltip-config.mode=title,ellipsis']);
29983
29989
  }
29990
+ if (useOvTip) {
29991
+ errLog$2('vxe.error.reqComp', ['vxe-tooltip']);
29992
+ }
29984
29993
  }
29985
29994
  });
29986
29995
  provide('$xeColgroup', null);