vxe-pc-ui 3.20.6 → 3.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.
- package/es/icon/style.css +1 -1
- package/es/scrollbar/src/scrollbar.js +22 -2
- package/es/scrollbar/style.css +11 -0
- package/es/scrollbar/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +5 -3
- package/es/tooltip/src/tooltip.js +54 -9
- package/es/tooltip/style.css +2 -1
- package/es/tooltip/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-scrollbar/style.css +11 -0
- package/es/vxe-scrollbar/style.min.css +1 -1
- package/es/vxe-tooltip/style.css +2 -1
- package/es/vxe-tooltip/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +5062 -4699
- package/lib/index.umd.min.js +1 -1
- package/lib/scrollbar/src/scrollbar.js +27 -2
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/scrollbar/style/style.css +11 -0
- package/lib/scrollbar/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +41 -33
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +83 -29
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/tooltip/style/style.css +2 -1
- package/lib/tooltip/style/style.min.css +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/lib/vxe-scrollbar/style/style.css +11 -0
- package/lib/vxe-scrollbar/style/style.min.css +1 -1
- package/lib/vxe-tooltip/style/style.css +2 -1
- package/lib/vxe-tooltip/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/scrollbar/src/scrollbar.ts +24 -2
- package/packages/tabs/src/tabs.ts +6 -3
- package/packages/tooltip/src/tooltip.ts +56 -10
- package/styles/components/scrollbar.scss +15 -1
- package/styles/components/tooltip.scss +2 -1
- package/types/components/scrollbar.d.ts +19 -1
- package/types/components/table.d.ts +1 -0
- package/types/components/tooltip.d.ts +21 -0
- /package/es/icon/{iconfont.1792054426799.ttf → iconfont.1792115554173.ttf} +0 -0
- /package/es/icon/{iconfont.1792054426799.woff → iconfont.1792115554173.woff} +0 -0
- /package/es/icon/{iconfont.1792054426799.woff2 → iconfont.1792115554173.woff2} +0 -0
- /package/es/{iconfont.1792054426799.ttf → iconfont.1792115554173.ttf} +0 -0
- /package/es/{iconfont.1792054426799.woff → iconfont.1792115554173.woff} +0 -0
- /package/es/{iconfont.1792054426799.woff2 → iconfont.1792115554173.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.ttf → iconfont.1792115554173.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.woff → iconfont.1792115554173.woff} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.woff2 → iconfont.1792115554173.woff2} +0 -0
- /package/lib/{iconfont.1792054426799.ttf → iconfont.1792115554173.ttf} +0 -0
- /package/lib/{iconfont.1792054426799.woff → iconfont.1792115554173.woff} +0 -0
- /package/lib/{iconfont.1792054426799.woff2 → iconfont.1792115554173.woff2} +0 -0
|
@@ -1564,6 +1564,7 @@ export namespace VxeTablePropTypes {
|
|
|
1564
1564
|
*/
|
|
1565
1565
|
defaultPlacement?: VxeTooltipPropTypes.DefaultPlacement
|
|
1566
1566
|
popupClassName?: VxeTooltipPropTypes.PopupClassName
|
|
1567
|
+
useScrollbar?: VxeTooltipPropTypes.UseScrollbar
|
|
1567
1568
|
/**
|
|
1568
1569
|
* 该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容
|
|
1569
1570
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, VxeComponentStyleType, ValueOf } from '@vxe-ui/core'
|
|
2
2
|
import { VxeIconPropTypes } from './icon'
|
|
3
|
+
import { VxeScrollbarProps } from './scrollbar'
|
|
3
4
|
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
5
6
|
|
|
@@ -41,6 +42,17 @@ export namespace VxeTooltipPropTypes {
|
|
|
41
42
|
export type LeaveMethod = (params: { $event: MouseEvent }) => boolean
|
|
42
43
|
export type AppendTo = string | HTMLElement | ((params: {}) => string | HTMLElement)
|
|
43
44
|
export type Transfer = boolean
|
|
45
|
+
export type UseScrollbar = boolean
|
|
46
|
+
export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'xConfig' | 'yConfig' | 'padding' | 'autoHide' | 'visible' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {
|
|
47
|
+
/**
|
|
48
|
+
* 滚动条宽度
|
|
49
|
+
*/
|
|
50
|
+
width?: number | string
|
|
51
|
+
/**
|
|
52
|
+
* 滚动条高度
|
|
53
|
+
*/
|
|
54
|
+
height?: number | string
|
|
55
|
+
}
|
|
44
56
|
|
|
45
57
|
/**
|
|
46
58
|
* 已废弃,请使用 UseHtml
|
|
@@ -91,6 +103,14 @@ export interface VxeTooltipProps {
|
|
|
91
103
|
leaveMethod?: VxeTooltipPropTypes.LeaveMethod
|
|
92
104
|
transfer?: VxeTooltipPropTypes.Transfer
|
|
93
105
|
appendTo?: VxeTooltipPropTypes.AppendTo
|
|
106
|
+
/**
|
|
107
|
+
* 使用虚拟滚动条
|
|
108
|
+
*/
|
|
109
|
+
useScrollbar?: VxeTooltipPropTypes.UseScrollbar
|
|
110
|
+
/**
|
|
111
|
+
* 滚动条配置项
|
|
112
|
+
*/
|
|
113
|
+
scrollbarConfig?: VxeTooltipPropTypes.ScrollbarConfig
|
|
94
114
|
}
|
|
95
115
|
|
|
96
116
|
export interface TooltipPrivateComputed {
|
|
@@ -119,6 +139,7 @@ export interface TooltipReactData {
|
|
|
119
139
|
}
|
|
120
140
|
|
|
121
141
|
export interface TooltipInternalData {
|
|
142
|
+
scrollbarViewEl?: HTMLElement
|
|
122
143
|
showDelayTip?(): void
|
|
123
144
|
}
|
|
124
145
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|