ep-craft 0.1.42 → 0.2.0

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 (236) hide show
  1. package/dist-ai/components/affix.json +152 -0
  2. package/dist-ai/components/affix.md +73 -0
  3. package/dist-ai/components/alert.json +186 -0
  4. package/dist-ai/components/alert.md +89 -0
  5. package/dist-ai/components/anchor-link.json +102 -0
  6. package/dist-ai/components/anchor-link.md +67 -0
  7. package/dist-ai/components/anchor.json +179 -0
  8. package/dist-ai/components/anchor.md +87 -0
  9. package/dist-ai/components/aside.json +87 -0
  10. package/dist-ai/components/aside.md +63 -0
  11. package/dist-ai/components/autocomplete.json +613 -0
  12. package/dist-ai/components/autocomplete.md +140 -0
  13. package/dist-ai/components/avatar.json +163 -0
  14. package/dist-ai/components/avatar.md +83 -0
  15. package/dist-ai/components/backtop.json +118 -0
  16. package/dist-ai/components/backtop.md +66 -0
  17. package/dist-ai/components/badge.json +186 -0
  18. package/dist-ai/components/badge.md +85 -0
  19. package/dist-ai/components/breadcrumb-item.json +97 -0
  20. package/dist-ai/components/breadcrumb-item.md +65 -0
  21. package/dist-ai/components/breadcrumb.json +100 -0
  22. package/dist-ai/components/breadcrumb.md +68 -0
  23. package/dist-ai/components/button-group.json +123 -0
  24. package/dist-ai/components/button-group.md +65 -0
  25. package/dist-ai/components/button.json +349 -0
  26. package/dist-ai/components/button.md +124 -0
  27. package/dist-ai/components/calendar.json +148 -0
  28. package/dist-ai/components/calendar.md +74 -0
  29. package/dist-ai/components/card.json +168 -0
  30. package/dist-ai/components/card.md +87 -0
  31. package/dist-ai/components/carousel-item.json +99 -0
  32. package/dist-ai/components/carousel-item.md +68 -0
  33. package/dist-ai/components/carousel.json +245 -0
  34. package/dist-ai/components/carousel.md +97 -0
  35. package/dist-ai/components/cascader-panel.json +242 -0
  36. package/dist-ai/components/cascader-panel.md +108 -0
  37. package/dist-ai/components/cascader.json +531 -0
  38. package/dist-ai/components/cascader.md +146 -0
  39. package/dist-ai/components/check-tag.json +133 -0
  40. package/dist-ai/components/check-tag.md +72 -0
  41. package/dist-ai/components/checkbox-button.json +279 -0
  42. package/dist-ai/components/checkbox-button.md +94 -0
  43. package/dist-ai/components/checkbox-group.json +236 -0
  44. package/dist-ai/components/checkbox-group.md +90 -0
  45. package/dist-ai/components/checkbox.json +278 -0
  46. package/dist-ai/components/checkbox.md +91 -0
  47. package/dist-ai/components/col.json +168 -0
  48. package/dist-ai/components/col.md +72 -0
  49. package/dist-ai/components/collapse-item.json +133 -0
  50. package/dist-ai/components/collapse-item.md +75 -0
  51. package/dist-ai/components/collapse-transition.json +75 -0
  52. package/dist-ai/components/collapse-transition.md +59 -0
  53. package/dist-ai/components/collapse.json +129 -0
  54. package/dist-ai/components/collapse.md +76 -0
  55. package/dist-ai/components/color-picker.json +280 -0
  56. package/dist-ai/components/color-picker.md +85 -0
  57. package/dist-ai/components/config-provider.json +222 -0
  58. package/dist-ai/components/config-provider.md +76 -0
  59. package/dist-ai/components/container.json +95 -0
  60. package/dist-ai/components/container.md +70 -0
  61. package/dist-ai/components/countdown.json +155 -0
  62. package/dist-ai/components/countdown.md +73 -0
  63. package/dist-ai/components/date-picker-panel.json +346 -0
  64. package/dist-ai/components/date-picker-panel.md +91 -0
  65. package/dist-ai/components/date-picker.json +574 -0
  66. package/dist-ai/components/date-picker.md +153 -0
  67. package/dist-ai/components/descriptions-item.json +175 -0
  68. package/dist-ai/components/descriptions-item.md +73 -0
  69. package/dist-ai/components/descriptions.json +171 -0
  70. package/dist-ai/components/descriptions.md +78 -0
  71. package/dist-ai/components/dialog.json +403 -0
  72. package/dist-ai/components/dialog.md +108 -0
  73. package/dist-ai/components/divider.json +102 -0
  74. package/dist-ai/components/divider.md +59 -0
  75. package/dist-ai/components/drawer.json +468 -0
  76. package/dist-ai/components/drawer.md +115 -0
  77. package/dist-ai/components/dropdown-item.json +156 -0
  78. package/dist-ai/components/dropdown-item.md +84 -0
  79. package/dist-ai/components/dropdown-menu.json +92 -0
  80. package/dist-ai/components/dropdown-menu.md +70 -0
  81. package/dist-ai/components/dropdown.json +374 -0
  82. package/dist-ai/components/dropdown.md +108 -0
  83. package/dist-ai/components/empty.json +116 -0
  84. package/dist-ai/components/empty.md +62 -0
  85. package/dist-ai/components/footer.json +86 -0
  86. package/dist-ai/components/footer.md +63 -0
  87. package/dist-ai/components/form-item.json +242 -0
  88. package/dist-ai/components/form-item.md +93 -0
  89. package/dist-ai/components/form.json +277 -0
  90. package/dist-ai/components/form.md +117 -0
  91. package/dist-ai/components/header.json +86 -0
  92. package/dist-ai/components/header.md +63 -0
  93. package/dist-ai/components/icon.json +95 -0
  94. package/dist-ai/components/icon.md +61 -0
  95. package/dist-ai/components/image-viewer.json +235 -0
  96. package/dist-ai/components/image-viewer.md +88 -0
  97. package/dist-ai/components/image.json +299 -0
  98. package/dist-ai/components/image.md +96 -0
  99. package/dist-ai/components/input-number.json +370 -0
  100. package/dist-ai/components/input-number.md +127 -0
  101. package/dist-ai/components/input.json +545 -0
  102. package/dist-ai/components/input.md +166 -0
  103. package/dist-ai/components/link.json +162 -0
  104. package/dist-ai/components/link.md +72 -0
  105. package/dist-ai/components/main.json +77 -0
  106. package/dist-ai/components/main.md +58 -0
  107. package/dist-ai/components/mention.json +598 -0
  108. package/dist-ai/components/mention.md +136 -0
  109. package/dist-ai/components/menu-item-group.json +101 -0
  110. package/dist-ai/components/menu-item-group.md +69 -0
  111. package/dist-ai/components/menu-item.json +131 -0
  112. package/dist-ai/components/menu-item.md +76 -0
  113. package/dist-ai/components/menu.json +314 -0
  114. package/dist-ai/components/menu.md +104 -0
  115. package/dist-ai/components/option-group.json +113 -0
  116. package/dist-ai/components/option-group.md +79 -0
  117. package/dist-ai/components/option.json +122 -0
  118. package/dist-ai/components/option.md +70 -0
  119. package/dist-ai/components/page-header.json +131 -0
  120. package/dist-ai/components/page-header.md +70 -0
  121. package/dist-ai/components/pagination.json +325 -0
  122. package/dist-ai/components/pagination.md +115 -0
  123. package/dist-ai/components/popconfirm.json +240 -0
  124. package/dist-ai/components/popconfirm.md +89 -0
  125. package/dist-ai/components/popover.json +351 -0
  126. package/dist-ai/components/popover.md +99 -0
  127. package/dist-ai/components/popper.json +93 -0
  128. package/dist-ai/components/popper.md +66 -0
  129. package/dist-ai/components/progress.json +219 -0
  130. package/dist-ai/components/progress.md +74 -0
  131. package/dist-ai/components/radio-button.json +142 -0
  132. package/dist-ai/components/radio-button.md +76 -0
  133. package/dist-ai/components/radio-group.json +219 -0
  134. package/dist-ai/components/radio-group.md +88 -0
  135. package/dist-ai/components/radio.json +177 -0
  136. package/dist-ai/components/radio.md +83 -0
  137. package/dist-ai/components/rate.json +286 -0
  138. package/dist-ai/components/rate.md +83 -0
  139. package/dist-ai/components/result.json +118 -0
  140. package/dist-ai/components/result.md +66 -0
  141. package/dist-ai/components/row.json +115 -0
  142. package/dist-ai/components/row.md +68 -0
  143. package/dist-ai/components/scrollbar.json +280 -0
  144. package/dist-ai/components/scrollbar.md +89 -0
  145. package/dist-ai/components/segmented.json +204 -0
  146. package/dist-ai/components/segmented.md +81 -0
  147. package/dist-ai/components/select-v2.json +729 -0
  148. package/dist-ai/components/select-v2.md +193 -0
  149. package/dist-ai/components/select.json +697 -0
  150. package/dist-ai/components/select.md +188 -0
  151. package/dist-ai/components/skeleton-item.json +80 -0
  152. package/dist-ai/components/skeleton-item.md +57 -0
  153. package/dist-ai/components/skeleton.json +134 -0
  154. package/dist-ai/components/skeleton.md +65 -0
  155. package/dist-ai/components/slider.json +326 -0
  156. package/dist-ai/components/slider.md +88 -0
  157. package/dist-ai/components/space.json +178 -0
  158. package/dist-ai/components/space.md +73 -0
  159. package/dist-ai/components/statistic.json +167 -0
  160. package/dist-ai/components/statistic.md +66 -0
  161. package/dist-ai/components/step.json +124 -0
  162. package/dist-ai/components/step.md +69 -0
  163. package/dist-ai/components/steps.json +157 -0
  164. package/dist-ai/components/steps.md +79 -0
  165. package/dist-ai/components/sub-menu.json +211 -0
  166. package/dist-ai/components/sub-menu.md +88 -0
  167. package/dist-ai/components/switch.json +292 -0
  168. package/dist-ai/components/switch.md +88 -0
  169. package/dist-ai/components/tab-pane.json +137 -0
  170. package/dist-ai/components/tab-pane.md +72 -0
  171. package/dist-ai/components/table-column.json +368 -0
  172. package/dist-ai/components/table-column.md +103 -0
  173. package/dist-ai/components/table-v2.json +486 -0
  174. package/dist-ai/components/table-v2.md +123 -0
  175. package/dist-ai/components/table.json +734 -0
  176. package/dist-ai/components/table.md +205 -0
  177. package/dist-ai/components/tabs.json +231 -0
  178. package/dist-ai/components/tabs.md +127 -0
  179. package/dist-ai/components/tag.json +205 -0
  180. package/dist-ai/components/tag.md +105 -0
  181. package/dist-ai/components/text.json +143 -0
  182. package/dist-ai/components/text.md +66 -0
  183. package/dist-ai/components/time-picker.json +555 -0
  184. package/dist-ai/components/time-picker.md +123 -0
  185. package/dist-ai/components/time-select.json +321 -0
  186. package/dist-ai/components/time-select.md +93 -0
  187. package/dist-ai/components/timeline-item.json +186 -0
  188. package/dist-ai/components/timeline-item.md +78 -0
  189. package/dist-ai/components/timeline.json +99 -0
  190. package/dist-ai/components/timeline.md +65 -0
  191. package/dist-ai/components/tooltip.json +599 -0
  192. package/dist-ai/components/tooltip.md +137 -0
  193. package/dist-ai/components/tour-step.json +219 -0
  194. package/dist-ai/components/tour-step.md +88 -0
  195. package/dist-ai/components/tour.json +258 -0
  196. package/dist-ai/components/tour.md +96 -0
  197. package/dist-ai/components/transfer.json +275 -0
  198. package/dist-ai/components/transfer.md +95 -0
  199. package/dist-ai/components/tree-select.json +945 -0
  200. package/dist-ai/components/tree-select.md +181 -0
  201. package/dist-ai/components/tree-v2.json +395 -0
  202. package/dist-ai/components/tree-v2.md +113 -0
  203. package/dist-ai/components/tree.json +485 -0
  204. package/dist-ai/components/tree.md +131 -0
  205. package/dist-ai/components/upload.json +382 -0
  206. package/dist-ai/components/upload.md +130 -0
  207. package/dist-ai/components/watermark.json +157 -0
  208. package/dist-ai/components/watermark.md +66 -0
  209. package/dist-ai/directives/click-outside.json +61 -0
  210. package/dist-ai/directives/click-outside.md +50 -0
  211. package/dist-ai/directives/infinite-scroll.json +83 -0
  212. package/dist-ai/directives/infinite-scroll.md +62 -0
  213. package/dist-ai/directives/loading.json +89 -0
  214. package/dist-ai/directives/loading.md +69 -0
  215. package/dist-ai/directives/mousewheel.json +54 -0
  216. package/dist-ai/directives/mousewheel.md +48 -0
  217. package/dist-ai/directives/repeat-click.json +68 -0
  218. package/dist-ai/directives/repeat-click.md +49 -0
  219. package/dist-ai/directives/trap-focus.json +46 -0
  220. package/dist-ai/directives/trap-focus.md +46 -0
  221. package/dist-ai/icons.json +1 -0
  222. package/dist-ai/index.json +1 -0
  223. package/dist-ai/llms.txt +170 -0
  224. package/dist-ai/manifest.json +26590 -0
  225. package/dist-ai/schema/manifest.schema.json +793 -0
  226. package/dist-ai/services/infinite-scroll.json +80 -0
  227. package/dist-ai/services/infinite-scroll.md +71 -0
  228. package/dist-ai/services/loading.json +108 -0
  229. package/dist-ai/services/loading.md +58 -0
  230. package/dist-ai/services/message-box.json +159 -0
  231. package/dist-ai/services/message-box.md +78 -0
  232. package/dist-ai/services/message.json +137 -0
  233. package/dist-ai/services/message.md +72 -0
  234. package/dist-ai/services/notification.json +136 -0
  235. package/dist-ai/services/notification.md +73 -0
  236. package/package.json +12 -2
