vxe-table 3.22.4 → 3.22.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.
@@ -1924,25 +1924,34 @@ export default {
1924
1924
  }
1925
1925
  }
1926
1926
  if (!VxeUITooltipComponent) {
1927
- errLog('vxe.error.reqComp', ['vxe-tooltip']);
1927
+ let useOvTip = false;
1928
1928
  if (showOverflow === 'tooltip') {
1929
+ useOvTip = true;
1929
1930
  errLog('vxe.error.errProp', ['show-overflow=' + showOverflow, 'show-overflow=false,title,ellipsis']);
1930
1931
  }
1931
1932
  if (showOverflow === true && tooltipOpts.mode === 'tooltip') {
1933
+ useOvTip = true;
1932
1934
  errLog('vxe.error.notSupportProp', ['show-overflow=' + showOverflow, 'tooltip-config.mode=tooltip', 'tooltip-config.mode=title,ellipsis']);
1933
1935
  }
1934
1936
  if (showHeaderOverflow === 'tooltip') {
1937
+ useOvTip = true;
1935
1938
  errLog('vxe.error.errProp', ['show-header-overflow=' + showHeaderOverflow, 'show-header-overflow=false,title,ellipsis']);
1936
1939
  }
1937
1940
  if (showHeaderOverflow === true && headerTooltipOpts.mode === 'tooltip') {
1941
+ useOvTip = true;
1938
1942
  errLog('vxe.error.notSupportProp', ['show-header-overflow=' + showHeaderOverflow, 'header-tooltip-config.mode=tooltip', 'header-tooltip-config.mode=title,ellipsis']);
1939
1943
  }
1940
1944
  if (showFooterOverflow === 'tooltip') {
1945
+ useOvTip = true;
1941
1946
  errLog('vxe.error.errProp', ['show-footer-overflow=' + showFooterOverflow, 'show-footer-overflow=false,title,ellipsis']);
1942
1947
  }
1943
1948
  if (showFooterOverflow === true && footerTooltipOpts.mode === 'tooltip') {
1949
+ useOvTip = true;
1944
1950
  errLog('vxe.error.notSupportProp', ['show-footer-overflow=' + showFooterOverflow, 'footer-tooltip-config.mode=tooltip', 'footer-tooltip-config.mode=title,ellipsis']);
1945
1951
  }
1952
+ if (useOvTip) {
1953
+ errLog('vxe.error.reqComp', ['vxe-tooltip']);
1954
+ }
1946
1955
  }
1947
1956
  if (this.autoResize) {
1948
1957
  const resizeObserver = globalResize.create(() => {
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.22.4";
3
+ export const version = "3.22.5";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const tableVersion = `table v${"3.22.4"}`;
3
+ const tableVersion = `table v${"3.22.5"}`;
4
4
  export function createComponentLog(name) {
5
5
  const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
6
6
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
package/lib/index.umd.js CHANGED
@@ -3311,7 +3311,7 @@ function getClass(property, params) {
3311
3311
  /* unused harmony import specifier */ var VxeUI;
3312
3312
 
3313
3313
 
3314
- const version = "3.22.4";
3314
+ const version = "3.22.5";
3315
3315
  core_.VxeUI.version = version;
3316
3316
  core_.VxeUI.tableVersion = version;
3317
3317
  core_.VxeUI.setConfig({
@@ -4087,7 +4087,7 @@ function wheelScrollTopTo(diffNum, cb) {
4087
4087
  const {
4088
4088
  log: log_log
4089
4089
  } = core_.VxeUI;
4090
- const tableVersion = `table v${"3.22.4"}`;
4090
+ const tableVersion = `table v${"3.22.5"}`;
4091
4091
  function createComponentLog(name) {
4092
4092
  const uiVersion = core_.VxeUI.uiVersion ? `ui v${core_.VxeUI.uiVersion}` : '';
4093
4093
  const ganttVersion = core_.VxeUI.ganttVersion ? `gantt v${core_.VxeUI.ganttVersion}` : '';
@@ -22684,25 +22684,34 @@ function renderBody(h, $xeTable) {
22684
22684
  }
22685
22685
  }
22686
22686
  if (!VxeUITooltipComponent) {
22687
- table_errLog('vxe.error.reqComp', ['vxe-tooltip']);
22687
+ let useOvTip = false;
22688
22688
  if (showOverflow === 'tooltip') {
22689
+ useOvTip = true;
22689
22690
  table_errLog('vxe.error.errProp', ['show-overflow=' + showOverflow, 'show-overflow=false,title,ellipsis']);
22690
22691
  }
22691
22692
  if (showOverflow === true && tooltipOpts.mode === 'tooltip') {
22693
+ useOvTip = true;
22692
22694
  table_errLog('vxe.error.notSupportProp', ['show-overflow=' + showOverflow, 'tooltip-config.mode=tooltip', 'tooltip-config.mode=title,ellipsis']);
22693
22695
  }
22694
22696
  if (showHeaderOverflow === 'tooltip') {
22697
+ useOvTip = true;
22695
22698
  table_errLog('vxe.error.errProp', ['show-header-overflow=' + showHeaderOverflow, 'show-header-overflow=false,title,ellipsis']);
22696
22699
  }
22697
22700
  if (showHeaderOverflow === true && headerTooltipOpts.mode === 'tooltip') {
22701
+ useOvTip = true;
22698
22702
  table_errLog('vxe.error.notSupportProp', ['show-header-overflow=' + showHeaderOverflow, 'header-tooltip-config.mode=tooltip', 'header-tooltip-config.mode=title,ellipsis']);
22699
22703
  }
22700
22704
  if (showFooterOverflow === 'tooltip') {
22705
+ useOvTip = true;
22701
22706
  table_errLog('vxe.error.errProp', ['show-footer-overflow=' + showFooterOverflow, 'show-footer-overflow=false,title,ellipsis']);
22702
22707
  }
22703
22708
  if (showFooterOverflow === true && footerTooltipOpts.mode === 'tooltip') {
22709
+ useOvTip = true;
22704
22710
  table_errLog('vxe.error.notSupportProp', ['show-footer-overflow=' + showFooterOverflow, 'footer-tooltip-config.mode=tooltip', 'footer-tooltip-config.mode=title,ellipsis']);
22705
22711
  }
22712
+ if (useOvTip) {
22713
+ table_errLog('vxe.error.reqComp', ['vxe-tooltip']);
22714
+ }
22706
22715
  }
22707
22716
  if (this.autoResize) {
22708
22717
  const resizeObserver = table_globalResize.create(() => {