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.
- package/dist/all.esm.js +6 -7
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tooltip/src/tooltip.js +4 -5
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +6 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tooltip/src/tooltip.js +4 -4
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/tooltip/src/tooltip.ts +4 -4
- /package/es/icon/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
- /package/es/icon/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
- /package/es/icon/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
- /package/es/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
- /package/es/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
- /package/es/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
- /package/lib/icon/style/{iconfont.1787225561954.woff2 → iconfont.1787226519427.woff2} +0 -0
- /package/lib/{iconfont.1787225561954.ttf → iconfont.1787226519427.ttf} +0 -0
- /package/lib/{iconfont.1787225561954.woff → iconfont.1787226519427.woff} +0 -0
- /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.
|
|
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.
|
|
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 =
|
|
2930
|
-
let top =
|
|
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,
|