vxe-pc-ui 4.20.5 → 4.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/dist/all.esm.js +5157 -5088
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/button/src/button.js +1 -0
- package/es/cascader/src/cascader.js +1 -0
- package/es/color-picker/src/color-picker.js +1 -0
- package/es/date-picker/src/date-picker.js +1 -0
- package/es/date-range-picker/src/date-range-picker.js +1 -0
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +1 -0
- package/es/pulldown/src/pulldown.js +1 -0
- package/es/scrollbar/src/scrollbar.js +20 -3
- package/es/scrollbar/style.css +11 -0
- package/es/scrollbar/style.min.css +1 -1
- package/es/select/src/select.js +1 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +1 -0
- package/es/tabs/src/tabs.js +5 -3
- package/es/tooltip/src/tooltip.js +47 -9
- package/es/tooltip/style.css +2 -1
- package/es/tooltip/style.min.css +1 -1
- package/es/tree-select/src/tree-select.js +1 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +11 -8
- 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/button/src/button.js +1 -0
- package/lib/button/src/button.min.js +1 -1
- package/lib/cascader/src/cascader.js +1 -0
- package/lib/cascader/src/cascader.min.js +1 -1
- package/lib/color-picker/src/color-picker.js +1 -0
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +1 -0
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +1 -0
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +1 -0
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +4640 -4346
- package/lib/index.umd.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +1 -0
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/scrollbar/src/scrollbar.js +22 -3
- 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/select/src/select.js +1 -0
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +1 -0
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tabs/src/tabs.js +45 -33
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +81 -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/tree-select/src/tree-select.js +1 -0
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +11 -7
- package/lib/ui/src/dom.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/button/src/button.ts +2 -1
- package/packages/cascader/src/cascader.ts +1 -0
- package/packages/color-picker/src/color-picker.ts +1 -0
- package/packages/date-picker/src/date-picker.ts +1 -0
- package/packages/date-range-picker/src/date-range-picker.ts +1 -0
- package/packages/icon-picker/src/icon-picker.ts +1 -0
- package/packages/pulldown/src/pulldown.ts +1 -0
- package/packages/scrollbar/src/scrollbar.ts +20 -2
- package/packages/select/src/select.ts +1 -0
- package/packages/table-select/src/table-select.ts +1 -0
- package/packages/tabs/src/tabs.ts +6 -3
- package/packages/tooltip/src/tooltip.ts +49 -10
- package/packages/tree-select/src/tree-select.ts +1 -0
- package/packages/ui/src/dom.ts +12 -8
- package/styles/components/scrollbar.scss +15 -1
- package/styles/components/tooltip.scss +2 -1
- package/types/components/button.d.ts +4 -0
- package/types/components/cascader.d.ts +4 -0
- 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.1792048659766.ttf → iconfont.1792080138286.ttf} +0 -0
- /package/es/icon/{iconfont.1792048659766.woff → iconfont.1792080138286.woff} +0 -0
- /package/es/icon/{iconfont.1792048659766.woff2 → iconfont.1792080138286.woff2} +0 -0
- /package/es/{iconfont.1792048659766.ttf → iconfont.1792080138286.ttf} +0 -0
- /package/es/{iconfont.1792048659766.woff → iconfont.1792080138286.woff} +0 -0
- /package/es/{iconfont.1792048659766.woff2 → iconfont.1792080138286.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1792048659766.ttf → iconfont.1792080138286.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1792048659766.woff → iconfont.1792080138286.woff} +0 -0
- /package/lib/icon/style/{iconfont.1792048659766.woff2 → iconfont.1792080138286.woff2} +0 -0
- /package/lib/{iconfont.1792048659766.ttf → iconfont.1792080138286.ttf} +0 -0
- /package/lib/{iconfont.1792048659766.woff → iconfont.1792080138286.woff} +0 -0
- /package/lib/{iconfont.1792048659766.woff2 → iconfont.1792080138286.woff2} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
2
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, VxeComponentStyleType, ValueOf } from '@vxe-ui/core'
|
|
3
3
|
import { VxeIconPropTypes } from './icon'
|
|
4
|
+
import { VxeScrollbarProps } from './scrollbar'
|
|
4
5
|
|
|
5
6
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
7
|
|
|
@@ -48,6 +49,17 @@ export namespace VxeTooltipPropTypes {
|
|
|
48
49
|
export type LeaveMethod = (params: { $event: MouseEvent }) => boolean
|
|
49
50
|
export type AppendTo = string | HTMLElement | ((params: {}) => string | HTMLElement)
|
|
50
51
|
export type Transfer = boolean
|
|
52
|
+
export type UseScrollbar = boolean
|
|
53
|
+
export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'xConfig' | 'yConfig' | 'padding' | 'autoHide' | 'visible' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {
|
|
54
|
+
/**
|
|
55
|
+
* 滚动条宽度
|
|
56
|
+
*/
|
|
57
|
+
width?: number | string
|
|
58
|
+
/**
|
|
59
|
+
* 滚动条高度
|
|
60
|
+
*/
|
|
61
|
+
height?: number | string
|
|
62
|
+
}
|
|
51
63
|
|
|
52
64
|
/**
|
|
53
65
|
* 已废弃,请使用 UseHtml
|
|
@@ -98,6 +110,14 @@ export interface VxeTooltipProps {
|
|
|
98
110
|
leaveMethod?: VxeTooltipPropTypes.LeaveMethod
|
|
99
111
|
transfer?: VxeTooltipPropTypes.Transfer
|
|
100
112
|
appendTo?: VxeTooltipPropTypes.AppendTo
|
|
113
|
+
/**
|
|
114
|
+
* 使用虚拟滚动条
|
|
115
|
+
*/
|
|
116
|
+
useScrollbar?: VxeTooltipPropTypes.UseScrollbar
|
|
117
|
+
/**
|
|
118
|
+
* 滚动条配置项
|
|
119
|
+
*/
|
|
120
|
+
scrollbarConfig?: VxeTooltipPropTypes.ScrollbarConfig
|
|
101
121
|
}
|
|
102
122
|
|
|
103
123
|
export interface TooltipPrivateComputed {
|
|
@@ -126,6 +146,7 @@ export interface TooltipReactData {
|
|
|
126
146
|
}
|
|
127
147
|
|
|
128
148
|
export interface TooltipInternalData {
|
|
149
|
+
scrollbarViewEl?: HTMLElement
|
|
129
150
|
showDelayTip?(): void
|
|
130
151
|
}
|
|
131
152
|
|
|
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
|