uview-plus 3.2.3 → 3.2.6

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 (100) hide show
  1. package/changelog.md +9 -0
  2. package/components/u-checkbox/u-checkbox.vue +2 -2
  3. package/components/u-number-box/u-number-box.vue +4 -4
  4. package/components/u-picker/u-picker.vue +1 -1
  5. package/components/u-radio/u-radio.vue +2 -2
  6. package/components/u-rate/u-rate.vue +1 -1
  7. package/components/u-subsection/u-subsection.vue +22 -14
  8. package/components/u-swipe-action-item/u-swipe-action-item.vue +18 -1
  9. package/components/u-switch/u-switch.vue +1 -1
  10. package/components/u-tabbar-item/u-tabbar-item.vue +1 -1
  11. package/components/u-tag/u-tag.vue +1 -1
  12. package/index.js +5 -2
  13. package/libs/css/common.scss +3 -0
  14. package/libs/mixin/mpShare.js +15 -13
  15. package/package.json +2 -1
  16. package/types/comps/_common.d.ts +9 -0
  17. package/types/comps/actionSheet.d.ts +121 -0
  18. package/types/comps/album.d.ts +72 -0
  19. package/types/comps/alert.d.ts +55 -0
  20. package/types/comps/avatar.d.ts +85 -0
  21. package/types/comps/avatarGroup.d.ts +62 -0
  22. package/types/comps/backTop.d.ts +74 -0
  23. package/types/comps/badge.d.ts +76 -0
  24. package/types/comps/button.d.ts +169 -0
  25. package/types/comps/calendar.d.ts +164 -0
  26. package/types/comps/cell.d.ts +133 -0
  27. package/types/comps/cellGroup.d.ts +27 -0
  28. package/types/comps/checkbox.d.ts +69 -0
  29. package/types/comps/checkboxGroup.d.ts +93 -0
  30. package/types/comps/code.d.ts +69 -0
  31. package/types/comps/codeInput.d.ts +98 -0
  32. package/types/comps/col.d.ts +43 -0
  33. package/types/comps/collapse.d.ts +52 -0
  34. package/types/comps/collapseItem.d.ts +83 -0
  35. package/types/comps/countDown.d.ts +60 -0
  36. package/types/comps/countTo.d.ts +88 -0
  37. package/types/comps/datetimePicker.d.ts +146 -0
  38. package/types/comps/divider.d.ts +58 -0
  39. package/types/comps/empty.d.ts +72 -0
  40. package/types/comps/form.d.ts +76 -0
  41. package/types/comps/formItem.d.ts +68 -0
  42. package/types/comps/gap.d.ts +35 -0
  43. package/types/comps/grid.d.ts +34 -0
  44. package/types/comps/gridItem.d.ts +28 -0
  45. package/types/comps/icon.d.ts +93 -0
  46. package/types/comps/image.d.ts +119 -0
  47. package/types/comps/indexAnchor.d.ts +38 -0
  48. package/types/comps/indexItem.d.ts +18 -0
  49. package/types/comps/indexList.d.ts +39 -0
  50. package/types/comps/input.d.ts +234 -0
  51. package/types/comps/keyboard.d.ts +125 -0
  52. package/types/comps/line.d.ts +44 -0
  53. package/types/comps/lineProgress.d.ts +51 -0
  54. package/types/comps/link.d.ts +51 -0
  55. package/types/comps/list.d.ts +92 -0
  56. package/types/comps/listItem.d.ts +18 -0
  57. package/types/comps/loadMore.d.ts +108 -0
  58. package/types/comps/loadingIcon.d.ts +68 -0
  59. package/types/comps/loadingPage.d.ts +58 -0
  60. package/types/comps/modal.d.ts +115 -0
  61. package/types/comps/navbar.d.ts +113 -0
  62. package/types/comps/noNetwork.d.ts +40 -0
  63. package/types/comps/noticeBar.d.ts +85 -0
  64. package/types/comps/notify.d.ts +73 -0
  65. package/types/comps/numberBox.d.ts +155 -0
  66. package/types/comps/overlay.d.ts +46 -0
  67. package/types/comps/parse.d.ts +101 -0
  68. package/types/comps/picker.d.ts +115 -0
  69. package/types/comps/popup.d.ts +103 -0
  70. package/types/comps/radio.d.ts +77 -0
  71. package/types/comps/radioGroup.d.ts +97 -0
  72. package/types/comps/rate.d.ts +85 -0
  73. package/types/comps/readMore.d.ts +80 -0
  74. package/types/comps/row.d.ts +34 -0
  75. package/types/comps/scrollList.d.ts +51 -0
  76. package/types/comps/search.d.ts +167 -0
  77. package/types/comps/skeleton.d.ts +70 -0
  78. package/types/comps/slider.d.ts +79 -0
  79. package/types/comps/steps.d.ts +48 -0
  80. package/types/comps/stepsItem.d.ts +41 -0
  81. package/types/comps/sticky.d.ts +48 -0
  82. package/types/comps/subsection.d.ts +64 -0
  83. package/types/comps/swipeAction.d.ts +24 -0
  84. package/types/comps/swipeActionItem.d.ts +58 -0
  85. package/types/comps/swiper.d.ts +142 -0
  86. package/types/comps/swiperIndicator.d.ts +37 -0
  87. package/types/comps/switch.d.ts +73 -0
  88. package/types/comps/tabbar.d.ts +54 -0
  89. package/types/comps/tabbarItem.d.ts +52 -0
  90. package/types/comps/tabs.d.ts +85 -0
  91. package/types/comps/tag.d.ts +93 -0
  92. package/types/comps/text.d.ts +110 -0
  93. package/types/comps/textarea.d.ts +158 -0
  94. package/types/comps/toast.d.ts +59 -0
  95. package/types/comps/tooltip.d.ts +71 -0
  96. package/types/comps/transition.d.ts +61 -0
  97. package/types/comps/upload.d.ts +163 -0
  98. package/types/comps.d.ts +99 -0
  99. package/types/index.d.ts +48 -0
  100. package/types/package.json +26 -0
