vxe-pc-ui 4.20.7 → 4.20.8

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 +9 -5
  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 +7 -3
  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 +109 -34
  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 +7 -3
  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 +7 -3
  24. /package/es/icon/{iconfont.1792080138286.ttf → iconfont.1792115566662.ttf} +0 -0
  25. /package/es/icon/{iconfont.1792080138286.woff → iconfont.1792115566662.woff} +0 -0
  26. /package/es/icon/{iconfont.1792080138286.woff2 → iconfont.1792115566662.woff2} +0 -0
  27. /package/es/{iconfont.1792080138286.ttf → iconfont.1792115566662.ttf} +0 -0
  28. /package/es/{iconfont.1792080138286.woff → iconfont.1792115566662.woff} +0 -0
  29. /package/es/{iconfont.1792080138286.woff2 → iconfont.1792115566662.woff2} +0 -0
  30. /package/lib/icon/style/{iconfont.1792080138286.ttf → iconfont.1792115566662.ttf} +0 -0
  31. /package/lib/icon/style/{iconfont.1792080138286.woff → iconfont.1792115566662.woff} +0 -0
  32. /package/lib/icon/style/{iconfont.1792080138286.woff2 → iconfont.1792115566662.woff2} +0 -0
  33. /package/lib/{iconfont.1792080138286.ttf → iconfont.1792115566662.ttf} +0 -0
  34. /package/lib/{iconfont.1792080138286.woff → iconfont.1792115566662.woff} +0 -0
  35. /package/lib/{iconfont.1792080138286.woff2 → iconfont.1792115566662.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -101,7 +101,7 @@ function checkDynamic() {
101
101
  }
102
102
 
103
103
  const { log } = VxeUI;
104
- const uiVersion = `ui v${"4.20.7"}`;
104
+ const uiVersion = `ui v${"4.20.8"}`;
105
105
  function createComponentLog(name) {
106
106
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
107
107
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -115,7 +115,7 @@ function createComponentLog(name) {
115
115
  const warnLog$j = log.create('warn', uiVersion);
116
116
  log.create('error', uiVersion);
117
117
 
118
- const version = "4.20.7";
118
+ const version = "4.20.8";
119
119
  VxeUI.uiVersion = version;
120
120
  VxeUI.dynamicApp = dynamicApp;
121
121
  function config(options) {
@@ -3829,7 +3829,7 @@ var VxeTooltipComponent = defineVxeComponent({
3829
3829
  const { tipTarget: targetElem, tipStore, tipPos, tipZindex } = reactData;
3830
3830
  const panelElem = refElem.value;
3831
3831
  if (!targetElem || !panelElem) {
3832
- return;
3832
+ return nextTick();
3833
3833
  }
3834
3834
  const targetRect = targetElem.getBoundingClientRect();
3835
3835
  const targetWidth = targetElem.offsetWidth;
@@ -3866,6 +3866,7 @@ var VxeTooltipComponent = defineVxeComponent({
3866
3866
  tipStore.placement = ppObj.placement;
3867
3867
  tipStore.style = panelStyle;
3868
3868
  tipStore.arrowStyle.left = ppObj.arrowLeft ? `${ppObj.arrowLeft}px` : '';
3869
+ return nextTick();
3869
3870
  };
3870
3871
  const tooltipMethods = {
3871
3872
  dispatchEvent,
@@ -3892,8 +3893,11 @@ var VxeTooltipComponent = defineVxeComponent({
3892
3893
  return handleVisible(target, content);
3893
3894
  },
3894
3895
  updatePlacement() {
3895
- updateTipStyle();
3896
- return nextTick().then(updateTipStyle);
3896
+ return updateTipStyle().then(() => {
3897
+ return updateTipStyle();
3898
+ }).then(() => {
3899
+ return updateTipStyle();
3900
+ });
3897
3901
  },
3898
3902
  isActived() {
3899
3903
  return reactData.tipActive;