vxe-pc-ui 4.17.10 → 4.17.11

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.
Files changed (35) hide show
  1. package/dist/all.esm.js +6 -7
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/style.css +1 -1
  6. package/es/style.min.css +1 -1
  7. package/es/tooltip/src/tooltip.js +4 -5
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/lib/icon/style/style.css +1 -1
  11. package/lib/icon/style/style.min.css +1 -1
  12. package/lib/index.umd.js +6 -6
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/style.css +1 -1
  15. package/lib/style.min.css +1 -1
  16. package/lib/tooltip/src/tooltip.js +4 -4
  17. package/lib/tooltip/src/tooltip.min.js +1 -1
  18. package/lib/ui/index.js +1 -1
  19. package/lib/ui/index.min.js +1 -1
  20. package/lib/ui/src/log.js +1 -1
  21. package/lib/ui/src/log.min.js +1 -1
  22. package/package.json +1 -1
  23. package/packages/tooltip/src/tooltip.ts +4 -4
  24. /package/es/icon/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
  25. /package/es/icon/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
  26. /package/es/icon/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
  27. /package/es/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
  28. /package/es/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
  29. /package/es/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
  30. /package/lib/icon/style/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
  31. /package/lib/icon/style/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
  32. /package/lib/icon/style/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
  33. /package/lib/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
  34. /package/lib/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
  35. /package/lib/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -81,7 +81,7 @@ function checkDynamic() {
81
81
  }
82
82
 
83
83
  const { log } = VxeUI;
84
- const uiVersion = `ui v${"4.17.10"}`;
84
+ const uiVersion = `ui v${"4.17.11"}`;
85
85
  function createComponentLog(name) {
86
86
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
87
87
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -95,7 +95,7 @@ function createComponentLog(name) {
95
95
  const warnLog$i = log.create('warn', uiVersion);
96
96
  log.create('error', uiVersion);
97
97
 
98
- const version = "4.17.10";
98
+ const version = "4.17.11";
99
99
  VxeUI.uiVersion = version;
100
100
  VxeUI.dynamicApp = dynamicApp;
101
101
  function config(options) {
@@ -2926,9 +2926,11 @@ var VxeTooltipComponent = defineVxeComponent({
2926
2926
  const targetLeft = targetRect.left;
2927
2927
  const targetTop = targetRect.top;
2928
2928
  // 支持特殊定位逻辑
2929
- let left = targetLeft;
2930
- let top = targetTop + targetHeight;
2929
+ let left = 0;
2930
+ let top = 0;
2931
2931
  if (tipPos && (tipPos.oLeft || tipPos.oTop)) {
2932
+ left = targetLeft;
2933
+ top = targetTop + targetHeight;
2932
2934
  if (isArrow) {
2933
2935
  left = left + Math.max(8, Math.min(targetWidth - 8, tipPos.oLeft)) - panelWidth / 2;
2934
2936
  }
@@ -2937,9 +2939,6 @@ var VxeTooltipComponent = defineVxeComponent({
2937
2939
  top = tipPos.y + 1;
2938
2940
  }
2939
2941
  }
2940
- else {
2941
- left = targetLeft + (targetWidth - panelWidth) / 2;
2942
- }
2943
2942
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
2944
2943
  defaultTop: top,
2945
2944
  defaultLeft: left,