vxe-pc-ui 3.20.6 → 3.20.7
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 +47 -7
- 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 +3248 -2967
- 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 +79 -28
- 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 +49 -8
- 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.1792080131929.ttf} +0 -0
- /package/es/icon/{iconfont.1792054426799.woff → iconfont.1792080131929.woff} +0 -0
- /package/es/icon/{iconfont.1792054426799.woff2 → iconfont.1792080131929.woff2} +0 -0
- /package/es/{iconfont.1792054426799.ttf → iconfont.1792080131929.ttf} +0 -0
- /package/es/{iconfont.1792054426799.woff → iconfont.1792080131929.woff} +0 -0
- /package/es/{iconfont.1792054426799.woff2 → iconfont.1792080131929.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.ttf → iconfont.1792080131929.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.woff → iconfont.1792080131929.woff} +0 -0
- /package/lib/icon/style/{iconfont.1792054426799.woff2 → iconfont.1792080131929.woff2} +0 -0
- /package/lib/{iconfont.1792054426799.ttf → iconfont.1792080131929.ttf} +0 -0
- /package/lib/{iconfont.1792054426799.woff → iconfont.1792080131929.woff} +0 -0
- /package/lib/{iconfont.1792054426799.woff2 → iconfont.1792080131929.woff2} +0 -0
|
@@ -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
|