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.
Files changed (44) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/style.css +1 -1
  3. package/es/style.min.css +1 -1
  4. package/es/text/src/text.js +93 -30
  5. package/es/text/style.css +13 -8
  6. package/es/text/style.min.css +1 -1
  7. package/es/ui/index.js +1 -1
  8. package/es/ui/src/log.js +1 -1
  9. package/es/vxe-text/style.css +13 -8
  10. package/es/vxe-text/style.min.css +1 -1
  11. package/lib/icon/style/style.css +1 -1
  12. package/lib/icon/style/style.min.css +1 -1
  13. package/lib/index.umd.js +88 -17
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/style.css +1 -1
  16. package/lib/style.min.css +1 -1
  17. package/lib/text/src/text.js +86 -16
  18. package/lib/text/src/text.min.js +1 -1
  19. package/lib/text/style/style.css +13 -8
  20. package/lib/text/style/style.min.css +1 -1
  21. package/lib/ui/index.js +1 -1
  22. package/lib/ui/index.min.js +1 -1
  23. package/lib/ui/src/log.js +1 -1
  24. package/lib/ui/src/log.min.js +1 -1
  25. package/lib/vxe-text/style/style.css +13 -8
  26. package/lib/vxe-text/style/style.min.css +1 -1
  27. package/package.json +1 -1
  28. package/packages/text/src/text.ts +95 -24
  29. package/styles/components/text.scss +13 -5
  30. package/types/components/column.d.ts +1 -1
  31. package/types/components/table.d.ts +31 -0
  32. package/types/components/text.d.ts +20 -1
  33. /package/es/icon/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
  34. /package/es/icon/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
  35. /package/es/icon/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
  36. /package/es/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
  37. /package/es/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
  38. /package/es/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
  39. /package/lib/icon/style/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
  40. /package/lib/icon/style/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
  41. /package/lib/icon/style/{iconfont.1757057037549.woff2 → iconfont.1757082114285.woff2} +0 -0
  42. /package/lib/{iconfont.1757057037549.ttf → iconfont.1757082114285.ttf} +0 -0
  43. /package/lib/{iconfont.1757057037549.woff → iconfont.1757082114285.woff} +0 -0
  44. /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 {