@@ -0,0 +1,734 @@
1
+ {
2
+ "entry": {
3
+ "category": "data",
4
+ "events": [
5
+ {
6
+ "description": "当用户手动勾选数据行的 Checkbox 时触发",
7
+ "name": "select",
8
+ "params": "(selection, row)"
9
+ },
10
+ {
11
+ "description": "当用户手动勾选全选 Checkbox 时触发",
12
+ "name": "selectAll",
13
+ "params": "(selection)"
14
+ },
15
+ {
16
+ "description": "当选择项发生变化时触发",
17
+ "name": "selectionChange",
18
+ "params": "(selection)"
19
+ },
20
+ {
21
+ "description": "当单元格 hover 进入时触发",
22
+ "name": "cellMouseEnter",
23
+ "params": "(row, column, cell, event)"
24
+ },
25
+ {
26
+ "description": "当单元格 hover 退出时触发",
27
+ "name": "cellMouseLeave",
28
+ "params": "(row, column, cell, event)"
29
+ },
30
+ {
31
+ "description": "当某个单元格被双击击时触发",
32
+ "name": "cellDblclick",
33
+ "params": "(row, column, cell, event)"
34
+ },
35
+ {
36
+ "description": "当某个单元格被鼠标右键点击时触发",
37
+ "name": "cellContextmenu",
38
+ "params": "(row, column, cell, event)"
39
+ },
40
+ {
41
+ "description": "当某个单元格被点击时触发",
42
+ "name": "cellClick",
43
+ "params": "(row, column, cell, event)"
44
+ },
45
+ {
46
+ "description": "当某一行被双击时触发",
47
+ "name": "rowDblclick",
48
+ "params": "(row, column, event)"
49
+ },
50
+ {
51
+ "description": "当某一行被点击时触发",
52
+ "name": "rowClick",
53
+ "params": "(row, column, event)"
54
+ },
55
+ {
56
+ "description": "当某一行被鼠标右键点击时触发",
57
+ "name": "rowContextmenu",
58
+ "params": "(row, column, event)"
59
+ },
60
+ {
61
+ "description": "当某一列的表头被点击时触发",
62
+ "name": "headerClick",
63
+ "params": "(column, event)"
64
+ },
65
+ {
66
+ "description": "当某一列的表头被鼠标右键点击时触发",
67
+ "name": "headerContextmenu",
68
+ "params": "(column, event)"
69
+ },
70
+ {
71
+ "description": "当表格的排序条件发生变化时触发",
72
+ "name": "sortChange",
73
+ "params": "({ column, prop, order })"
74
+ },
75
+ {
76
+ "description": "当表格的筛选条件发生变化时触发",
77
+ "name": "filterChange",
78
+ "params": "(filters)"
79
+ },
80
+ {
81
+ "description": "当表格的当前行发生变化时触发",
82
+ "name": "currentChange",
83
+ "params": "(currentRow, oldCurrentRow)"
84
+ },
85
+ {
86
+ "description": "拖动列宽结束后触发",
87
+ "name": "headerDragend",
88
+ "params": "(newWidth: number, oldWidth: number, column: TableColumnCtx, event: MouseEvent)"
89
+ },
90
+ {
91
+ "description": "当用户对某一行展开或关闭时触发",
92
+ "name": "expandChange",
93
+ "params": "(row, expandedRows | expanded)"
94
+ },
95
+ {
96
+ "description": "表格滚动时触发",
97
+ "name": "scroll",
98
+ "params": "({ scrollLeft, scrollTop }: { scrollLeft: number; scrollTop: number })"
99
+ }
100
+ ],
101
+ "exampleOmittedReason": null,
102
+ "examples": [
103
+ {
104
+ "code": "<script setup lang=\"ts\">\nimport { EpTable, EpTableColumn } from 'ep-craft'\n\nconst rows = [\n { date: '2026-01-01', name: '张三', address: '杭州市西湖区' },\n { date: '2026-01-02', name: '李四', address: '上海市浦东新区' },\n]\n</script>\n\n<template>\n <ep-table :data=\"rows\">\n <ep-table-column prop=\"date\" label=\"日期\" width=\"160\" />\n <ep-table-column prop=\"name\" label=\"姓名\" width=\"120\" />\n <ep-table-column prop=\"address\" label=\"地址\" />\n </ep-table>\n</template>",
105
+ "id": "table-1",
106
+ "language": "vue",
107
+ "title": "基础表格"
108
+ },
109
+ {
110
+ "code": "<script setup lang=\"ts\">\nimport { EpTable, EpTableColumn } from 'ep-craft'\n\nconst rows = [\n { date: '2026-01-01', name: '张三' },\n { date: '2026-01-02', name: '李四' },\n]\n</script>\n\n<template>\n <ep-table :data=\"rows\" stripe border>\n <ep-table-column prop=\"date\" label=\"日期\" />\n <ep-table-column prop=\"name\" label=\"姓名\" />\n </ep-table>\n</template>",
111
+ "id": "table-2",
112
+ "language": "vue",
113
+ "title": "斑马纹与边框"
114
+ },
115
+ {
116
+ "code": "<script setup lang=\"ts\">\nimport { EpTable, EpTableColumn } from 'ep-craft'\n\nconst rows = [\n { id: '1001', name: '张三', address: '杭州市西湖区文三路 20 号' },\n { id: '1002', name: '李四', address: '上海市浦东新区世纪大道 100 号' },\n]\n</script>\n\n<template>\n <ep-table :data=\"rows\" style=\"width: 100%\">\n <ep-table-column prop=\"id\" label=\"编号\" width=\"120\" fixed=\"left\" />\n <ep-table-column prop=\"name\" label=\"姓名\" width=\"120\" />\n <ep-table-column prop=\"address\" label=\"地址\" width=\"360\" />\n </ep-table>\n</template>",
117
+ "id": "table-3",
118
+ "language": "vue",
119
+ "title": "固定列"
120
+ }
121
+ ],
122
+ "exposes": [
123
+ {
124
+ "description": "清空用户的选择",
125
+ "name": "clearSelection",
126
+ "type": "() => void"
127
+ },
128
+ {
129
+ "description": "返回当前选中的行",
130
+ "name": "getSelectionRows",
131
+ "type": "() => any[]"
132
+ },
133
+ {
134
+ "description": "返回当前半选的行",
135
+ "name": "getHalfSelectionRows",
136
+ "type": "() => any[]"
137
+ },
138
+ {
139
+ "description": "切换某一行的选中状态",
140
+ "name": "toggleRowSelection",
141
+ "type": "(row: any, selected?: boolean) => void"
142
+ },
143
+ {
144
+ "description": "切换所有行的选中状态",
145
+ "name": "toggleAllSelection",
146
+ "type": "() => void"
147
+ },
148
+ {
149
+ "description": "切换某一行的展开状态",
150
+ "name": "toggleRowExpansion",
151
+ "type": "(row: any, expanded?: boolean) => void"
152
+ },
153
+ {
154
+ "description": "设置某一行为选中行",
155
+ "name": "setCurrentRow",
156
+ "type": "(row: any) => void"
157
+ },
158
+ {
159
+ "description": "清空排序条件",
160
+ "name": "clearSort",
161
+ "type": "() => void"
162
+ },
163
+ {
164
+ "description": "清空过滤条件",
165
+ "name": "clearFilter",
166
+ "type": "(columnKeys?: string[]) => void"
167
+ },
168
+ {
169
+ "description": "对 Table 进行重新布局",
170
+ "name": "doLayout",
171
+ "type": "() => void"
172
+ },
173
+ {
174
+ "description": "手动对 Table 进行排序",
175
+ "name": "sort",
176
+ "type": "(prop: string, order: string) => void"
177
+ },
178
+ {
179
+ "description": "懒加载表格中,更新某一行的子节点数据(需设置 row-key)",
180
+ "name": "updateKeyChildren",
181
+ "type": "(key: string, data: any[]) => void"
182
+ },
183
+ {
184
+ "description": "滚动到一组特定坐标",
185
+ "name": "scrollTo",
186
+ "type": "(options: ScrollToOptions | number, yCoord?: number) => void"
187
+ },
188
+ {
189
+ "description": "设置垂直滚动位置",
190
+ "name": "setScrollTop",
191
+ "type": "(top: number) => void"
192
+ },
193
+ {
194
+ "description": "设置水平滚动位置",
195
+ "name": "setScrollLeft",
196
+ "type": "(left: number) => void"
197
+ }
198
+ ],
199
+ "hot": true,
200
+ "id": "component:table",
201
+ "keywords": {
202
+ "en": [
203
+ "table",
204
+ "grid",
205
+ "datatable",
206
+ "data"
207
+ ],
208
+ "zh": [
209
+ "表格",
210
+ "数据表",
211
+ "列表",
212
+ "数据"
213
+ ]
214
+ },
215
+ "kind": "component",
216
+ "name": "EpTable",
217
+ "nonUseCases": [
218
+ "展示单个对象详情时使用 Descriptions"
219
+ ],
220
+ "props": [
221
+ {
222
+ "alias": null,
223
+ "defaultText": "[]",
224
+ "description": "显示的数据",
225
+ "hasDefault": true,
226
+ "name": "data",
227
+ "required": false,
228
+ "type": "any[]"
229
+ },
230
+ {
231
+ "alias": null,
232
+ "defaultText": null,
233
+ "description": "Table 的尺寸",
234
+ "hasDefault": false,
235
+ "name": "size",
236
+ "required": false,
237
+ "type": "'large' | 'default' | 'small'"
238
+ },
239
+ {
240
+ "alias": null,
241
+ "defaultText": null,
242
+ "description": "",
243
+ "hasDefault": false,
244
+ "name": "width",
245
+ "required": false,
246
+ "type": "unknown"
247
+ },
248
+ {
249
+ "alias": null,
250
+ "defaultText": null,
251
+ "description": "Table 的高度",
252
+ "hasDefault": false,
253
+ "name": "height",
254
+ "required": false,
255
+ "type": "string | number"
256
+ },
257
+ {
258
+ "alias": null,
259
+ "defaultText": null,
260
+ "description": "Table 的最大高度",
261
+ "hasDefault": false,
262
+ "name": "maxHeight",
263
+ "required": false,
264
+ "type": "string | number"
265
+ },
266
+ {
267
+ "alias": null,
268
+ "defaultText": "true",
269
+ "description": "列的宽度是否自撑开",
270
+ "hasDefault": true,
271
+ "name": "fit",
272
+ "required": false,
273
+ "type": "boolean"
274
+ },
275
+ {
276
+ "alias": null,
277
+ "defaultText": "false",
278
+ "description": "是否为斑马纹 table",
279
+ "hasDefault": false,
280
+ "name": "stripe",
281
+ "required": false,
282
+ "type": "boolean"
283
+ },
284
+ {
285
+ "alias": null,
286
+ "defaultText": "false",
287
+ "description": "是否带有纵向边框",
288
+ "hasDefault": false,
289
+ "name": "border",
290
+ "required": false,
291
+ "type": "boolean"
292
+ },
293
+ {
294
+ "alias": null,
295
+ "defaultText": null,
296
+ "description": "行数据的 Key",
297
+ "hasDefault": false,
298
+ "name": "rowKey",
299
+ "required": false,
300
+ "type": "string | ((row) => string)"
301
+ },
302
+ {
303
+ "alias": null,
304
+ "defaultText": null,
305
+ "description": "",
306
+ "hasDefault": false,
307
+ "name": "context",
308
+ "required": false,
309
+ "type": "unknown"
310
+ },
311
+ {
312
+ "alias": null,
313
+ "defaultText": "true",
314
+ "description": "是否显示表头",
315
+ "hasDefault": true,
316
+ "name": "showHeader",
317
+ "required": false,
318
+ "type": "boolean"
319
+ },
320
+ {
321
+ "alias": null,
322
+ "defaultText": "false",
323
+ "description": "是否在表尾显示合计行",
324
+ "hasDefault": false,
325
+ "name": "showSummary",
326
+ "required": false,
327
+ "type": "boolean"
328
+ },
329
+ {
330
+ "alias": null,
331
+ "defaultText": "合计",
332
+ "description": "合计行第一列的文本",
333
+ "hasDefault": false,
334
+ "name": "sumText",
335
+ "required": false,
336
+ "type": "string"
337
+ },
338
+ {
339
+ "alias": null,
340
+ "defaultText": null,
341
+ "description": "自定义合计计算方法",
342
+ "hasDefault": false,
343
+ "name": "summaryMethod",
344
+ "required": false,
345
+ "type": "({ columns, data }) => string[]"
346
+ },
347
+ {
348
+ "alias": null,
349
+ "defaultText": null,
350
+ "description": "行的 className 的回调方法",
351
+ "hasDefault": false,
352
+ "name": "rowClassName",
353
+ "required": false,
354
+ "type": "string | ((row, rowIndex) => string)"
355
+ },
356
+ {
357
+ "alias": null,
358
+ "defaultText": null,
359
+ "description": "行的 style 的回调方法",
360
+ "hasDefault": false,
361
+ "name": "rowStyle",
362
+ "required": false,
363
+ "type": "object | ((row, rowIndex) => object)"
364
+ },
365
+ {
366
+ "alias": null,
367
+ "defaultText": null,
368
+ "description": "单元格的 className 的回调方法",
369
+ "hasDefault": false,
370
+ "name": "cellClassName",
371
+ "required": false,
372
+ "type": "string | ((row, column, rowIndex, columnIndex) => string)"
373
+ },
374
+ {
375
+ "alias": null,
376
+ "defaultText": null,
377
+ "description": "单元格的 style 的回调方法",
378
+ "hasDefault": false,
379
+ "name": "cellStyle",
380
+ "required": false,
381
+ "type": "object | ((row, column, rowIndex, columnIndex) => object)"
382
+ },
383
+ {
384
+ "alias": null,
385
+ "defaultText": null,
386
+ "description": "表头行的 className 的回调",
387
+ "hasDefault": false,
388
+ "name": "headerRowClassName",
389
+ "required": false,
390
+ "type": "string | ((row, rowIndex) => string)"
391
+ },
392
+ {
393
+ "alias": null,
394
+ "defaultText": null,
395
+ "description": "表头行的 style 的回调",
396
+ "hasDefault": false,
397
+ "name": "headerRowStyle",
398
+ "required": false,
399
+ "type": "object | ((row, rowIndex) => object)"
400
+ },
401
+ {
402
+ "alias": null,
403
+ "defaultText": null,
404
+ "description": "",
405
+ "hasDefault": false,
406
+ "name": "headerCellClassName",
407
+ "required": false,
408
+ "type": "unknown"
409
+ },
410
+ {
411
+ "alias": null,
412
+ "defaultText": null,
413
+ "description": "",
414
+ "hasDefault": false,
415
+ "name": "headerCellStyle",
416
+ "required": false,
417
+ "type": "unknown"
418
+ },
419
+ {
420
+ "alias": null,
421
+ "defaultText": "false",
422
+ "description": "是否要高亮当前行",
423
+ "hasDefault": false,
424
+ "name": "highlightCurrentRow",
425
+ "required": false,
426
+ "type": "boolean"
427
+ },
428
+ {
429
+ "alias": null,
430
+ "defaultText": null,
431
+ "description": "当前行的 key",
432
+ "hasDefault": false,
433
+ "name": "currentRowKey",
434
+ "required": false,
435
+ "type": "string | number"
436
+ },
437
+ {
438
+ "alias": null,
439
+ "defaultText": "暂无数据",
440
+ "description": "空数据时显示的文本内容",
441
+ "hasDefault": false,
442
+ "name": "emptyText",
443
+ "required": false,
444
+ "type": "string"
445
+ },
446
+ {
447
+ "alias": null,
448
+ "defaultText": null,
449
+ "description": "可以通过该属性设置目前的展开行",
450
+ "hasDefault": false,
451
+ "name": "expandRowKeys",
452
+ "required": false,
453
+ "type": "string[]"
454
+ },
455
+ {
456
+ "alias": null,
457
+ "defaultText": "false",
458
+ "description": "是否默认展开所有行",
459
+ "hasDefault": false,
460
+ "name": "defaultExpandAll",
461
+ "required": false,
462
+ "type": "boolean"
463
+ },
464
+ {
465
+ "alias": null,
466
+ "defaultText": null,
467
+ "description": "",
468
+ "hasDefault": false,
469
+ "name": "rowExpandable",
470
+ "required": false,
471
+ "type": "unknown"
472
+ },
473
+ {
474
+ "alias": null,
475
+ "defaultText": null,
476
+ "description": "默认的排序列和排序顺序",
477
+ "hasDefault": false,
478
+ "name": "defaultSort",
479
+ "required": false,
480
+ "type": "{ prop: string, order: 'ascending' | 'descending' }"
481
+ },
482
+ {
483
+ "alias": null,
484
+ "defaultText": "dark",
485
+ "description": "tooltip 效果",
486
+ "hasDefault": false,
487
+ "name": "tooltipEffect",
488
+ "required": false,
489
+ "type": "'dark' | 'light'"
490
+ },
491
+ {
492
+ "alias": null,
493
+ "defaultText": null,
494
+ "description": "",
495
+ "hasDefault": false,
496
+ "name": "tooltipOptions",
497
+ "required": false,
498
+ "type": "unknown"
499
+ },
500
+ {
501
+ "alias": null,
502
+ "defaultText": null,
503
+ "description": "合并行或列的计算方法",
504
+ "hasDefault": false,
505
+ "name": "spanMethod",
506
+ "required": false,
507
+ "type": "({ row, column, rowIndex, columnIndex }) => number[] | { rowspan: number, colspan: number }"
508
+ },
509
+ {
510
+ "alias": null,
511
+ "defaultText": "true",
512
+ "description": "全选勾选是否选择所有数据",
513
+ "hasDefault": true,
514
+ "name": "selectOnIndeterminate",
515
+ "required": false,
516
+ "type": "boolean"
517
+ },
518
+ {
519
+ "alias": null,
520
+ "defaultText": "16",
521
+ "description": "展示树形数据时缩进的大小",
522
+ "hasDefault": true,
523
+ "name": "indent",
524
+ "required": false,
525
+ "type": "number"
526
+ },
527
+ {
528
+ "alias": null,
529
+ "defaultText": "{ hasChildren: 'hasChildren', children: 'children' }",
530
+ "description": "渲染嵌套数据的配置选项",
531
+ "hasDefault": true,
532
+ "name": "treeProps",
533
+ "required": false,
534
+ "type": "{ hasChildren: string, children: string }"
535
+ },
536
+ {
537
+ "alias": null,
538
+ "defaultText": "false",
539
+ "description": "是否懒加载子节点数据",
540
+ "hasDefault": false,
541
+ "name": "lazy",
542
+ "required": false,
543
+ "type": "boolean"
544
+ },
545
+ {
546
+ "alias": null,
547
+ "defaultText": null,
548
+ "description": "加载子节点数据的函数",
549
+ "hasDefault": false,
550
+ "name": "load",
551
+ "required": false,
552
+ "type": "(row, treeNode, resolve) => void"
553
+ },
554
+ {
555
+ "alias": null,
556
+ "defaultText": null,
557
+ "description": "",
558
+ "hasDefault": true,
559
+ "name": "className",
560
+ "required": false,
561
+ "type": "unknown"
562
+ },
563
+ {
564
+ "alias": null,
565
+ "defaultText": null,
566
+ "description": "",
567
+ "hasDefault": true,
568
+ "name": "style",
569
+ "required": false,
570
+ "type": "unknown"
571
+ },
572
+ {
573
+ "alias": null,
574
+ "defaultText": "fixed",
575
+ "description": "表格布局方式",
576
+ "hasDefault": true,
577
+ "name": "tableLayout",
578
+ "required": false,
579
+ "type": "'fixed' | 'auto'"
580
+ },
581
+ {
582
+ "alias": null,
583
+ "defaultText": "false",
584
+ "description": "是否总是显示滚动条",
585
+ "hasDefault": false,
586
+ "name": "scrollbarAlwaysOn",
587
+ "required": false,
588
+ "type": "boolean"
589
+ },
590
+ {
591
+ "alias": null,
592
+ "defaultText": "false",
593
+ "description": "确保主轴的最小尺寸",
594
+ "hasDefault": false,
595
+ "name": "flexible",
596
+ "required": false,
597
+ "type": "boolean"
598
+ },
599
+ {
600
+ "alias": null,
601
+ "defaultText": null,
602
+ "description": "",
603
+ "hasDefault": true,
604
+ "name": "showOverflowTooltip",
605
+ "required": false,
606
+ "type": "unknown"
607
+ },
608
+ {
609
+ "alias": null,
610
+ "defaultText": null,
611
+ "description": "",
612
+ "hasDefault": false,
613
+ "name": "tooltipFormatter",
614
+ "required": false,
615
+ "type": "unknown"
616
+ },
617
+ {
618
+ "alias": null,
619
+ "defaultText": null,
620
+ "description": "",
621
+ "hasDefault": false,
622
+ "name": "appendFilterPanelTo",
623
+ "required": false,
624
+ "type": "unknown"
625
+ },
626
+ {
627
+ "alias": null,
628
+ "defaultText": null,
629
+ "description": "",
630
+ "hasDefault": true,
631
+ "name": "scrollbarTabindex",
632
+ "required": false,
633
+ "type": "unknown"
634
+ },
635
+ {
636
+ "alias": null,
637
+ "defaultText": null,
638
+ "description": "",
639
+ "hasDefault": true,
640
+ "name": "allowDragLastColumn",
641
+ "required": false,
642
+ "type": "unknown"
643
+ },
644
+ {
645
+ "alias": null,
646
+ "defaultText": null,
647
+ "description": "",
648
+ "hasDefault": false,
649
+ "name": "preserveExpandedContent",
650
+ "required": false,
651
+ "type": "unknown"
652
+ },
653
+ {
654
+ "alias": null,
655
+ "defaultText": null,
656
+ "description": "",
657
+ "hasDefault": false,
658
+ "name": "nativeScrollbar",
659
+ "required": false,
660
+ "type": "unknown"
661
+ }
662
+ ],
663
+ "related": [
664
+ "EpTableColumn"
665
+ ],
666
+ "relations": {
667
+ "children": [
668
+ "EpTableColumn"
669
+ ],
670
+ "combos": [
671
+ "EpTable + EpTableColumn"
672
+ ],
673
+ "parents": [],
674
+ "requiredChildren": []
675
+ },
676
+ "slots": [
677
+ {
678
+ "description": "自定义默认内容",
679
+ "name": "default"
680
+ },
681
+ {
682
+ "description": "插入至表格最后一行之后的内容",
683
+ "name": "append"
684
+ },
685
+ {
686
+ "description": "当数据为空时自定义的内容",
687
+ "name": "empty"
688
+ }
689
+ ],
690
+ "slug": "table",
691
+ "summary": "数据表格,支持排序、筛选与固定列",
692
+ "tag": "ep-table",
693
+ "useCases": [
694
+ "展示结构化列表数据",
695
+ "排序、筛选与分页浏览"
696
+ ],
697
+ "variants": [
698
+ {
699
+ "dimension": "size",
700
+ "values": [
701
+ "large",
702
+ "default",
703
+ "small"
704
+ ],
705
+ "when": "按容器空间与信息密度选择尺寸"
706
+ },
707
+ {
708
+ "dimension": "effect",
709
+ "values": [
710
+ "border"
711
+ ],
712
+ "when": "通过视觉修饰属性调整外观效果"
713
+ }
714
+ ],
715
+ "visual": {
716
+ "cssVars": [
717
+ "--el-border-color-lighter",
718
+ "--el-bg-color",
719
+ "--el-text-color-regular",
720
+ "--el-font-size-base"
721
+ ],
722
+ "density": "紧凑",
723
+ "shape": "块级数据区域",
724
+ "slotContent": [
725
+ "default:自定义默认内容",
726
+ "append:插入至表格最后一行之后的内容",
727
+ "empty:当数据为空时自定义的内容"
728
+ ]
729
+ }
730
+ },
731
+ "generatedAt": "2026-11-03T03:09:12.050Z",
732
+ "libraryVersion": "0.2.0",
733
+ "schemaVersion": 1
734
+ }