ep-craft 0.2.0 → 0.2.1
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-ai/components/affix.json +2 -2
- package/dist-ai/components/affix.md +1 -1
- package/dist-ai/components/alert.json +2 -2
- package/dist-ai/components/alert.md +1 -1
- package/dist-ai/components/anchor-link.json +2 -2
- package/dist-ai/components/anchor-link.md +1 -1
- package/dist-ai/components/anchor.json +2 -2
- package/dist-ai/components/anchor.md +1 -1
- package/dist-ai/components/aside.json +2 -2
- package/dist-ai/components/aside.md +1 -1
- package/dist-ai/components/autocomplete.json +85 -85
- package/dist-ai/components/autocomplete.md +34 -34
- package/dist-ai/components/avatar.json +2 -2
- package/dist-ai/components/avatar.md +1 -1
- package/dist-ai/components/backtop.json +2 -2
- package/dist-ai/components/backtop.md +1 -1
- package/dist-ai/components/badge.json +2 -2
- package/dist-ai/components/badge.md +1 -1
- package/dist-ai/components/breadcrumb-item.json +2 -2
- package/dist-ai/components/breadcrumb-item.md +1 -1
- package/dist-ai/components/breadcrumb.json +2 -2
- package/dist-ai/components/breadcrumb.md +1 -1
- package/dist-ai/components/button-group.json +5 -5
- package/dist-ai/components/button-group.md +2 -2
- package/dist-ai/components/button.json +2 -2
- package/dist-ai/components/button.md +1 -1
- package/dist-ai/components/calendar.json +2 -2
- package/dist-ai/components/calendar.md +1 -1
- package/dist-ai/components/card.json +6 -6
- package/dist-ai/components/card.md +3 -3
- package/dist-ai/components/carousel-item.json +2 -2
- package/dist-ai/components/carousel-item.md +1 -1
- package/dist-ai/components/carousel.json +2 -2
- package/dist-ai/components/carousel.md +1 -1
- package/dist-ai/components/cascader-panel.json +2 -2
- package/dist-ai/components/cascader-panel.md +1 -1
- package/dist-ai/components/cascader.json +8 -8
- package/dist-ai/components/cascader.md +3 -3
- package/dist-ai/components/check-tag.json +2 -2
- package/dist-ai/components/check-tag.md +1 -1
- package/dist-ai/components/checkbox-button.json +2 -2
- package/dist-ai/components/checkbox-button.md +1 -1
- package/dist-ai/components/checkbox-group.json +2 -2
- package/dist-ai/components/checkbox-group.md +1 -1
- package/dist-ai/components/checkbox.json +2 -2
- package/dist-ai/components/checkbox.md +1 -1
- package/dist-ai/components/col.json +2 -2
- package/dist-ai/components/col.md +1 -1
- package/dist-ai/components/collapse-item.json +2 -2
- package/dist-ai/components/collapse-item.md +1 -1
- package/dist-ai/components/collapse-transition.json +2 -2
- package/dist-ai/components/collapse-transition.md +1 -1
- package/dist-ai/components/collapse.json +2 -2
- package/dist-ai/components/collapse.md +1 -1
- package/dist-ai/components/color-picker.json +2 -2
- package/dist-ai/components/color-picker.md +1 -1
- package/dist-ai/components/config-provider.json +2 -2
- package/dist-ai/components/config-provider.md +1 -1
- package/dist-ai/components/container.json +2 -2
- package/dist-ai/components/container.md +1 -1
- package/dist-ai/components/countdown.json +2 -2
- package/dist-ai/components/countdown.md +1 -1
- package/dist-ai/components/date-picker-panel.json +8 -8
- package/dist-ai/components/date-picker-panel.md +4 -4
- package/dist-ai/components/date-picker.json +64 -64
- package/dist-ai/components/date-picker.md +24 -24
- package/dist-ai/components/descriptions-item.json +2 -2
- package/dist-ai/components/descriptions-item.md +1 -1
- package/dist-ai/components/descriptions.json +2 -2
- package/dist-ai/components/descriptions.md +1 -1
- package/dist-ai/components/dialog.json +25 -25
- package/dist-ai/components/dialog.md +10 -10
- package/dist-ai/components/divider.json +2 -2
- package/dist-ai/components/divider.md +1 -1
- package/dist-ai/components/drawer.json +52 -52
- package/dist-ai/components/drawer.md +19 -19
- package/dist-ai/components/dropdown-item.json +2 -2
- package/dist-ai/components/dropdown-item.md +1 -1
- package/dist-ai/components/dropdown-menu.json +4 -4
- package/dist-ai/components/dropdown-menu.md +2 -2
- package/dist-ai/components/dropdown.json +2 -2
- package/dist-ai/components/dropdown.md +1 -1
- package/dist-ai/components/empty.json +2 -2
- package/dist-ai/components/empty.md +1 -1
- package/dist-ai/components/footer.json +2 -2
- package/dist-ai/components/footer.md +1 -1
- package/dist-ai/components/form-item.json +5 -5
- package/dist-ai/components/form-item.md +2 -2
- package/dist-ai/components/form.json +2 -2
- package/dist-ai/components/form.md +1 -1
- package/dist-ai/components/header.json +2 -2
- package/dist-ai/components/header.md +1 -1
- package/dist-ai/components/icon.json +2 -2
- package/dist-ai/components/icon.md +1 -1
- package/dist-ai/components/image-viewer.json +2 -2
- package/dist-ai/components/image-viewer.md +1 -1
- package/dist-ai/components/image.json +2 -2
- package/dist-ai/components/image.md +1 -1
- package/dist-ai/components/input-number.json +4 -4
- package/dist-ai/components/input-number.md +2 -2
- package/dist-ai/components/input.json +21 -21
- package/dist-ai/components/input.md +9 -9
- package/dist-ai/components/link.json +2 -2
- package/dist-ai/components/link.md +1 -1
- package/dist-ai/components/main.json +2 -2
- package/dist-ai/components/main.md +1 -1
- package/dist-ai/components/mention.json +85 -85
- package/dist-ai/components/mention.md +34 -34
- package/dist-ai/components/menu-item-group.json +2 -2
- package/dist-ai/components/menu-item-group.md +1 -1
- package/dist-ai/components/menu-item.json +2 -2
- package/dist-ai/components/menu-item.md +1 -1
- package/dist-ai/components/menu.json +2 -2
- package/dist-ai/components/menu.md +1 -1
- package/dist-ai/components/option-group.json +2 -2
- package/dist-ai/components/option-group.md +1 -1
- package/dist-ai/components/option.json +5 -5
- package/dist-ai/components/option.md +2 -2
- package/dist-ai/components/page-header.json +2 -2
- package/dist-ai/components/page-header.md +1 -1
- package/dist-ai/components/pagination.json +9 -9
- package/dist-ai/components/pagination.md +4 -4
- package/dist-ai/components/popconfirm.json +2 -2
- package/dist-ai/components/popconfirm.md +1 -1
- package/dist-ai/components/popover.json +19 -19
- package/dist-ai/components/popover.md +7 -7
- package/dist-ai/components/popper.json +2 -2
- package/dist-ai/components/popper.md +1 -1
- package/dist-ai/components/progress.json +5 -5
- package/dist-ai/components/progress.md +2 -2
- package/dist-ai/components/radio-button.json +7 -7
- package/dist-ai/components/radio-button.md +3 -3
- package/dist-ai/components/radio-group.json +12 -12
- package/dist-ai/components/radio-group.md +5 -5
- package/dist-ai/components/radio.json +2 -2
- package/dist-ai/components/radio.md +1 -1
- package/dist-ai/components/rate.json +4 -4
- package/dist-ai/components/rate.md +2 -2
- package/dist-ai/components/result.json +2 -2
- package/dist-ai/components/result.md +1 -1
- package/dist-ai/components/row.json +2 -2
- package/dist-ai/components/row.md +1 -1
- package/dist-ai/components/scrollbar.json +4 -4
- package/dist-ai/components/scrollbar.md +2 -2
- package/dist-ai/components/segmented.json +2 -2
- package/dist-ai/components/segmented.md +1 -1
- package/dist-ai/components/select-v2.json +2 -2
- package/dist-ai/components/select-v2.md +1 -1
- package/dist-ai/components/select.json +44 -44
- package/dist-ai/components/select.md +16 -16
- package/dist-ai/components/skeleton-item.json +2 -2
- package/dist-ai/components/skeleton-item.md +1 -1
- package/dist-ai/components/skeleton.json +2 -2
- package/dist-ai/components/skeleton.md +1 -1
- package/dist-ai/components/slider.json +9 -9
- package/dist-ai/components/slider.md +4 -4
- package/dist-ai/components/space.json +5 -5
- package/dist-ai/components/space.md +2 -2
- package/dist-ai/components/statistic.json +2 -2
- package/dist-ai/components/statistic.md +1 -1
- package/dist-ai/components/step.json +2 -2
- package/dist-ai/components/step.md +1 -1
- package/dist-ai/components/steps.json +2 -2
- package/dist-ai/components/steps.md +1 -1
- package/dist-ai/components/sub-menu.json +2 -2
- package/dist-ai/components/sub-menu.md +1 -1
- package/dist-ai/components/switch.json +13 -13
- package/dist-ai/components/switch.md +6 -6
- package/dist-ai/components/tab-pane.json +2 -2
- package/dist-ai/components/tab-pane.md +1 -1
- package/dist-ai/components/table-column.json +8 -8
- package/dist-ai/components/table-column.md +4 -4
- package/dist-ai/components/table-v2.json +2 -2
- package/dist-ai/components/table-v2.md +1 -1
- package/dist-ai/components/table.json +37 -37
- package/dist-ai/components/table.md +16 -16
- package/dist-ai/components/tabs.json +7 -7
- package/dist-ai/components/tabs.md +3 -3
- package/dist-ai/components/tag.json +2 -2
- package/dist-ai/components/tag.md +1 -1
- package/dist-ai/components/text.json +2 -2
- package/dist-ai/components/text.md +1 -1
- package/dist-ai/components/time-picker.json +2 -2
- package/dist-ai/components/time-picker.md +1 -1
- package/dist-ai/components/time-select.json +2 -2
- package/dist-ai/components/time-select.md +1 -1
- package/dist-ai/components/timeline-item.json +2 -2
- package/dist-ai/components/timeline-item.md +1 -1
- package/dist-ai/components/timeline.json +2 -2
- package/dist-ai/components/timeline.md +1 -1
- package/dist-ai/components/tooltip.json +72 -72
- package/dist-ai/components/tooltip.md +30 -30
- package/dist-ai/components/tour-step.json +2 -2
- package/dist-ai/components/tour-step.md +1 -1
- package/dist-ai/components/tour.json +2 -2
- package/dist-ai/components/tour.md +1 -1
- package/dist-ai/components/transfer.json +2 -2
- package/dist-ai/components/transfer.md +1 -1
- package/dist-ai/components/tree-select.json +135 -135
- package/dist-ai/components/tree-select.md +50 -50
- package/dist-ai/components/tree-v2.json +2 -2
- package/dist-ai/components/tree-v2.md +1 -1
- package/dist-ai/components/tree.json +2 -2
- package/dist-ai/components/tree.md +1 -1
- package/dist-ai/components/upload.json +7 -7
- package/dist-ai/components/upload.md +3 -3
- package/dist-ai/components/watermark.json +2 -2
- package/dist-ai/components/watermark.md +1 -1
- package/dist-ai/directives/click-outside.json +2 -2
- package/dist-ai/directives/click-outside.md +1 -1
- package/dist-ai/directives/infinite-scroll.json +2 -2
- package/dist-ai/directives/infinite-scroll.md +1 -1
- package/dist-ai/directives/loading.json +2 -2
- package/dist-ai/directives/loading.md +1 -1
- package/dist-ai/directives/mousewheel.json +2 -2
- package/dist-ai/directives/mousewheel.md +1 -1
- package/dist-ai/directives/repeat-click.json +2 -2
- package/dist-ai/directives/repeat-click.md +1 -1
- package/dist-ai/directives/trap-focus.json +2 -2
- package/dist-ai/directives/trap-focus.md +1 -1
- package/dist-ai/icons.json +1 -1
- package/dist-ai/index.json +1 -1
- package/dist-ai/llms.txt +1 -1
- package/dist-ai/manifest.json +714 -714
- package/dist-ai/services/infinite-scroll.json +2 -2
- package/dist-ai/services/infinite-scroll.md +1 -1
- package/dist-ai/services/loading.json +2 -2
- package/dist-ai/services/loading.md +1 -1
- package/dist-ai/services/message-box.json +2 -2
- package/dist-ai/services/message-box.md +1 -1
- package/dist-ai/services/message.json +2 -2
- package/dist-ai/services/message.md +1 -1
- package/dist-ai/services/notification.json +2 -2
- package/dist-ai/services/notification.md +1 -1
- package/package.json +1 -1
|
@@ -110,20 +110,20 @@
|
|
|
110
110
|
{
|
|
111
111
|
"alias": null,
|
|
112
112
|
"defaultText": null,
|
|
113
|
-
"description": "",
|
|
113
|
+
"description": "switch 状态为 off 时显示在点内的图标",
|
|
114
114
|
"hasDefault": false,
|
|
115
115
|
"name": "inactiveActionIcon",
|
|
116
116
|
"required": false,
|
|
117
|
-
"type": "
|
|
117
|
+
"type": "string | Component"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"alias": null,
|
|
121
121
|
"defaultText": null,
|
|
122
|
-
"description": "",
|
|
122
|
+
"description": "switch 状态为 on 时显示在点内的图标",
|
|
123
123
|
"hasDefault": false,
|
|
124
124
|
"name": "activeActionIcon",
|
|
125
125
|
"required": false,
|
|
126
|
-
"type": "
|
|
126
|
+
"type": "string | Component"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"alias": null,
|
|
@@ -209,29 +209,29 @@
|
|
|
209
209
|
{
|
|
210
210
|
"alias": null,
|
|
211
211
|
"defaultText": null,
|
|
212
|
-
"description": "",
|
|
212
|
+
"description": "原生 id 属性",
|
|
213
213
|
"hasDefault": false,
|
|
214
214
|
"name": "id",
|
|
215
215
|
"required": false,
|
|
216
|
-
"type": "
|
|
216
|
+
"type": "string"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"alias": null,
|
|
220
|
-
"defaultText":
|
|
221
|
-
"description": "",
|
|
220
|
+
"defaultText": "0",
|
|
221
|
+
"description": "原生 tabindex 属性",
|
|
222
222
|
"hasDefault": false,
|
|
223
223
|
"name": "tabindex",
|
|
224
224
|
"required": false,
|
|
225
|
-
"type": "
|
|
225
|
+
"type": "string | number"
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"alias": null,
|
|
229
229
|
"defaultText": null,
|
|
230
|
-
"description": "",
|
|
230
|
+
"description": "原生 aria-label 属性",
|
|
231
231
|
"hasDefault": false,
|
|
232
232
|
"name": "ariaLabel",
|
|
233
233
|
"required": false,
|
|
234
|
-
"type": "
|
|
234
|
+
"type": "string"
|
|
235
235
|
}
|
|
236
236
|
],
|
|
237
237
|
"related": [
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
]
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
-
"generatedAt": "2026-11-
|
|
290
|
-
"libraryVersion": "0.2.
|
|
289
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
290
|
+
"libraryVersion": "0.2.1",
|
|
291
291
|
"schemaVersion": 1
|
|
292
292
|
}
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
- size ('large' | 'default' | 'small'):switch 的大小
|
|
31
31
|
- width (number | string,默认 ''):switch 的宽度
|
|
32
32
|
- inlinePrompt (boolean):无论图标或文本是否显示在点内
|
|
33
|
-
- inactiveActionIcon (
|
|
34
|
-
- activeActionIcon (
|
|
33
|
+
- inactiveActionIcon (string | Component):switch 状态为 off 时显示在点内的图标
|
|
34
|
+
- activeActionIcon (string | Component):switch 状态为 on 时显示在点内的图标
|
|
35
35
|
- activeIcon (string | Component):switch 状态为 on 时所显示图标
|
|
36
36
|
- inactiveIcon (string | Component):switch 状态为 off 时所显示图标
|
|
37
37
|
- activeText (string,默认 ''):switch 打开时的文字描述
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
- name (string,默认 ''):原生 name 属性
|
|
42
42
|
- validateEvent (boolean,默认 true):改变 switch 状态时是否触发表单验证
|
|
43
43
|
- beforeChange (() => Promise<boolean> | boolean):switch 状态改变前的钩子
|
|
44
|
-
- id (
|
|
45
|
-
- tabindex (
|
|
46
|
-
- ariaLabel (
|
|
44
|
+
- id (string):原生 id 属性
|
|
45
|
+
- tabindex (string | number):原生 tabindex 属性
|
|
46
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
47
47
|
|
|
48
48
|
## Events
|
|
49
49
|
|
|
@@ -85,4 +85,4 @@ const value = ref(true)
|
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
-
ep-craft 0.2.
|
|
88
|
+
ep-craft 0.2.1
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
{
|
|
72
72
|
"alias": null,
|
|
73
73
|
"defaultText": null,
|
|
74
|
-
"description": "",
|
|
74
|
+
"description": "字段名称(`prop` 的别名)",
|
|
75
75
|
"hasDefault": false,
|
|
76
76
|
"name": "property",
|
|
77
77
|
"required": false,
|
|
78
|
-
"type": "
|
|
78
|
+
"type": "string"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"alias": null,
|
|
@@ -188,11 +188,11 @@
|
|
|
188
188
|
{
|
|
189
189
|
"alias": null,
|
|
190
190
|
"defaultText": null,
|
|
191
|
-
"description": "",
|
|
191
|
+
"description": "该列 tooltip 的内容格式化方法",
|
|
192
192
|
"hasDefault": false,
|
|
193
193
|
"name": "tooltipFormatter",
|
|
194
194
|
"required": false,
|
|
195
|
-
"type": "
|
|
195
|
+
"type": "(data) => string"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"alias": null,
|
|
@@ -278,11 +278,11 @@
|
|
|
278
278
|
{
|
|
279
279
|
"alias": null,
|
|
280
280
|
"defaultText": null,
|
|
281
|
-
"description": "",
|
|
281
|
+
"description": "过滤弹出层的自定义类名",
|
|
282
282
|
"hasDefault": false,
|
|
283
283
|
"name": "filterClassName",
|
|
284
284
|
"required": false,
|
|
285
|
-
"type": "
|
|
285
|
+
"type": "string"
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
"alias": null,
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
]
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
|
-
"generatedAt": "2026-11-
|
|
366
|
-
"libraryVersion": "0.2.
|
|
365
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
366
|
+
"libraryVersion": "0.2.1",
|
|
367
367
|
"schemaVersion": 1
|
|
368
368
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
- label (string):显示的标题
|
|
28
28
|
- className (string):列的 className
|
|
29
29
|
- labelClassName (string):当前列标题的自定义类名
|
|
30
|
-
- property (
|
|
30
|
+
- property (string):字段名称(`prop` 的别名)
|
|
31
31
|
- prop (string):字段名称
|
|
32
32
|
- width (string | number,默认 见文档):对应列的宽度
|
|
33
33
|
- minWidth (string | number,默认 见文档):对应列的最小宽度
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
- align ('left' | 'center' | 'right'):对齐方式
|
|
41
41
|
- headerAlign ('left' | 'center' | 'right'):表头对齐方式
|
|
42
42
|
- showOverflowTooltip (boolean | object,默认 undefined):内容过长被隐藏时是否显示 tooltip
|
|
43
|
-
- tooltipFormatter (
|
|
43
|
+
- tooltipFormatter ((data) => string):该列 tooltip 的内容格式化方法
|
|
44
44
|
- fixed ('left' | 'right' | boolean):列是否固定
|
|
45
45
|
- formatter ((row, column, cellValue, index) => VNode | string):用来格式化内容
|
|
46
46
|
- selectable ((row, index) => boolean):仅对 type=selection 的列有效
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
- filters ({ text: string, value: string }[]):数据过滤的选项
|
|
51
51
|
- filterPlacement (Placement):过滤弹出框的定位
|
|
52
52
|
- filterMultiple (boolean,默认 true):数据过滤的选项是否多选
|
|
53
|
-
- filterClassName (
|
|
53
|
+
- filterClassName (string):过滤弹出层的自定义类名
|
|
54
54
|
- index (number | ((index: number) => number)):如果设置了 type=index,可自定义索引
|
|
55
55
|
- sortOrders (('ascending' | 'descending' | null)[],默认 ['ascending', 'descending', null]):数据在排序时所使用排序策略的轮转顺序
|
|
56
56
|
|
|
@@ -100,4 +100,4 @@ const rows = [
|
|
|
100
100
|
|
|
101
101
|
---
|
|
102
102
|
|
|
103
|
-
ep-craft 0.2.
|
|
103
|
+
ep-craft 0.2.1
|
|
@@ -239,11 +239,11 @@
|
|
|
239
239
|
{
|
|
240
240
|
"alias": null,
|
|
241
241
|
"defaultText": null,
|
|
242
|
-
"description": "",
|
|
242
|
+
"description": "表格宽度(未设置时由容器撑开)",
|
|
243
243
|
"hasDefault": false,
|
|
244
244
|
"name": "width",
|
|
245
245
|
"required": false,
|
|
246
|
-
"type": "
|
|
246
|
+
"type": "string | number"
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
"alias": null,
|
|
@@ -302,11 +302,11 @@
|
|
|
302
302
|
{
|
|
303
303
|
"alias": null,
|
|
304
304
|
"defaultText": null,
|
|
305
|
-
"description": "",
|
|
305
|
+
"description": "自定义单元格上下文内容",
|
|
306
306
|
"hasDefault": false,
|
|
307
307
|
"name": "context",
|
|
308
308
|
"required": false,
|
|
309
|
-
"type": "
|
|
309
|
+
"type": "(args: { row, column, $index }) => VNode"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"alias": null,
|
|
@@ -401,20 +401,20 @@
|
|
|
401
401
|
{
|
|
402
402
|
"alias": null,
|
|
403
403
|
"defaultText": null,
|
|
404
|
-
"description": "",
|
|
404
|
+
"description": "表头单元格的 className 的回调",
|
|
405
405
|
"hasDefault": false,
|
|
406
406
|
"name": "headerCellClassName",
|
|
407
407
|
"required": false,
|
|
408
|
-
"type": "
|
|
408
|
+
"type": "string | ((column, columnIndex) => string)"
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
411
|
"alias": null,
|
|
412
412
|
"defaultText": null,
|
|
413
|
-
"description": "",
|
|
413
|
+
"description": "表头单元格的 style 的回调",
|
|
414
414
|
"hasDefault": false,
|
|
415
415
|
"name": "headerCellStyle",
|
|
416
416
|
"required": false,
|
|
417
|
-
"type": "
|
|
417
|
+
"type": "object | ((column, columnIndex) => object)"
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
"alias": null,
|
|
@@ -464,11 +464,11 @@
|
|
|
464
464
|
{
|
|
465
465
|
"alias": null,
|
|
466
466
|
"defaultText": null,
|
|
467
|
-
"description": "",
|
|
467
|
+
"description": "展开行模式下,指定哪些行可展开",
|
|
468
468
|
"hasDefault": false,
|
|
469
469
|
"name": "rowExpandable",
|
|
470
470
|
"required": false,
|
|
471
|
-
"type": "
|
|
471
|
+
"type": "(row, index) => boolean"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
"alias": null,
|
|
@@ -491,11 +491,11 @@
|
|
|
491
491
|
{
|
|
492
492
|
"alias": null,
|
|
493
493
|
"defaultText": null,
|
|
494
|
-
"description": "",
|
|
494
|
+
"description": "全局 tooltip 配置(如 popper-class、effect 等)",
|
|
495
495
|
"hasDefault": false,
|
|
496
496
|
"name": "tooltipOptions",
|
|
497
497
|
"required": false,
|
|
498
|
-
"type": "
|
|
498
|
+
"type": "object"
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
501
|
"alias": null,
|
|
@@ -553,21 +553,21 @@
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
"alias": null,
|
|
556
|
-
"defaultText":
|
|
557
|
-
"description": "",
|
|
556
|
+
"defaultText": "''",
|
|
557
|
+
"description": "表格容器的自定义类名",
|
|
558
558
|
"hasDefault": true,
|
|
559
559
|
"name": "className",
|
|
560
560
|
"required": false,
|
|
561
|
-
"type": "
|
|
561
|
+
"type": "string"
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
"alias": null,
|
|
565
|
-
"defaultText":
|
|
566
|
-
"description": "",
|
|
565
|
+
"defaultText": "{}",
|
|
566
|
+
"description": "表格容器的自定义样式",
|
|
567
567
|
"hasDefault": true,
|
|
568
568
|
"name": "style",
|
|
569
569
|
"required": false,
|
|
570
|
-
"type": "
|
|
570
|
+
"type": "string | object"
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
573
|
"alias": null,
|
|
@@ -599,65 +599,65 @@
|
|
|
599
599
|
{
|
|
600
600
|
"alias": null,
|
|
601
601
|
"defaultText": null,
|
|
602
|
-
"description": "",
|
|
602
|
+
"description": "全局设置所有列是否在内容溢出时显示 tooltip",
|
|
603
603
|
"hasDefault": true,
|
|
604
604
|
"name": "showOverflowTooltip",
|
|
605
605
|
"required": false,
|
|
606
|
-
"type": "
|
|
606
|
+
"type": "boolean | object"
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
609
|
"alias": null,
|
|
610
610
|
"defaultText": null,
|
|
611
|
-
"description": "",
|
|
611
|
+
"description": "全局设置所有列 tooltip 的内容格式化方法",
|
|
612
612
|
"hasDefault": false,
|
|
613
613
|
"name": "tooltipFormatter",
|
|
614
614
|
"required": false,
|
|
615
|
-
"type": "
|
|
615
|
+
"type": "(data) => string"
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
"alias": null,
|
|
619
619
|
"defaultText": null,
|
|
620
|
-
"description": "",
|
|
620
|
+
"description": "筛选面板挂载到哪个元素",
|
|
621
621
|
"hasDefault": false,
|
|
622
622
|
"name": "appendFilterPanelTo",
|
|
623
623
|
"required": false,
|
|
624
|
-
"type": "
|
|
624
|
+
"type": "string | HTMLElement"
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
627
|
"alias": null,
|
|
628
628
|
"defaultText": null,
|
|
629
|
-
"description": "",
|
|
629
|
+
"description": "表格滚动容器的 tabindex",
|
|
630
630
|
"hasDefault": true,
|
|
631
631
|
"name": "scrollbarTabindex",
|
|
632
632
|
"required": false,
|
|
633
|
-
"type": "
|
|
633
|
+
"type": "number"
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
636
|
"alias": null,
|
|
637
|
-
"defaultText":
|
|
638
|
-
"description": "",
|
|
637
|
+
"defaultText": "true",
|
|
638
|
+
"description": "是否允许拖动最后一列改变宽度",
|
|
639
639
|
"hasDefault": true,
|
|
640
640
|
"name": "allowDragLastColumn",
|
|
641
641
|
"required": false,
|
|
642
|
-
"type": "
|
|
642
|
+
"type": "boolean"
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
645
|
"alias": null,
|
|
646
|
-
"defaultText":
|
|
647
|
-
"description": "",
|
|
646
|
+
"defaultText": "false",
|
|
647
|
+
"description": "行展开后是否保留已渲染内容",
|
|
648
648
|
"hasDefault": false,
|
|
649
649
|
"name": "preserveExpandedContent",
|
|
650
650
|
"required": false,
|
|
651
|
-
"type": "
|
|
651
|
+
"type": "boolean"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
654
|
"alias": null,
|
|
655
|
-
"defaultText":
|
|
656
|
-
"description": "",
|
|
655
|
+
"defaultText": "false",
|
|
656
|
+
"description": "是否使用原生滚动条",
|
|
657
657
|
"hasDefault": false,
|
|
658
658
|
"name": "nativeScrollbar",
|
|
659
659
|
"required": false,
|
|
660
|
-
"type": "
|
|
660
|
+
"type": "boolean"
|
|
661
661
|
}
|
|
662
662
|
],
|
|
663
663
|
"related": [
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
]
|
|
729
729
|
}
|
|
730
730
|
},
|
|
731
|
-
"generatedAt": "2026-11-
|
|
732
|
-
"libraryVersion": "0.2.
|
|
731
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
732
|
+
"libraryVersion": "0.2.1",
|
|
733
733
|
"schemaVersion": 1
|
|
734
734
|
}
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
|
|
27
27
|
- data (any[],默认 []):显示的数据
|
|
28
28
|
- size ('large' | 'default' | 'small'):Table 的尺寸
|
|
29
|
-
- width (
|
|
29
|
+
- width (string | number):表格宽度(未设置时由容器撑开)
|
|
30
30
|
- height (string | number):Table 的高度
|
|
31
31
|
- maxHeight (string | number):Table 的最大高度
|
|
32
32
|
- fit (boolean,默认 true):列的宽度是否自撑开
|
|
33
33
|
- stripe (boolean):是否为斑马纹 table
|
|
34
34
|
- border (boolean):是否带有纵向边框
|
|
35
35
|
- rowKey (string | ((row) => string)):行数据的 Key
|
|
36
|
-
- context (
|
|
36
|
+
- context ((args: { row, column, $index }) => VNode):自定义单元格上下文内容
|
|
37
37
|
- showHeader (boolean,默认 true):是否显示表头
|
|
38
38
|
- showSummary (boolean):是否在表尾显示合计行
|
|
39
39
|
- sumText (string):合计行第一列的文本
|
|
@@ -44,35 +44,35 @@
|
|
|
44
44
|
- cellStyle (object | ((row, column, rowIndex, columnIndex) => object)):单元格的 style 的回调方法
|
|
45
45
|
- headerRowClassName (string | ((row, rowIndex) => string)):表头行的 className 的回调
|
|
46
46
|
- headerRowStyle (object | ((row, rowIndex) => object)):表头行的 style 的回调
|
|
47
|
-
- headerCellClassName (
|
|
48
|
-
- headerCellStyle (
|
|
47
|
+
- headerCellClassName (string | ((column, columnIndex) => string)):表头单元格的 className 的回调
|
|
48
|
+
- headerCellStyle (object | ((column, columnIndex) => object)):表头单元格的 style 的回调
|
|
49
49
|
- highlightCurrentRow (boolean):是否要高亮当前行
|
|
50
50
|
- currentRowKey (string | number):当前行的 key
|
|
51
51
|
- emptyText (string):空数据时显示的文本内容
|
|
52
52
|
- expandRowKeys (string[]):可以通过该属性设置目前的展开行
|
|
53
53
|
- defaultExpandAll (boolean):是否默认展开所有行
|
|
54
|
-
- rowExpandable (
|
|
54
|
+
- rowExpandable ((row, index) => boolean):展开行模式下,指定哪些行可展开
|
|
55
55
|
- defaultSort ({ prop: string, order: 'ascending' | 'descending' }):默认的排序列和排序顺序
|
|
56
56
|
- tooltipEffect ('dark' | 'light'):tooltip 效果
|
|
57
|
-
- tooltipOptions (
|
|
57
|
+
- tooltipOptions (object):全局 tooltip 配置(如 popper-class、effect 等)
|
|
58
58
|
- spanMethod (({ row, column, rowIndex, columnIndex }) => number[] | { rowspan: number, colspan: number }):合并行或列的计算方法
|
|
59
59
|
- selectOnIndeterminate (boolean,默认 true):全选勾选是否选择所有数据
|
|
60
60
|
- indent (number,默认 16):展示树形数据时缩进的大小
|
|
61
61
|
- treeProps ({ hasChildren: string, children: string },默认 { hasChildren: 'hasChildren', children: 'children' }):渲染嵌套数据的配置选项
|
|
62
62
|
- lazy (boolean):是否懒加载子节点数据
|
|
63
63
|
- load ((row, treeNode, resolve) => void):加载子节点数据的函数
|
|
64
|
-
- className (
|
|
65
|
-
- style (
|
|
64
|
+
- className (string,默认 ''):表格容器的自定义类名
|
|
65
|
+
- style (string | object,默认 {}):表格容器的自定义样式
|
|
66
66
|
- tableLayout ('fixed' | 'auto',默认 fixed):表格布局方式
|
|
67
67
|
- scrollbarAlwaysOn (boolean):是否总是显示滚动条
|
|
68
68
|
- flexible (boolean):确保主轴的最小尺寸
|
|
69
|
-
- showOverflowTooltip (
|
|
70
|
-
- tooltipFormatter (
|
|
71
|
-
- appendFilterPanelTo (
|
|
72
|
-
- scrollbarTabindex (
|
|
73
|
-
- allowDragLastColumn (
|
|
74
|
-
- preserveExpandedContent (
|
|
75
|
-
- nativeScrollbar (
|
|
69
|
+
- showOverflowTooltip (boolean | object,默认 见文档):全局设置所有列是否在内容溢出时显示 tooltip
|
|
70
|
+
- tooltipFormatter ((data) => string):全局设置所有列 tooltip 的内容格式化方法
|
|
71
|
+
- appendFilterPanelTo (string | HTMLElement):筛选面板挂载到哪个元素
|
|
72
|
+
- scrollbarTabindex (number,默认 见文档):表格滚动容器的 tabindex
|
|
73
|
+
- allowDragLastColumn (boolean,默认 true):是否允许拖动最后一列改变宽度
|
|
74
|
+
- preserveExpandedContent (boolean):行展开后是否保留已渲染内容
|
|
75
|
+
- nativeScrollbar (boolean):是否使用原生滚动条
|
|
76
76
|
|
|
77
77
|
## Events
|
|
78
78
|
|
|
@@ -202,4 +202,4 @@ const rows = [
|
|
|
202
202
|
|
|
203
203
|
---
|
|
204
204
|
|
|
205
|
-
ep-craft 0.2.
|
|
205
|
+
ep-craft 0.2.1
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
{
|
|
117
117
|
"alias": null,
|
|
118
118
|
"defaultText": null,
|
|
119
|
-
"description": "",
|
|
119
|
+
"description": "未设置 model-value 时的初始选中项",
|
|
120
120
|
"hasDefault": false,
|
|
121
121
|
"name": "defaultValue",
|
|
122
122
|
"required": false,
|
|
123
|
-
"type": "
|
|
123
|
+
"type": "string | number"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"alias": null,
|
|
@@ -160,12 +160,12 @@
|
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
"alias": null,
|
|
163
|
-
"defaultText":
|
|
164
|
-
"description": "",
|
|
163
|
+
"defaultText": "0",
|
|
164
|
+
"description": "新增按钮等可聚焦元素的 tabindex",
|
|
165
165
|
"hasDefault": true,
|
|
166
166
|
"name": "tabindex",
|
|
167
167
|
"required": false,
|
|
168
|
-
"type": "
|
|
168
|
+
"type": "string | number"
|
|
169
169
|
}
|
|
170
170
|
],
|
|
171
171
|
"related": [
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
]
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
-
"generatedAt": "2026-11-
|
|
229
|
-
"libraryVersion": "0.2.
|
|
228
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
229
|
+
"libraryVersion": "0.2.1",
|
|
230
230
|
"schemaVersion": 1
|
|
231
231
|
}
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
- closable (boolean):标签是否可关闭
|
|
28
28
|
- addable (boolean):标签是否可增加
|
|
29
29
|
- modelValue(别名 v-model) (string | number):绑定值,选中选项卡的 name
|
|
30
|
-
- defaultValue (
|
|
30
|
+
- defaultValue (string | number):未设置 model-value 时的初始选中项
|
|
31
31
|
- editable (boolean):标签是否同时可增加和关闭
|
|
32
32
|
- tabPosition ('top' | 'right' | 'bottom' | 'left',默认 top):选项卡所在位置
|
|
33
33
|
- beforeLeave ((activeName, oldActiveName) => boolean | Promise<void>,默认 见文档):切换标签之前的钩子,返回 false 或 reject 则阻止切换
|
|
34
34
|
- stretch (boolean):标签的宽度是否自撑开
|
|
35
|
-
- tabindex (
|
|
35
|
+
- tabindex (string | number,默认 0):新增按钮等可聚焦元素的 tabindex
|
|
36
36
|
|
|
37
37
|
## Events
|
|
38
38
|
|
|
@@ -124,4 +124,4 @@ const active = ref('first')
|
|
|
124
124
|
|
|
125
125
|
---
|
|
126
126
|
|
|
127
|
-
ep-craft 0.2.
|
|
127
|
+
ep-craft 0.2.1
|