vxe-pc-ui 4.9.17 → 4.9.19
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/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/text/src/text.js +66 -39
- package/es/text/style.css +77 -4
- package/es/text/style.min.css +1 -1
- package/es/tooltip/src/tooltip.js +81 -12
- package/es/tooltip/style.css +8 -5
- package/es/tooltip/style.min.css +1 -1
- package/es/ui/index.js +6 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-text/style.css +77 -4
- package/es/vxe-text/style.min.css +1 -1
- package/es/vxe-tooltip/style.css +8 -5
- 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 +167 -55
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/text/src/text.js +72 -41
- package/lib/text/src/text.min.js +1 -1
- package/lib/text/style/style.css +77 -4
- package/lib/text/style/style.min.css +1 -1
- package/lib/tooltip/src/tooltip.js +87 -11
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/tooltip/style/style.css +8 -5
- package/lib/tooltip/style/style.min.css +1 -1
- package/lib/ui/index.js +6 -2
- 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-text/style/style.css +77 -4
- package/lib/vxe-text/style/style.min.css +1 -1
- package/lib/vxe-tooltip/style/style.css +8 -5
- package/lib/vxe-tooltip/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/text/src/text.ts +70 -39
- package/packages/tooltip/src/tooltip.ts +90 -17
- package/packages/ui/index.ts +5 -1
- package/styles/components/text.scss +21 -6
- package/styles/components/tooltip.scss +8 -5
- package/types/components/table.d.ts +10 -4
- package/types/components/text.d.ts +12 -5
- package/types/components/tooltip.d.ts +12 -0
- /package/es/icon/{iconfont.1757125817990.ttf → iconfont.1757242939473.ttf} +0 -0
- /package/es/icon/{iconfont.1757125817990.woff → iconfont.1757242939473.woff} +0 -0
- /package/es/icon/{iconfont.1757125817990.woff2 → iconfont.1757242939473.woff2} +0 -0
- /package/es/{iconfont.1757125817990.ttf → iconfont.1757242939473.ttf} +0 -0
- /package/es/{iconfont.1757125817990.woff → iconfont.1757242939473.woff} +0 -0
- /package/es/{iconfont.1757125817990.woff2 → iconfont.1757242939473.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1757125817990.ttf → iconfont.1757242939473.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1757125817990.woff → iconfont.1757242939473.woff} +0 -0
- /package/lib/icon/style/{iconfont.1757125817990.woff2 → iconfont.1757242939473.woff2} +0 -0
- /package/lib/{iconfont.1757125817990.ttf → iconfont.1757242939473.ttf} +0 -0
- /package/lib/{iconfont.1757125817990.woff → iconfont.1757242939473.woff} +0 -0
- /package/lib/{iconfont.1757125817990.woff2 → iconfont.1757242939473.woff2} +0 -0
|
@@ -30,10 +30,15 @@ export namespace VxeTextPropTypes {
|
|
|
30
30
|
export type SuffixIcon = string
|
|
31
31
|
export type Loading = boolean
|
|
32
32
|
export type Content = string | number
|
|
33
|
-
export type CopyIcon = string
|
|
34
33
|
export type ClickToCopy = boolean
|
|
35
|
-
export type CopyLayout = 'left' | 'right' | '' | null
|
|
36
34
|
export type Size = VxeComponentSizeType
|
|
35
|
+
export interface CopyConfig {
|
|
36
|
+
layout?: 'left' | 'right' | '' | null
|
|
37
|
+
showMessage?: boolean
|
|
38
|
+
trigger?: 'click' | 'dblclick'
|
|
39
|
+
icon?: string
|
|
40
|
+
status?: VxeComponentStatusType
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
export type VxeTextProps = {
|
|
@@ -53,9 +58,8 @@ export type VxeTextProps = {
|
|
|
53
58
|
suffixIcon?: VxeTextPropTypes.SuffixIcon
|
|
54
59
|
loading?: VxeTextPropTypes.Loading
|
|
55
60
|
content?: VxeTextPropTypes.Content
|
|
56
|
-
copyIcon?: VxeTextPropTypes.CopyIcon
|
|
57
61
|
clickToCopy?: VxeTextPropTypes.ClickToCopy
|
|
58
|
-
|
|
62
|
+
copyConfig?: VxeTextPropTypes.CopyConfig
|
|
59
63
|
size?: VxeTextPropTypes.Size
|
|
60
64
|
}
|
|
61
65
|
|
|
@@ -76,8 +80,11 @@ export interface VxeTextPrivateMethods extends TextPrivateMethods { }
|
|
|
76
80
|
|
|
77
81
|
export type VxeTextEmits = [
|
|
78
82
|
'click',
|
|
83
|
+
'dblclick',
|
|
79
84
|
'prefix-click',
|
|
80
|
-
'suffix-click'
|
|
85
|
+
'suffix-click',
|
|
86
|
+
'copy-success',
|
|
87
|
+
'copy-error'
|
|
81
88
|
]
|
|
82
89
|
|
|
83
90
|
export namespace VxeTextDefines {
|
|
@@ -33,6 +33,12 @@ export namespace VxeTooltipPropTypes {
|
|
|
33
33
|
export type UseHTML = boolean
|
|
34
34
|
export type ZIndex = string | number
|
|
35
35
|
export type PopupClassName = string | ((params: { $tooltip: VxeTooltipConstructor }) => string)
|
|
36
|
+
export type Width = string | number
|
|
37
|
+
export type Height = string | number
|
|
38
|
+
export type MinWidth = string | number
|
|
39
|
+
export type MinHeight = string | number
|
|
40
|
+
export type MaxWidth = string | number
|
|
41
|
+
export type MaxHeight = string | number
|
|
36
42
|
export type IsArrow = boolean
|
|
37
43
|
export type Enterable = boolean
|
|
38
44
|
export type EnterDelay = number
|
|
@@ -49,6 +55,12 @@ export interface VxeTooltipProps {
|
|
|
49
55
|
content?: VxeTooltipPropTypes.Content
|
|
50
56
|
useHTML?: VxeTooltipPropTypes.UseHTML
|
|
51
57
|
popupClassName?: VxeTooltipPropTypes.PopupClassName
|
|
58
|
+
Width?: VxeTooltipPropTypes.Width
|
|
59
|
+
height?: VxeTooltipPropTypes.Height
|
|
60
|
+
minWidth?: VxeTooltipPropTypes.MinWidth
|
|
61
|
+
minHeight?: VxeTooltipPropTypes.MinHeight
|
|
62
|
+
maxWidth?: VxeTooltipPropTypes.MaxWidth
|
|
63
|
+
maxHeight?: VxeTooltipPropTypes.MaxHeight
|
|
52
64
|
zIndex?: VxeTooltipPropTypes.ZIndex
|
|
53
65
|
isArrow?: VxeTooltipPropTypes.IsArrow
|
|
54
66
|
enterable?: VxeTooltipPropTypes.Enterable
|
|
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
|