vxe-pc-ui 4.9.15 → 4.9.16
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 +93 -30
- package/es/text/style.css +13 -8
- package/es/text/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-text/style.css +13 -8
- package/es/vxe-text/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 +88 -17
- 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 +86 -16
- package/lib/text/src/text.min.js +1 -1
- package/lib/text/style/style.css +13 -8
- package/lib/text/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-text/style/style.css +13 -8
- package/lib/vxe-text/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/text/src/text.ts +95 -24
- package/styles/components/text.scss +13 -5
- package/types/components/column.d.ts +1 -1
- package/types/components/table.d.ts +31 -0
- package/types/components/text.d.ts +20 -1
- /package/es/icon/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
- /package/es/icon/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
- /package/es/icon/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
- /package/es/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
- /package/es/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
- /package/es/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
- /package/lib/icon/style/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
- /package/lib/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
- /package/lib/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
- /package/lib/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
|
@@ -26,19 +26,36 @@ export namespace VxeTextPropTypes {
|
|
|
26
26
|
export type Status = VxeComponentStatusType
|
|
27
27
|
export type Title = string | number
|
|
28
28
|
export type Icon = string
|
|
29
|
+
export type PrefixIcon = string
|
|
30
|
+
export type SuffixIcon = string
|
|
29
31
|
export type Loading = boolean
|
|
30
32
|
export type Content = string | number
|
|
33
|
+
export type CopyIcon = string
|
|
31
34
|
export type ClickToCopy = boolean
|
|
35
|
+
export type CopyLayout = 'left' | 'right' | '' | null
|
|
32
36
|
export type Size = VxeComponentSizeType
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
export type VxeTextProps = {
|
|
36
40
|
status?: VxeTextPropTypes.Status
|
|
37
41
|
title?: VxeTextPropTypes.Title
|
|
42
|
+
/**
|
|
43
|
+
* 前缀图标,属于 prefix-icon 的简写
|
|
44
|
+
*/
|
|
38
45
|
icon?: VxeTextPropTypes.Icon
|
|
46
|
+
/**
|
|
47
|
+
* 前缀图标
|
|
48
|
+
*/
|
|
49
|
+
prefixIcon?: VxeTextPropTypes.PrefixIcon
|
|
50
|
+
/**
|
|
51
|
+
* 后缀图标
|
|
52
|
+
*/
|
|
53
|
+
suffixIcon?: VxeTextPropTypes.SuffixIcon
|
|
39
54
|
loading?: VxeTextPropTypes.Loading
|
|
40
55
|
content?: VxeTextPropTypes.Content
|
|
56
|
+
copyIcon?: VxeTextPropTypes.CopyIcon
|
|
41
57
|
clickToCopy?: VxeTextPropTypes.ClickToCopy
|
|
58
|
+
copyLayout?: VxeTextPropTypes.CopyLayout
|
|
42
59
|
size?: VxeTextPropTypes.Size
|
|
43
60
|
}
|
|
44
61
|
|
|
@@ -58,7 +75,9 @@ export interface TextPrivateMethods { }
|
|
|
58
75
|
export interface VxeTextPrivateMethods extends TextPrivateMethods { }
|
|
59
76
|
|
|
60
77
|
export type VxeTextEmits = [
|
|
61
|
-
'click'
|
|
78
|
+
'click',
|
|
79
|
+
'prefix-click',
|
|
80
|
+
'suffix-click'
|
|
62
81
|
]
|
|
63
82
|
|
|
64
83
|
export namespace VxeTextDefines {
|
|
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
|