@next-bricks/advanced 0.1.6 → 0.1.8
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/dist/bricks.json +1 -1
- package/dist/chunks/{3494.19c575cb.js → 3494.1c07d0cf.js} +2 -2
- package/dist/chunks/{3494.19c575cb.js.map → 3494.1c07d0cf.js.map} +1 -1
- package/dist/chunks/4131.1c3d2509.js +2 -0
- package/dist/chunks/4131.1c3d2509.js.map +1 -0
- package/dist/chunks/{4991.bf91c270.js → 4991.2917f2f4.js} +2 -2
- package/dist/chunks/{4991.bf91c270.js.map → 4991.2917f2f4.js.map} +1 -1
- package/dist/chunks/{6205.48061ae8.js → 6205.11bde3db.js} +2 -2
- package/dist/chunks/{6205.48061ae8.js.map → 6205.11bde3db.js.map} +1 -1
- package/dist/chunks/{7164.6d634367.js → 7164.95c39448.js} +2 -2
- package/dist/chunks/{7164.6d634367.js.map → 7164.95c39448.js.map} +1 -1
- package/dist/chunks/{7822.9f535e3b.js → 7822.f2e90091.js} +2 -2
- package/dist/chunks/{7822.9f535e3b.js.map → 7822.f2e90091.js.map} +1 -1
- package/dist/chunks/9079.636199a0.js +2 -0
- package/dist/chunks/9079.636199a0.js.map +1 -0
- package/dist/chunks/general-table.48f298d6.js +2 -0
- package/dist/chunks/general-table.48f298d6.js.map +1 -0
- package/dist/chunks/{main.fa2baef1.js → main.5f90e5fe.js} +2 -2
- package/dist/chunks/{main.fa2baef1.js.map → main.5f90e5fe.js.map} +1 -1
- package/dist/{index.43f728f6.js → index.0df7e8b1.js} +2 -2
- package/dist/{index.43f728f6.js.map → index.0df7e8b1.js.map} +1 -1
- package/dist/manifest.json +58 -136
- package/dist-types/table/index.d.ts +51 -151
- package/docs/general-table.md +622 -0
- package/package.json +2 -2
- package/dist/chunks/2255.9dcb87b1.js +0 -2
- package/dist/chunks/2255.9dcb87b1.js.map +0 -1
- package/dist/chunks/9079.7d7df911.js +0 -2
- package/dist/chunks/9079.7d7df911.js.map +0 -1
- package/dist/chunks/general-table.617af895.js +0 -2
- package/dist/chunks/general-table.617af895.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -8,216 +8,168 @@
|
|
|
8
8
|
"properties": [
|
|
9
9
|
{
|
|
10
10
|
"name": "showCard",
|
|
11
|
-
"description": "",
|
|
12
|
-
"required": true,
|
|
11
|
+
"description": "是否显示外层卡片",
|
|
13
12
|
"default": "true"
|
|
14
13
|
},
|
|
15
14
|
{
|
|
16
15
|
"name": "rowSelection",
|
|
17
|
-
"description": "",
|
|
18
|
-
"required": true,
|
|
19
|
-
"default": "-",
|
|
16
|
+
"description": "表格行是否可选择,具体查阅:[rowSelection](https://ant.design/components/table-cn/#rowSelection)",
|
|
20
17
|
"attribute": false,
|
|
21
18
|
"type": "false | TableRowSelection<any>"
|
|
22
19
|
},
|
|
23
20
|
{
|
|
24
21
|
"name": "rowKey",
|
|
25
|
-
"description": "",
|
|
26
|
-
"required": true,
|
|
27
|
-
"default": "\"key\"",
|
|
22
|
+
"description": "指定每一行的 key,不指定则默认为索引 index。强烈建议设置该属性,否则在某些情况下可能行为不如预期。",
|
|
28
23
|
"type": "string"
|
|
29
24
|
},
|
|
30
25
|
{
|
|
31
26
|
"name": "hiddenColumns",
|
|
32
|
-
"description": "",
|
|
33
|
-
"required": true,
|
|
34
|
-
"default": "-",
|
|
27
|
+
"description": "隐藏相应列(输入对应的 dataIndex 或者 key 即可)",
|
|
35
28
|
"attribute": false,
|
|
36
29
|
"type": "Array<string | number>"
|
|
37
30
|
},
|
|
38
31
|
{
|
|
39
32
|
"name": "showSelectInfo",
|
|
40
|
-
"description": "",
|
|
41
|
-
"required": true,
|
|
33
|
+
"description": "是否显示已选择信息和清除按钮。仅在设置了`rowSelection`时有效。默认不显示",
|
|
42
34
|
"default": "false"
|
|
43
35
|
},
|
|
44
36
|
{
|
|
45
37
|
"name": "filters",
|
|
46
|
-
"description": "",
|
|
47
|
-
"required": true,
|
|
48
|
-
"default": "-",
|
|
38
|
+
"description": "表头过滤的过滤项,key 为 column 的 dataIndex,value 为过滤值集合。",
|
|
49
39
|
"attribute": false,
|
|
50
40
|
"type": "Record<string, string[]>"
|
|
51
41
|
},
|
|
52
42
|
{
|
|
53
43
|
"name": "configProps",
|
|
54
|
-
"description": "",
|
|
55
|
-
"required": true,
|
|
56
|
-
"default": "-",
|
|
44
|
+
"description": "ant-design 的 Table 相关配置项,具体查阅:[Table](https://ant.design/components/table-cn/#Table),其中分页配置和行选择配值在构件中设置了常用的默认配置,也可自行覆盖,具体描述见下表",
|
|
57
45
|
"attribute": false,
|
|
58
46
|
"type": "any"
|
|
59
47
|
},
|
|
60
48
|
{
|
|
61
49
|
"name": "sort",
|
|
62
|
-
"description": "",
|
|
63
|
-
"required": true,
|
|
64
|
-
"default": "-",
|
|
50
|
+
"description": "被排序列的 dataIndex。通常来自于 url 参数,可以设置成 ${QUERY.sort}。",
|
|
65
51
|
"type": "string | null"
|
|
66
52
|
},
|
|
67
53
|
{
|
|
68
54
|
"name": "order",
|
|
69
|
-
"description": "",
|
|
70
|
-
"required": true,
|
|
71
|
-
"default": "-",
|
|
55
|
+
"description": "升序/降序,可以设置成 ${QUERY.order}。",
|
|
72
56
|
"attribute": false,
|
|
73
57
|
"type": "string | number | null"
|
|
74
58
|
},
|
|
75
59
|
{
|
|
76
60
|
"name": "rowDisabledConfig",
|
|
77
|
-
"description": "",
|
|
78
|
-
"required": true,
|
|
79
|
-
"default": "-",
|
|
61
|
+
"description": "配置每一行是否禁用,其中 `field` 表示数据源中的字段路径, `value` 表示与其字段比较的值, `operator` 表示两者比较的方法,结果为 `true` 时会禁用当前行, 需要注意的是该配置需要在 `rowSelection: true` 的前提下使用,并且设置 `rowKey` 属性赋予每行唯一的 key,防止顺序变化时造成的错误勾选(如上 demo 所示)",
|
|
80
62
|
"attribute": false,
|
|
81
63
|
"type": "RowDisabledProps | RowDisabledProps[]"
|
|
82
64
|
},
|
|
83
65
|
{
|
|
84
66
|
"name": "expandedRowBrick",
|
|
85
|
-
"description": "",
|
|
67
|
+
"description": "自定义行展开的构件 [UseBrickConf](/next-docs/docs/api-reference/brick-types.usesinglebrickconf)",
|
|
86
68
|
"attribute": false,
|
|
87
69
|
"type": "{\n useBrick?: UseSingleBrickConf;\n }"
|
|
88
70
|
},
|
|
89
71
|
{
|
|
90
72
|
"name": "expandIcon",
|
|
91
|
-
"description": "",
|
|
73
|
+
"description": "自定义展开图标。",
|
|
74
|
+
"default": "{collapsedIcon:{lib:'antd',icon:'down',theme:'outlined'},expandedIcon:{lib:'antd',icon:'right',theme:'outlined'}}",
|
|
92
75
|
"attribute": false,
|
|
93
76
|
"type": "{\n collapsedIcon: GeneralIconProps;\n expandedIcon: GeneralIconProps;\n }"
|
|
94
77
|
},
|
|
95
78
|
{
|
|
96
79
|
"name": "expandIconAsCell",
|
|
97
|
-
"description": "",
|
|
98
|
-
"required": true,
|
|
80
|
+
"description": "展开的图标是否为一个单元格,默认显示在第一列;设置为 false 的时候,可以通过`expandIconColumnIndex`属性设置展开的图标在哪一列",
|
|
99
81
|
"default": "true",
|
|
100
82
|
"attribute": false
|
|
101
83
|
},
|
|
102
84
|
{
|
|
103
85
|
"name": "expandIconColumnIndex",
|
|
104
|
-
"description": "",
|
|
105
|
-
"required": true,
|
|
106
|
-
"default": "-",
|
|
86
|
+
"description": "展开的图标显示在哪一列,如果没有 rowSelection,默认显示在第一列,否则显示在选择框后面。当`expandIconAsCell`为 false 时,该属性生效。",
|
|
107
87
|
"type": "number"
|
|
108
88
|
},
|
|
109
89
|
{
|
|
110
90
|
"name": "expandRowByClick",
|
|
111
|
-
"description": "",
|
|
112
|
-
"required": true,
|
|
113
|
-
"default": "false",
|
|
91
|
+
"description": "通过点击行来展开子行",
|
|
114
92
|
"type": "boolean"
|
|
115
93
|
},
|
|
116
94
|
{
|
|
117
95
|
"name": "optimizedColumns",
|
|
118
|
-
"description": "",
|
|
119
|
-
"required": true,
|
|
120
|
-
"default": "-",
|
|
96
|
+
"description": "优化渲染的列(输入对应的 dataIndex),针对配置了 useBrick 的列。当前 antd 在更新 state 的时候,会全量渲染单元格,如果确定某一列在后续操作中不需要重新渲染,例如仅作为展示的单元格,可通过该属性设置以优化性能。注意,在树形表格中,当某一列内包含展开/收起按钮,则不应该设置该列。",
|
|
121
97
|
"attribute": false,
|
|
122
98
|
"type": "Array<string | number>"
|
|
123
99
|
},
|
|
124
100
|
{
|
|
125
101
|
"name": "stripEmptyExpandableChildren",
|
|
126
|
-
"description": "",
|
|
127
|
-
"required": true,
|
|
102
|
+
"description": "树形数据展示时是否需要去除空数组",
|
|
128
103
|
"default": "false",
|
|
129
104
|
"attribute": false
|
|
130
105
|
},
|
|
131
106
|
{
|
|
132
107
|
"name": "defaultExpandAllRows",
|
|
133
|
-
"description": "",
|
|
134
|
-
"required": true,
|
|
135
|
-
"default": "false",
|
|
108
|
+
"description": "初始时,是否展开所有行",
|
|
136
109
|
"type": "boolean"
|
|
137
110
|
},
|
|
138
111
|
{
|
|
139
112
|
"name": "ellipsisInfo",
|
|
140
|
-
"description": "",
|
|
141
|
-
"required": true,
|
|
142
|
-
"default": "false",
|
|
113
|
+
"description": "是否显示省略信息",
|
|
143
114
|
"type": "boolean"
|
|
144
115
|
},
|
|
145
116
|
{
|
|
146
117
|
"name": "expandedRowKeys",
|
|
147
|
-
"description": "",
|
|
148
|
-
"required": true,
|
|
149
|
-
"default": "-",
|
|
118
|
+
"description": "展开的行的 rowKey",
|
|
150
119
|
"attribute": false,
|
|
151
120
|
"type": "string[]"
|
|
152
121
|
},
|
|
153
122
|
{
|
|
154
123
|
"name": "selectAllChildren",
|
|
155
|
-
"description": "",
|
|
156
|
-
"required": true,
|
|
157
|
-
"default": "false",
|
|
124
|
+
"description": "表格树形数据展示的时候,行选择父节点的时候是否同步勾选/取消勾选所有子节点,并且被同步勾选的子节点不能单独取消。注意,该属性必须设置 `rowKey` 属性。",
|
|
158
125
|
"type": "boolean"
|
|
159
126
|
},
|
|
160
127
|
{
|
|
161
128
|
"name": "defaultSelectAll",
|
|
162
|
-
"description": "",
|
|
163
|
-
"required": true,
|
|
164
|
-
"default": "false",
|
|
129
|
+
"description": "是否默认选择所有行。注意,该属性必须设置 `rowKey` 属性。",
|
|
165
130
|
"type": "boolean"
|
|
166
131
|
},
|
|
167
132
|
{
|
|
168
133
|
"name": "childrenColumnName",
|
|
169
|
-
"description": "",
|
|
170
|
-
"required": true,
|
|
134
|
+
"description": "指定树形结构的列名",
|
|
171
135
|
"default": "children",
|
|
172
136
|
"attribute": false
|
|
173
137
|
},
|
|
174
138
|
{
|
|
175
139
|
"name": "sortable",
|
|
176
|
-
"description": "",
|
|
177
|
-
"required": true,
|
|
140
|
+
"description": "是否支持排序。默认开启,当对应列的sorter设置成true时则可排序。sortable为false时则排序都不生效。",
|
|
178
141
|
"default": "true",
|
|
179
142
|
"attribute": false
|
|
180
143
|
},
|
|
181
144
|
{
|
|
182
145
|
"name": "frontSearch",
|
|
183
|
-
"description": "",
|
|
184
|
-
"required": true,
|
|
185
|
-
"default": "false",
|
|
146
|
+
"description": "是否前端进行搜索,配合`presentational-bricks.brick-input`使用",
|
|
186
147
|
"type": "boolean"
|
|
187
148
|
},
|
|
188
149
|
{
|
|
189
150
|
"name": "frontSearchQuery",
|
|
190
|
-
"description": "",
|
|
191
|
-
"
|
|
192
|
-
"default": "-"
|
|
151
|
+
"description": "前端搜索参数",
|
|
152
|
+
"default": "\"\""
|
|
193
153
|
},
|
|
194
154
|
{
|
|
195
155
|
"name": "exactSearch",
|
|
196
|
-
"description": "",
|
|
197
|
-
"required": true,
|
|
198
|
-
"default": "false",
|
|
156
|
+
"description": "是否精确搜索",
|
|
199
157
|
"type": "boolean"
|
|
200
158
|
},
|
|
201
159
|
{
|
|
202
160
|
"name": "frontSearchFilterKeys",
|
|
203
|
-
"description": "",
|
|
204
|
-
"required": true,
|
|
205
|
-
"default": "-",
|
|
161
|
+
"description": "进行前端搜索的字段,支持嵌套的写法如[\"name\",\"value.a\"],不配置的时候默认为对所有 columns 的 dataIndex[]进行前端搜索",
|
|
206
162
|
"attribute": false,
|
|
207
163
|
"type": "string[]"
|
|
208
164
|
},
|
|
209
165
|
{
|
|
210
166
|
"name": "page",
|
|
211
|
-
"description": "",
|
|
212
|
-
"required": true,
|
|
213
|
-
"default": "-",
|
|
167
|
+
"description": "页码。后台搜索的时候一般不需要配置,列表接口返回格式通常为{list:[],page:1,pageSize:10,total:20},即默认取自 page;前台搜索的时候,一般配置成 \"${query.page=1|number}\"",
|
|
214
168
|
"type": "number"
|
|
215
169
|
},
|
|
216
170
|
{
|
|
217
171
|
"name": "pageSize",
|
|
218
|
-
"description": "",
|
|
219
|
-
"required": true,
|
|
220
|
-
"default": "-",
|
|
172
|
+
"description": "页码条数。后台搜索的时候一般不需要配置,列表接口返回格式通常为{list:[],page:1,pageSize:10,total:20},即默认取自 pageSize/page_size;前台搜索的时候,一般配置成 \"${query.pageSize=10|number}\"",
|
|
221
173
|
"type": "number"
|
|
222
174
|
},
|
|
223
175
|
{
|
|
@@ -229,98 +181,76 @@
|
|
|
229
181
|
},
|
|
230
182
|
{
|
|
231
183
|
"name": "qField",
|
|
232
|
-
"description": "",
|
|
233
|
-
"required": true,
|
|
184
|
+
"description": "把过滤条件更新到 url 时的字段名",
|
|
234
185
|
"default": "\"q\""
|
|
235
186
|
},
|
|
236
187
|
{
|
|
237
188
|
"name": "tableDraggable",
|
|
238
|
-
"description": "",
|
|
239
|
-
"required": true,
|
|
240
|
-
"default": "false",
|
|
189
|
+
"description": "表格行是否可拖拽,注意,树形数据的表格不支持该功能",
|
|
241
190
|
"type": "boolean"
|
|
242
191
|
},
|
|
243
192
|
{
|
|
244
193
|
"name": "zebraPattern",
|
|
245
|
-
"description": "",
|
|
246
|
-
"required": true,
|
|
247
|
-
"default": "false",
|
|
194
|
+
"description": "是否展示斑马纹",
|
|
248
195
|
"type": "boolean"
|
|
249
196
|
},
|
|
250
197
|
{
|
|
251
198
|
"name": "storeCheckedByUrl",
|
|
252
|
-
"description": "",
|
|
253
|
-
"required": true,
|
|
254
|
-
"default": "false",
|
|
199
|
+
"description": "翻页时是否记住之前选中的项。注意,选中项的rowKey将保存在url中,如果不设置rowKey,该设置不生效。如果选择太多可能会造成url过长,请谨慎使用",
|
|
255
200
|
"type": "boolean"
|
|
256
201
|
},
|
|
257
202
|
{
|
|
258
203
|
"name": "extraRows",
|
|
259
|
-
"description": "",
|
|
260
|
-
"
|
|
261
|
-
"default": "-",
|
|
204
|
+
"description": "额外的行,通常为跨页勾选时,不在当前页的行",
|
|
205
|
+
"default": "[]",
|
|
262
206
|
"attribute": false,
|
|
263
207
|
"type": "Record<string, unknown>[]"
|
|
264
208
|
},
|
|
265
209
|
{
|
|
266
210
|
"name": "autoSelectParentWhenAllChildrenSelected",
|
|
267
|
-
"description": "",
|
|
268
|
-
"required": true,
|
|
269
|
-
"default": "false",
|
|
211
|
+
"description": "当所有子节点选中时,自动选中父节点",
|
|
270
212
|
"type": "boolean"
|
|
271
213
|
},
|
|
272
214
|
{
|
|
273
215
|
"name": "thTransparent",
|
|
274
|
-
"description": "",
|
|
275
|
-
"required": true,
|
|
276
|
-
"default": "-",
|
|
216
|
+
"description": "表格表头是否透明",
|
|
277
217
|
"type": "boolean"
|
|
278
218
|
},
|
|
279
219
|
{
|
|
280
220
|
"name": "showHeader",
|
|
281
|
-
"description": "",
|
|
282
|
-
"required": true,
|
|
221
|
+
"description": "是否显示表头",
|
|
283
222
|
"default": "true"
|
|
284
223
|
},
|
|
285
224
|
{
|
|
286
225
|
"name": "pagination",
|
|
287
|
-
"description": "",
|
|
288
|
-
"required": true,
|
|
289
|
-
"default": "-",
|
|
226
|
+
"description": "是否显示分页",
|
|
290
227
|
"attribute": false,
|
|
291
228
|
"type": "false | TablePaginationConfig"
|
|
292
229
|
},
|
|
293
230
|
{
|
|
294
231
|
"name": "size",
|
|
295
|
-
"description": "",
|
|
296
|
-
"required": true,
|
|
297
|
-
"default": "-",
|
|
232
|
+
"description": "表格大小(antd原生size)",
|
|
298
233
|
"type": "SizeType"
|
|
299
234
|
},
|
|
300
235
|
{
|
|
301
236
|
"name": "type",
|
|
302
|
-
"description": "",
|
|
303
|
-
"required": true,
|
|
304
|
-
"default": "-",
|
|
237
|
+
"description": "选框类型(单选/多选)",
|
|
305
238
|
"attribute": false,
|
|
306
239
|
"type": "RowSelectionType"
|
|
307
240
|
},
|
|
308
241
|
{
|
|
309
242
|
"name": "shouldUpdateUrlParams",
|
|
310
|
-
"description": "",
|
|
311
|
-
"required": true,
|
|
243
|
+
"description": "是否更新 url 参数。设置为否之后,如果是后台进行分页/排序等功能,则需要结合事件进行编排。如果是前台进行分页/排序,则不需要。",
|
|
312
244
|
"default": "true"
|
|
313
245
|
},
|
|
314
246
|
{
|
|
315
247
|
"name": "shouldRenderWhenUrlParamsUpdate",
|
|
316
|
-
"description": "",
|
|
317
|
-
"required": true,
|
|
248
|
+
"description": "更新 url 参数时是否触发页面重新渲染。仅在`shouldUpdateUrlParams`为true时有效。",
|
|
318
249
|
"default": "true"
|
|
319
250
|
},
|
|
320
251
|
{
|
|
321
252
|
"name": "selectedRowKeys",
|
|
322
|
-
"description": "",
|
|
323
|
-
"required": true,
|
|
253
|
+
"description": "指定选中项的 key 数组",
|
|
324
254
|
"default": "[]",
|
|
325
255
|
"attribute": false,
|
|
326
256
|
"type": "React.Key[]"
|
|
@@ -329,65 +259,57 @@
|
|
|
329
259
|
"events": [
|
|
330
260
|
{
|
|
331
261
|
"name": "page.update",
|
|
332
|
-
"description": "",
|
|
262
|
+
"description": "页码变化,pagePath 可在 fields.page 中设置,默认为 page",
|
|
333
263
|
"detail": {
|
|
334
|
-
"description": "{[pagePath]: xxx}",
|
|
335
264
|
"type": "Record<string, number>"
|
|
336
265
|
}
|
|
337
266
|
},
|
|
338
267
|
{
|
|
339
268
|
"name": "filter.update",
|
|
340
|
-
"description": "",
|
|
269
|
+
"description": "每页条数变化 ,pagePath 可在 fields.page 中设置,pageSizePath 可在 fields.pageSize 中设置,默认为 pageSize",
|
|
341
270
|
"detail": {
|
|
342
|
-
"description": "{[pagePath]:1,[pageSizePath]:xxx}",
|
|
343
271
|
"type": "Record<string, number>"
|
|
344
272
|
}
|
|
345
273
|
},
|
|
346
274
|
{
|
|
347
275
|
"name": "select.update",
|
|
348
|
-
"description": "",
|
|
276
|
+
"description": "勾选框变化,detail 中为所选的行数据",
|
|
349
277
|
"detail": {
|
|
350
|
-
"description": "Record<string,any>[]",
|
|
351
278
|
"type": "Record<string, any>[]"
|
|
352
279
|
}
|
|
353
280
|
},
|
|
354
281
|
{
|
|
355
282
|
"name": "select.row.keys.update",
|
|
356
|
-
"description": "",
|
|
283
|
+
"description": "勾选框变化,detail 中为所选的行key集合",
|
|
357
284
|
"detail": {
|
|
358
|
-
"description": "Record<string,any>[]",
|
|
359
285
|
"type": "string[]"
|
|
360
286
|
}
|
|
361
287
|
},
|
|
362
288
|
{
|
|
363
289
|
"name": "sort.update",
|
|
364
|
-
"description": "",
|
|
290
|
+
"description": "排序变化,detail 中的 sort 为对应排序列的 key/dataIndex,order 为升序/降序",
|
|
365
291
|
"detail": {
|
|
366
|
-
"description": "{sort:string;order:string|number}",
|
|
367
292
|
"type": "{\n sort: string;\n order: string | number;\n }"
|
|
368
293
|
}
|
|
369
294
|
},
|
|
370
295
|
{
|
|
371
296
|
"name": "row.expand",
|
|
372
|
-
"description": "",
|
|
297
|
+
"description": "点击展开图标时触发的事件,事件详情中`expanded`为是否展开,`record`被点击的行信息",
|
|
373
298
|
"detail": {
|
|
374
|
-
"description": "{expanded:boolean;record:Record<string,any>}",
|
|
375
299
|
"type": "{\n expanded: boolean;\n record: Record<string, any>;\n }"
|
|
376
300
|
}
|
|
377
301
|
},
|
|
378
302
|
{
|
|
379
303
|
"name": "expand.rows.change",
|
|
380
|
-
"description": "",
|
|
304
|
+
"description": "展开的行变化时触发的事件,事件详情为当前展开的所有行的`rowKey`集合",
|
|
381
305
|
"detail": {
|
|
382
|
-
"description": "{expandedRows:string[]| number[]}",
|
|
383
306
|
"type": "{\n expandedRows: React.Key[];\n }"
|
|
384
307
|
}
|
|
385
308
|
},
|
|
386
309
|
{
|
|
387
310
|
"name": "row.drag",
|
|
388
|
-
"description": "",
|
|
311
|
+
"description": "表格行拖拽结束发生的事件,事件详情为拖拽后重新排序的所有行数据",
|
|
389
312
|
"detail": {
|
|
390
|
-
"description": "{data:Record<string,any>[]}",
|
|
391
313
|
"type": "{\n data: Record<string, any>[];\n }"
|
|
392
314
|
}
|
|
393
315
|
}
|
|
@@ -399,7 +321,7 @@
|
|
|
399
321
|
"params": [
|
|
400
322
|
"event: CustomEvent"
|
|
401
323
|
],
|
|
402
|
-
"description": "",
|
|
324
|
+
"description": "搜索过滤",
|
|
403
325
|
"return": {
|
|
404
326
|
"type": "void"
|
|
405
327
|
}
|
|
@@ -407,10 +329,10 @@
|
|
|
407
329
|
{
|
|
408
330
|
"name": "expandAll",
|
|
409
331
|
"params": [],
|
|
410
|
-
"description": ""
|
|
332
|
+
"description": "展开所有行"
|
|
411
333
|
}
|
|
412
334
|
],
|
|
413
|
-
"description": ""
|
|
335
|
+
"description": "通用表格构件"
|
|
414
336
|
},
|
|
415
337
|
{
|
|
416
338
|
"name": "advanced.general-cascader",
|