@a2simcode/ui 0.0.243 → 0.0.244
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.
|
@@ -151,7 +151,7 @@ export default {
|
|
|
151
151
|
{
|
|
152
152
|
"name": "actionFilter",
|
|
153
153
|
"description": "行内操作按钮过滤方法",
|
|
154
|
-
"type": "(params: {\
|
|
154
|
+
"type": "(params: {\n action: ButtonCompType\n record: Record<string, any>\n recordIndex: number\n col: number\n row: number\n table: any\n}) =>\n | boolean\n | {\n display?: boolean\n disabled?: boolean\n }\n | null\n | undefined",
|
|
155
155
|
"default": "null"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
{
|
|
129
129
|
"name": "actionFilter",
|
|
130
130
|
"description": "行内操作按钮过滤方法",
|
|
131
|
-
"type": "(params: {\
|
|
131
|
+
"type": "(params: {\n action: ButtonCompType\n record: Record<string, any>\n recordIndex: number\n col: number\n row: number\n table: any\n}) =>\n | boolean\n | {\n display?: boolean\n disabled?: boolean\n }\n | null\n | undefined",
|
|
132
132
|
"default": "null"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
213
213
|
{
|
|
214
214
|
"name": "selectionChanged",
|
|
215
215
|
"description": "选中数据变化时触发",
|
|
216
|
-
"type": "{\
|
|
216
|
+
"type": "{\n isMultiple: boolean\n selections: Record<string, any>[]\n record: Record<string, any>\n checked: boolean\n}"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"name": "selectRecordsChanged",
|
|
@@ -248,7 +248,7 @@ export default {
|
|
|
248
248
|
{
|
|
249
249
|
"name": "change",
|
|
250
250
|
"description": "变更事件",
|
|
251
|
-
"type": "{\
|
|
251
|
+
"type": "{\n id: string\n value: any\n data: any\n formData: Record<string, any>\n tableData: Record<string, any>[]\n type: 'add' | 'delete' | 'update' | 'sort'\n}"
|
|
252
252
|
}
|
|
253
253
|
],
|
|
254
254
|
"slots": [],
|
|
@@ -395,7 +395,7 @@ export default {
|
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
397
|
"name": "config",
|
|
398
|
-
"type": "TableColumnCompConfig & {\
|
|
398
|
+
"type": "TableColumnCompConfig & {\n /**\n * @zh 列的标题\n */\n label: string\n }",
|
|
399
399
|
"description": "列配置"
|
|
400
400
|
},
|
|
401
401
|
{
|