@@ -0,0 +1,77 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+ declare interface RadioProps {
4
+ /**
5
+ * checkbox的名称
6
+ */
7
+ name?: string | number
8
+ /**
9
+ * 形状,square为方形,circle为圆型
10
+ * @default "square"
11
+ */
12
+ shape?: 'square' | 'circle'
13
+ /**
14
+ * 是否禁用
15
+ * @default false
16
+ */
17
+ disabled?: boolean
18
+ /**
19
+ * 是否禁止点击提示语选中复选框
20
+ */
21
+ labelDisabled?: string | boolean
22
+ /**
23
+ * 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
24
+ */
25
+ activeColor?: string
26
+ /**
27
+ * 未选中的颜色
28
+ */
29
+ inactiveColor?: string
30
+ /**
31
+ * 图标的大小,单位px
32
+ */
33
+ iconSize?: string | number
34
+ /**
35
+ * label的字体大小,px单位
36
+ */
37
+ labelSize?: string | number
38
+ /**
39
+ * label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
40
+ */
41
+ label?: string | number
42
+ /**
43
+ * 整体的大小
44
+ */
45
+ size?: string | number
46
+ /**
47
+ * 图标颜色
48
+ */
49
+ iconColor?: string
50
+ /**
51
+ * label的颜色
52
+ */
53
+ labelColor?: string
54
+ /**
55
+ * 某个`radio`状态发生变化时触发(选中状态)
56
+ * @param name 通过`props`传递的`name`值
57
+ */
58
+ onChange?: (name: string) => any
59
+ }
60
+
61
+ declare interface RadioSlots {
62
+ /**
63
+ * 自定义修改label内容
64
+ */
65
+ ['default']?: () => any
66
+ }
67
+
68
+ declare interface _Radio {
69
+ new (): {
70
+ $props: AllowedComponentProps &
71
+ VNodeProps &
72
+ RadioProps
73
+ $slots: RadioSlots
74
+ }
75
+ }
76
+
77
+ export declare const Radio: _Radio
@@ -0,0 +1,97 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+
4
+ declare interface RadioGroupProps {
5
+ /**
6
+ * 绑定的值
7
+ */
8
+ value?: string | number | boolean
9
+ /**
10
+ * 是否禁用全部checkbox
11
+ * @default false
12
+ */
13
+ disabled?: boolean
14
+ /**
15
+ * 形状,circle-圆形,square-方形
16
+ * @default "circle"
17
+ */
18
+ shape?: 'circle' | 'square'
19
+ /**
20
+ * 选中状态下的颜色,如子`Checkbox`组件设置此值,将会覆盖本值
21
+ * @default "#2979ff"
22
+ */
23
+ activeColor?: string
24
+ /**
25
+ * 未选中的颜色
26
+ * @default "#c8c9cc"
27
+ */
28
+ inactiveColor?: string
29
+ /**
30
+ * 标识符
31
+ */
32
+ name?: string
33
+ /**
34
+ * 整个组件的尺寸,默认px
35
+ * @default 18
36
+ */
37
+ size?: string | number
38
+ /**
39
+ * 布局方式,row-横向,column-纵向
40
+ * @default "row"
41
+ */
42
+ placement?: 'row' | 'column'
43
+ /**
44
+ * 文本
45
+ */
46
+ label?: string
47
+ /**
48
+ * label的字体颜色
49
+ * @default "#303133"
50
+ */
51
+ labelColor?: string
52
+ /**
53
+ * label的字体大小,px单位
54
+ * @default 14
55
+ */
56
+ labelSize?: string | number
57
+ /**
58
+ * 是否禁止点击文本操作
59
+ * @default false
60
+ */
61
+ labelDisabled?: boolean
62
+ /**
63
+ * 图标颜色
64
+ * @default "#fff"
65
+ */
66
+ iconColor?: string
67
+ /**
68
+ * 图标的大小,单位px
69
+ * @default 12
70
+ */
71
+ iconSize?: string | number
72
+ /**
73
+ * 竖向配列时,是否显示下划线
74
+ * @default false
75
+ */
76
+ borderBottom?: boolean
77
+ /**
78
+ * 勾选图标的对齐方式,left-左边,right-右边
79
+ * @default "left"
80
+ */
81
+ iconPlacement?: 'left' | 'right'
82
+ /**
83
+ * 任一个`radio`状态发生变化时触发
84
+ * @param name 值为`radio`通过`props`传递的`name`值
85
+ */
86
+ onChange?: (name: string) => any
87
+ }
88
+
89
+ declare interface _RadioGroup {
90
+ new (): {
91
+ $props: AllowedComponentProps &
92
+ VNodeProps &
93
+ RadioGroupProps
94
+ }
95
+ }
96
+
97
+ export declare const RadioGroup: _RadioGroup
@@ -0,0 +1,85 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+
4
+ declare interface RateProps {
5
+ /**
6
+ * 双向绑定选择星星的数量
7
+ * @default 1
8
+ */
9
+ value?: string | number
10
+ /**
11
+ * 最多可选的星星数量
12
+ * @default 5
13
+ */
14
+ count?: string | number
15
+ /**
16
+ * 是否禁止用户操作
17
+ * @default false
18
+ */
19
+ disabled?: boolean
20
+ /**
21
+ * 是否只读
22
+ * @default false
23
+ */
24
+ readonly?: boolean
25
+ /**
26
+ * 星星的大小,单位rpx
27
+ * @default 18
28
+ */
29
+ size?: string | number
30
+ /**
31
+ * 未选中星星的颜色
32
+ * @default "#b2b2b2"
33
+ */
34
+ inactiveColor?: string
35
+ /**
36
+ * 选中的星星颜色
37
+ * @default "#FA3534"
38
+ */
39
+ activeColor?: string
40
+ /**
41
+ * 星星之间的距离
42
+ * @default 4
43
+ */
44
+ gutter?: string | number
45
+ /**
46
+ * 最少选中星星的个数
47
+ * @default 1
48
+ */
49
+ minCount?: string | number
50
+ /**
51
+ * 是否允许半星选择
52
+ * @default false
53
+ */
54
+ allowHalf?: boolean
55
+ /**
56
+ * 选中时的图标名,只能为uView的内置图标
57
+ * @default "star-fill"
58
+ */
59
+ activeIcon?: string
60
+ /**
61
+ * 未选中时的图标名,只能为uView的内置图标
62
+ * @default "star"
63
+ */
64
+ inactiveIcon?: string
65
+ /**
66
+ * 是否可以通过滑动手势选择评分
67
+ * @default true
68
+ */
69
+ touchable?: boolean
70
+ /**
71
+ * 选中的星星发生变化时触发
72
+ * @param value 当前选中的星星的数量
73
+ */
74
+ onChange?: (value: number) => any
75
+ }
76
+
77
+ declare interface _Rate {
78
+ new (): {
79
+ $props: AllowedComponentProps &
80
+ VNodeProps &
81
+ RateProps
82
+ }
83
+ }
84
+
85
+ export declare const Rate: _Rate
@@ -0,0 +1,80 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+ declare interface ReadMoreProps {
4
+ /**
5
+ * 内容超出此高度才会显示展开全文按钮,单位rpx
6
+ * @default 400
7
+ */
8
+ showHeight?: string | number
9
+ /**
10
+ * 展开后是否显示收起按钮
11
+ * @default false
12
+ */
13
+ toggle?: boolean
14
+ /**
15
+ * 关闭时的提示文字
16
+ * @default "展开阅读全文"
17
+ */
18
+ closeText?: string
19
+ /**
20
+ * 展开时的提示文字
21
+ * @default "收起"
22
+ */
23
+ openText?: string
24
+ /**
25
+ * 提示文字的颜色
26
+ * @default "#2979ff"
27
+ */
28
+ color?: string
29
+ /**
30
+ * 提示文字的大小,默认单位px
31
+ * @default 14
32
+ */
33
+ fontSize?: string | number
34
+ /**
35
+ * 对阴影的自定义处理
36
+ */
37
+ shadowStyle?: {
38
+ backgroundImage?: string
39
+ paddingTop?: string
40
+ marginTop?: string
41
+ }
42
+ /**
43
+ * 段落首行缩进的字符个数
44
+ * @default "2em"
45
+ */
46
+ textIndent?: string
47
+ /**
48
+ * 用于在`open`和`close`事件中当作回调参数返回
49
+ */
50
+ name?: string | number
51
+ /**
52
+ * 内容被展开时触发
53
+ * @param name props中传入的`name`参数值
54
+ */
55
+ onOpen?: (name: any) => any
56
+ /**
57
+ * 内容被收起时触发
58
+ * @param name props中传入的`name`参数值
59
+ */
60
+ onClose?: (name: any) => any
61
+ }
62
+
63
+ declare interface _ReadMoreRef {
64
+ /**
65
+ * 重新初始化组件内部高度计算过程,如果内嵌u-parse组件时可能需要用到
66
+ */
67
+ init: () => void
68
+ }
69
+
70
+ declare interface _ReadMore {
71
+ new (): {
72
+ $props: AllowedComponentProps &
73
+ VNodeProps &
74
+ ReadMoreProps
75
+ }
76
+ }
77
+
78
+ export declare const ReadMore: _ReadMore
79
+
80
+ export declare const ReadMoreRef: _ReadMoreRef
@@ -0,0 +1,34 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+
4
+ declare interface RowProps {
5
+ /**
6
+ * 栅格间隔,左右各为此值的一半,单位任意
7
+ * @default 0
8
+ */
9
+ gutter?: string | number
10
+ /**
11
+ * 水平排列方式(微信小程序暂不支持)
12
+ * @default "start"
13
+ */
14
+ justify?: 'start' | 'flex-start' | 'end' | 'flex-end' | 'center' | 'around' | 'space-around' | 'between' | 'space-between'
15
+ /**
16
+ * 垂直排列方式
17
+ * @default "center"
18
+ */
19
+ align?: 'top' | 'center' | 'bottom'
20
+ /**
21
+ * 点击触发事件
22
+ */
23
+ onClick?: () => any
24
+ }
25
+
26
+ declare interface _Row {
27
+ new (): {
28
+ $props: AllowedComponentProps &
29
+ VNodeProps &
30
+ RowProps
31
+ }
32
+ }
33
+
34
+ export declare const Row: _Row
@@ -0,0 +1,51 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+ declare interface ScrollListProps {
4
+ /**
5
+ * 指示器的整体宽度
6
+ * @default 50
7
+ */
8
+ indicatorWidth?: string | number
9
+ /**
10
+ * 滑块的宽度
11
+ * @default 20
12
+ */
13
+ indicatorBarWidth?: string | number
14
+ /**
15
+ * 是否显示面板指示器
16
+ * @default true
17
+ */
18
+ indicator?: boolean
19
+ /**
20
+ * 指示器非激活颜色
21
+ * @default "#f2f2f2"
22
+ */
23
+ indicatorColor?: string
24
+ /**
25
+ * 指示器滑块颜色
26
+ * @default "#3c9cff"
27
+ */
28
+ indicatorActiveColor?: string
29
+ /**
30
+ * 指示器样式,可通过bottom,left,right进行定位
31
+ */
32
+ indicatorStyle: string | Record<string, any>
33
+ /**
34
+ * 滑动到左边时触发
35
+ */
36
+ onLeft?: () => any
37
+ /**
38
+ * 滑动到右边时触发
39
+ */
40
+ onRight?: () => any
41
+ }
42
+
43
+ declare interface _ScrollList {
44
+ new (): {
45
+ $props: AllowedComponentProps &
46
+ VNodeProps &
47
+ ScrollListProps
48
+ }
49
+ }
50
+
51
+ export declare const ScrollList: _ScrollList
@@ -0,0 +1,167 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+
4
+ declare interface SearchProps {
5
+ /**
6
+ * 双向绑定输入框搜索值
7
+ */
8
+ ['v-model']?: string
9
+ /**
10
+ * 搜索框形状,round-圆形,square-方形
11
+ * @default "round"
12
+ */
13
+ shape?: 'round' | 'square'
14
+ /**
15
+ * 搜索框背景颜色
16
+ * @default "#f2f2f2"
17
+ */
18
+ bgColor?: string
19
+ /**
20
+ * 占位文字内容
21
+ * @default "请输入关键字"
22
+ */
23
+ placeholder?: string
24
+ /**
25
+ * 是否启用清除控件
26
+ * @default true
27
+ */
28
+ clearabled?: boolean
29
+ /**
30
+ * 是否自动获得焦点
31
+ * @default false
32
+ */
33
+ focus?: boolean
34
+ /**
35
+ * 是否显示右侧控件(右侧的"搜索"按钮)
36
+ * @default true
37
+ */
38
+ showAction?: boolean
39
+ /**
40
+ * 右侧控件的样式,对象形式
41
+ */
42
+ actionStyle?: unknown
43
+ /**
44
+ * 右侧控件文字
45
+ * @default "搜索"
46
+ */
47
+ actionText?: string
48
+ /**
49
+ * 输入框内容水平对齐方式
50
+ * @default "left"
51
+ */
52
+ inputAlign?: 'left' | 'center' |'right'
53
+ /**
54
+ * 自定义输入框样式,对象形式
55
+ */
56
+ inputStyle?: unknown
57
+ /**
58
+ * 是否启用输入框
59
+ * @default false
60
+ */
61
+ disabled?: boolean
62
+ /**
63
+ * 边框颜色,配置了颜色,才会有边框
64
+ * @default "transparent"
65
+ */
66
+ borderColor?: string
67
+ /**
68
+ * 搜索图标的颜色,默认同输入框字体颜色
69
+ * @default "#909399"
70
+ */
71
+ searchIconColor?: string
72
+ /**
73
+ * 搜索图标的大小
74
+ * @default 22
75
+ */
76
+ searchIconSize?: number
77
+ /**
78
+ * 输入框字体颜色
79
+ * @default "#606266"
80
+ */
81
+ color?: string
82
+ /**
83
+ * placeholder的颜色
84
+ * @default "#909399"
85
+ */
86
+ placeholderColor?: string
87
+ /**
88
+ * 输入框左边的图标,可以为uView图标名称或图片路径
89
+ * @default "search"
90
+ */
91
+ searchIcon?: string
92
+ /**
93
+ * 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30rpx"、"30rpx 20rpx"等写法
94
+ * @default "0"
95
+ */
96
+ margin?: string
97
+ /**
98
+ * 是否开启动画,详见[文档](https://www.uviewui.com/components/search.html#%E6%98%AF%E5%90%A6%E5%BC%80%E5%90%AF%E5%8F%B3%E8%BE%B9%E6%8E%A7%E4%BB%B6)
99
+ * @default false
100
+ */
101
+ animation?: boolean
102
+ /**
103
+ * 输入框初始值
104
+ */
105
+ value?: string
106
+ /**
107
+ * 输入框最大能输入的长度,-1为不限制长度
108
+ * @default -1
109
+ */
110
+ maxlength?: string | number
111
+ /**
112
+ * 输入框高度,单位rpx
113
+ * @default 64
114
+ */
115
+ height?: string | number
116
+ /**
117
+ * 搜索左侧文本信息
118
+ */
119
+ label?: string | number
120
+ /**
121
+ * 输入框内容发生变化时触发
122
+ * @param value 输入框的值
123
+ */
124
+ onChange?: (value: any) => any
125
+ /**
126
+ * 用户确定搜索时触发,用户按回车键,或者手机键盘右下角的"搜索"键时触发
127
+ * @param value 输入框的值
128
+ */
129
+ onSearch?: (value: any) => any
130
+ /**
131
+ * 用户点击右侧控件时触发
132
+ * @param value 输入框的值
133
+ */
134
+ onCustom?: (value: any) => any
135
+ /**
136
+ * 输入框失去焦点时触发
137
+ * @param value 输入框的值
138
+ */
139
+ onBlur?: (value: any) => any
140
+ /**
141
+ * 输入框获得焦点时触发
142
+ * @param value 输入框的值
143
+ */
144
+ onFocus?: (value: any) => any
145
+ /**
146
+ * 配置了`clearabled`后,清空内容时会发出此事件
147
+ */
148
+ onClear?: () => any
149
+ /**
150
+ * `disabled`为`true`时,点击输入框,发出此事件,用于跳转搜索页
151
+ */
152
+ onClick?: () => any
153
+ /**
154
+ * 左侧icon点击时候时触发
155
+ */
156
+ onClickIcon?: () => any
157
+ }
158
+
159
+ declare interface _Search {
160
+ new (): {
161
+ $props: AllowedComponentProps &
162
+ VNodeProps &
163
+ SearchProps
164
+ }
165
+ }
166
+
167
+ export declare const Search: _Search
@@ -0,0 +1,70 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+
4
+ declare interface SkeletonProps {
5
+ /**
6
+ * 是否显示骨架占位图,设置为`false`将会展示子组件内容
7
+ * @default true
8
+ */
9
+ loading?: boolean
10
+ /**
11
+ * 是否开启动画效果
12
+ * @default true
13
+ */
14
+ animate?: boolean
15
+ /**
16
+ * 段落占位图行数
17
+ * @default 0
18
+ */
19
+ rows?: string | number
20
+ /**
21
+ * 段落占位图的宽度,可以为百分比,数值,带单位字符串等,可通过数组传入指定每个段落行的宽度
22
+ * @default "100%"
23
+ */
24
+ rowsWidth?: string | number | any[]
25
+ /**
26
+ * 段落的高度
27
+ * @default 18
28
+ */
29
+ rowsHeight?: string | number | any[]
30
+ /**
31
+ * 是否展示标题占位图
32
+ * @default true
33
+ */
34
+ title?: boolean
35
+ /**
36
+ * 标题的宽度
37
+ * @default "50%"
38
+ */
39
+ titleWidth?: string | number
40
+ /**
41
+ * 标题的高度
42
+ * @default 18
43
+ */
44
+ titleHeight?: string | number
45
+ /**
46
+ * 是否展示头像占位图
47
+ * @default false
48
+ */
49
+ avatar?: boolean
50
+ /**
51
+ * 头像占位图大小
52
+ * @default 32
53
+ */
54
+ avatarSize?: string | number
55
+ /**
56
+ * 头像占位图的形状
57
+ * @default "circle"
58
+ */
59
+ avatarShape?: 'circle' | 'square'
60
+ }
61
+
62
+ declare interface _Skeleton {
63
+ new (): {
64
+ $props: AllowedComponentProps &
65
+ VNodeProps &
66
+ SkeletonProps
67
+ }
68
+ }
69
+
70
+ export declare const Skeleton: _Skeleton