@a2simcode/ui 0.0.191 → 0.0.193
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.
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
{
|
|
4
4
|
"name": "list",
|
|
5
5
|
"description": "按钮数据",
|
|
6
|
-
"type": "(Array as PropType<ButtonCompType[]>) ||\
|
|
6
|
+
"type": "(Array as PropType<ButtonCompType[]>) ||\n(Object as PropType<Record<string, ButtonCompType[]>>)",
|
|
7
7
|
"default": "() => []"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
@@ -42,7 +42,7 @@ export default {
|
|
|
42
42
|
"properties": [
|
|
43
43
|
{
|
|
44
44
|
"name": "config",
|
|
45
|
-
"type": "ButtonProps & {\
|
|
45
|
+
"type": "ButtonProps & {\n // 按钮是否显示\n display?: boolean\n // 按钮动作\n action?: string\n // 上传接受的文件类型\n uploadAccept?: string\n // 上传回调\n uploadCallback?: (param: any) => void\n // 上传成功回调\n uploadSuccess?: (param: any) => void\n }",
|
|
46
46
|
"description": "按钮配置"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -97,6 +97,11 @@ export default {
|
|
|
97
97
|
"description": "自定义渲染 VNode",
|
|
98
98
|
"type": "TSFunctionType"
|
|
99
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"name": "renderVNodeClass",
|
|
102
|
+
"description": "自定义渲染 VNode 类名",
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
100
105
|
{
|
|
101
106
|
"name": "getText",
|
|
102
107
|
"description": "获取显示值方法",
|
|
@@ -296,6 +301,11 @@ export default {
|
|
|
296
301
|
"type": "(params: Record<string, any>) => VNode",
|
|
297
302
|
"description": "自定义渲染 VNode"
|
|
298
303
|
},
|
|
304
|
+
{
|
|
305
|
+
"name": "renderVNodeClass",
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "自定义渲染 VNode 类名"
|
|
308
|
+
},
|
|
299
309
|
{
|
|
300
310
|
"name": "getText",
|
|
301
311
|
"type": "(value: string) => string",
|
|
@@ -186,6 +186,11 @@ export default {
|
|
|
186
186
|
"name": "renderVNode",
|
|
187
187
|
"description": "自定义渲染 VNode",
|
|
188
188
|
"type": "(params: Record<string, any>) => import('vue').VNode"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "renderVNodeClass",
|
|
192
|
+
"description": "自定义渲染 VNode 类名",
|
|
193
|
+
"type": "string"
|
|
189
194
|
}
|
|
190
195
|
],
|
|
191
196
|
"events": [
|