ep-craft 0.2.0 → 0.2.2
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 +3 -3
- package/dist-ai/components/affix.md +1 -1
- package/dist-ai/components/alert.json +3 -3
- package/dist-ai/components/alert.md +1 -1
- package/dist-ai/components/anchor-link.json +3 -3
- package/dist-ai/components/anchor-link.md +1 -1
- package/dist-ai/components/anchor.json +3 -3
- package/dist-ai/components/anchor.md +1 -1
- package/dist-ai/components/aside.json +3 -3
- package/dist-ai/components/aside.md +1 -1
- package/dist-ai/components/autocomplete.json +86 -86
- package/dist-ai/components/autocomplete.md +34 -34
- package/dist-ai/components/avatar.json +3 -3
- package/dist-ai/components/avatar.md +1 -1
- package/dist-ai/components/backtop.json +3 -3
- package/dist-ai/components/backtop.md +1 -1
- package/dist-ai/components/badge.json +3 -3
- package/dist-ai/components/badge.md +1 -1
- package/dist-ai/components/breadcrumb-item.json +3 -3
- package/dist-ai/components/breadcrumb-item.md +1 -1
- package/dist-ai/components/breadcrumb.json +3 -3
- package/dist-ai/components/breadcrumb.md +1 -1
- package/dist-ai/components/button-group.json +6 -6
- package/dist-ai/components/button-group.md +2 -2
- package/dist-ai/components/button.json +3 -3
- package/dist-ai/components/button.md +1 -1
- package/dist-ai/components/calendar.json +3 -3
- package/dist-ai/components/calendar.md +1 -1
- package/dist-ai/components/card.json +7 -7
- package/dist-ai/components/card.md +3 -3
- package/dist-ai/components/carousel-item.json +3 -3
- package/dist-ai/components/carousel-item.md +1 -1
- package/dist-ai/components/carousel.json +3 -3
- package/dist-ai/components/carousel.md +1 -1
- package/dist-ai/components/cascader-panel.json +3 -3
- package/dist-ai/components/cascader-panel.md +1 -1
- package/dist-ai/components/cascader.json +9 -9
- package/dist-ai/components/cascader.md +3 -3
- package/dist-ai/components/check-tag.json +3 -3
- package/dist-ai/components/check-tag.md +1 -1
- package/dist-ai/components/checkbox-button.json +3 -3
- package/dist-ai/components/checkbox-button.md +1 -1
- package/dist-ai/components/checkbox-group.json +3 -3
- package/dist-ai/components/checkbox-group.md +1 -1
- package/dist-ai/components/checkbox.json +3 -3
- package/dist-ai/components/checkbox.md +1 -1
- package/dist-ai/components/col.json +3 -3
- package/dist-ai/components/col.md +1 -1
- package/dist-ai/components/collapse-item.json +3 -3
- package/dist-ai/components/collapse-item.md +1 -1
- package/dist-ai/components/collapse-transition.json +3 -3
- package/dist-ai/components/collapse-transition.md +1 -1
- package/dist-ai/components/collapse.json +3 -3
- package/dist-ai/components/collapse.md +1 -1
- package/dist-ai/components/color-picker.json +3 -3
- package/dist-ai/components/color-picker.md +1 -1
- package/dist-ai/components/config-provider.json +3 -3
- package/dist-ai/components/config-provider.md +1 -1
- package/dist-ai/components/container.json +3 -3
- package/dist-ai/components/container.md +1 -1
- package/dist-ai/components/countdown.json +3 -3
- package/dist-ai/components/countdown.md +1 -1
- package/dist-ai/components/date-picker-panel.json +9 -9
- package/dist-ai/components/date-picker-panel.md +4 -4
- package/dist-ai/components/date-picker.json +65 -65
- package/dist-ai/components/date-picker.md +24 -24
- package/dist-ai/components/descriptions-item.json +3 -3
- package/dist-ai/components/descriptions-item.md +1 -1
- package/dist-ai/components/descriptions.json +3 -3
- package/dist-ai/components/descriptions.md +1 -1
- package/dist-ai/components/dialog.json +26 -26
- package/dist-ai/components/dialog.md +10 -10
- package/dist-ai/components/divider.json +3 -3
- package/dist-ai/components/divider.md +1 -1
- package/dist-ai/components/drawer.json +53 -53
- package/dist-ai/components/drawer.md +19 -19
- package/dist-ai/components/dropdown-item.json +3 -3
- package/dist-ai/components/dropdown-item.md +1 -1
- package/dist-ai/components/dropdown-menu.json +5 -5
- package/dist-ai/components/dropdown-menu.md +2 -2
- package/dist-ai/components/dropdown.json +3 -3
- package/dist-ai/components/dropdown.md +1 -1
- package/dist-ai/components/empty.json +3 -3
- package/dist-ai/components/empty.md +1 -1
- package/dist-ai/components/footer.json +3 -3
- package/dist-ai/components/footer.md +1 -1
- package/dist-ai/components/form-item.json +6 -6
- package/dist-ai/components/form-item.md +2 -2
- package/dist-ai/components/form.json +3 -3
- package/dist-ai/components/form.md +1 -1
- package/dist-ai/components/header.json +3 -3
- package/dist-ai/components/header.md +1 -1
- package/dist-ai/components/icon.json +3 -3
- package/dist-ai/components/icon.md +1 -1
- package/dist-ai/components/image-viewer.json +3 -3
- package/dist-ai/components/image-viewer.md +1 -1
- package/dist-ai/components/image.json +3 -3
- package/dist-ai/components/image.md +1 -1
- package/dist-ai/components/input-number.json +5 -5
- package/dist-ai/components/input-number.md +2 -2
- package/dist-ai/components/input.json +22 -22
- package/dist-ai/components/input.md +9 -9
- package/dist-ai/components/link.json +3 -3
- package/dist-ai/components/link.md +1 -1
- package/dist-ai/components/main.json +3 -3
- package/dist-ai/components/main.md +1 -1
- package/dist-ai/components/mention.json +86 -86
- package/dist-ai/components/mention.md +34 -34
- package/dist-ai/components/menu-item-group.json +3 -3
- package/dist-ai/components/menu-item-group.md +1 -1
- package/dist-ai/components/menu-item.json +3 -3
- package/dist-ai/components/menu-item.md +1 -1
- package/dist-ai/components/menu.json +3 -3
- package/dist-ai/components/menu.md +1 -1
- package/dist-ai/components/option-group.json +3 -3
- package/dist-ai/components/option-group.md +1 -1
- package/dist-ai/components/option.json +6 -6
- package/dist-ai/components/option.md +2 -2
- package/dist-ai/components/page-header.json +3 -3
- package/dist-ai/components/page-header.md +1 -1
- package/dist-ai/components/pagination.json +10 -10
- package/dist-ai/components/pagination.md +4 -4
- package/dist-ai/components/popconfirm.json +3 -3
- package/dist-ai/components/popconfirm.md +1 -1
- package/dist-ai/components/popover.json +20 -20
- package/dist-ai/components/popover.md +7 -7
- package/dist-ai/components/popper.json +3 -3
- package/dist-ai/components/popper.md +1 -1
- package/dist-ai/components/progress.json +6 -6
- package/dist-ai/components/progress.md +2 -2
- package/dist-ai/components/radio-button.json +8 -8
- package/dist-ai/components/radio-button.md +3 -3
- package/dist-ai/components/radio-group.json +13 -13
- package/dist-ai/components/radio-group.md +5 -5
- package/dist-ai/components/radio.json +3 -3
- package/dist-ai/components/radio.md +1 -1
- package/dist-ai/components/rate.json +5 -5
- package/dist-ai/components/rate.md +2 -2
- package/dist-ai/components/result.json +3 -3
- package/dist-ai/components/result.md +1 -1
- package/dist-ai/components/row.json +3 -3
- package/dist-ai/components/row.md +1 -1
- package/dist-ai/components/scrollbar.json +5 -5
- package/dist-ai/components/scrollbar.md +2 -2
- package/dist-ai/components/segmented.json +3 -3
- package/dist-ai/components/segmented.md +1 -1
- package/dist-ai/components/select-v2.json +3 -3
- package/dist-ai/components/select-v2.md +1 -1
- package/dist-ai/components/select.json +45 -45
- package/dist-ai/components/select.md +16 -16
- package/dist-ai/components/skeleton-item.json +3 -3
- package/dist-ai/components/skeleton-item.md +1 -1
- package/dist-ai/components/skeleton.json +3 -3
- package/dist-ai/components/skeleton.md +1 -1
- package/dist-ai/components/slider.json +10 -10
- package/dist-ai/components/slider.md +4 -4
- package/dist-ai/components/space.json +6 -6
- package/dist-ai/components/space.md +2 -2
- package/dist-ai/components/statistic.json +3 -3
- package/dist-ai/components/statistic.md +1 -1
- package/dist-ai/components/step.json +3 -3
- package/dist-ai/components/step.md +1 -1
- package/dist-ai/components/steps.json +3 -3
- package/dist-ai/components/steps.md +1 -1
- package/dist-ai/components/sub-menu.json +3 -3
- package/dist-ai/components/sub-menu.md +1 -1
- package/dist-ai/components/switch.json +14 -14
- package/dist-ai/components/switch.md +6 -6
- package/dist-ai/components/tab-pane.json +3 -3
- package/dist-ai/components/tab-pane.md +1 -1
- package/dist-ai/components/table-column.json +9 -9
- package/dist-ai/components/table-column.md +4 -4
- package/dist-ai/components/table-v2.json +3 -3
- package/dist-ai/components/table-v2.md +1 -1
- package/dist-ai/components/table.json +38 -38
- package/dist-ai/components/table.md +16 -16
- package/dist-ai/components/tabs.json +8 -8
- package/dist-ai/components/tabs.md +3 -3
- package/dist-ai/components/tag.json +3 -3
- package/dist-ai/components/tag.md +1 -1
- package/dist-ai/components/text.json +3 -3
- package/dist-ai/components/text.md +1 -1
- package/dist-ai/components/time-picker.json +3 -3
- package/dist-ai/components/time-picker.md +1 -1
- package/dist-ai/components/time-select.json +3 -3
- package/dist-ai/components/time-select.md +1 -1
- package/dist-ai/components/timeline-item.json +3 -3
- package/dist-ai/components/timeline-item.md +1 -1
- package/dist-ai/components/timeline.json +3 -3
- package/dist-ai/components/timeline.md +1 -1
- package/dist-ai/components/tooltip.json +73 -73
- package/dist-ai/components/tooltip.md +30 -30
- package/dist-ai/components/tour-step.json +3 -3
- package/dist-ai/components/tour-step.md +1 -1
- package/dist-ai/components/tour.json +3 -3
- package/dist-ai/components/tour.md +1 -1
- package/dist-ai/components/transfer.json +3 -3
- package/dist-ai/components/transfer.md +1 -1
- package/dist-ai/components/tree-select.json +136 -136
- package/dist-ai/components/tree-select.md +50 -50
- package/dist-ai/components/tree-v2.json +3 -3
- package/dist-ai/components/tree-v2.md +1 -1
- package/dist-ai/components/tree.json +3 -3
- package/dist-ai/components/tree.md +1 -1
- package/dist-ai/components/upload.json +8 -8
- package/dist-ai/components/upload.md +3 -3
- package/dist-ai/components/watermark.json +3 -3
- package/dist-ai/components/watermark.md +1 -1
- package/dist-ai/directives/click-outside.json +3 -3
- package/dist-ai/directives/click-outside.md +1 -1
- package/dist-ai/directives/infinite-scroll.json +3 -3
- package/dist-ai/directives/infinite-scroll.md +2 -1
- package/dist-ai/directives/loading.json +3 -3
- package/dist-ai/directives/loading.md +2 -1
- package/dist-ai/directives/mousewheel.json +3 -3
- package/dist-ai/directives/mousewheel.md +1 -1
- package/dist-ai/directives/repeat-click.json +3 -3
- package/dist-ai/directives/repeat-click.md +1 -1
- package/dist-ai/directives/trap-focus.json +3 -3
- 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 +117 -117
- package/dist-ai/manifest.json +255 -25512
- package/dist-ai/schema/card.schema.json +696 -0
- package/dist-ai/schema/icons.schema.json +151 -0
- package/dist-ai/schema/index.schema.json +137 -0
- package/dist-ai/schema/manifest.schema.json +21 -636
- package/dist-ai/services/infinite-scroll.json +4 -4
- package/dist-ai/services/infinite-scroll.md +9 -4
- package/dist-ai/services/loading.json +3 -3
- package/dist-ai/services/loading.md +2 -1
- package/dist-ai/services/message-box.json +3 -3
- package/dist-ai/services/message-box.md +1 -1
- package/dist-ai/services/message.json +3 -3
- package/dist-ai/services/message.md +1 -1
- package/dist-ai/services/notification.json +3 -3
- package/dist-ai/services/notification.md +1 -1
- package/package.json +3 -1
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"alias": null,
|
|
55
|
-
"defaultText":
|
|
56
|
-
"description": "",
|
|
55
|
+
"defaultText": "horizontal",
|
|
56
|
+
"description": "按钮组排列方向",
|
|
57
57
|
"hasDefault": true,
|
|
58
58
|
"name": "direction",
|
|
59
59
|
"required": false,
|
|
60
|
-
"type": "
|
|
60
|
+
"type": "'horizontal' | 'vertical'"
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
63
|
"related": [
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
]
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
|
-
"generatedAt": "2026-11-
|
|
121
|
-
"libraryVersion": "0.2.
|
|
122
|
-
"schemaVersion":
|
|
120
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
121
|
+
"libraryVersion": "0.2.2",
|
|
122
|
+
"schemaVersion": 2
|
|
123
123
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
- size ('large' | 'default' | 'small'):用于控制该按钮组内按钮的大小
|
|
28
28
|
- type ('primary' | 'success' | 'warning' | 'danger' | 'info',默认 见文档):用于控制该按钮组内按钮的类型
|
|
29
|
-
- direction (
|
|
29
|
+
- direction ('horizontal' | 'vertical',默认 horizontal):按钮组排列方向
|
|
30
30
|
|
|
31
31
|
## Slots
|
|
32
32
|
|
|
@@ -62,4 +62,4 @@ import { EpButton, EpButtonGroup } from 'ep-craft'
|
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
|
|
65
|
-
ep-craft 0.2.
|
|
65
|
+
ep-craft 0.2.2
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
{
|
|
71
71
|
"alias": null,
|
|
72
72
|
"defaultText": null,
|
|
73
|
-
"description": "",
|
|
73
|
+
"description": "header 的自定义类名",
|
|
74
74
|
"hasDefault": false,
|
|
75
75
|
"name": "headerClass",
|
|
76
76
|
"required": false,
|
|
77
|
-
"type": "
|
|
77
|
+
"type": "string"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"alias": null,
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
{
|
|
89
89
|
"alias": null,
|
|
90
90
|
"defaultText": null,
|
|
91
|
-
"description": "",
|
|
91
|
+
"description": "footer 的自定义类名",
|
|
92
92
|
"hasDefault": false,
|
|
93
93
|
"name": "footerClass",
|
|
94
94
|
"required": false,
|
|
95
|
-
"type": "
|
|
95
|
+
"type": "string"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"alias": null,
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
]
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
|
-
"generatedAt": "2026-11-
|
|
166
|
-
"libraryVersion": "0.2.
|
|
167
|
-
"schemaVersion":
|
|
165
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
166
|
+
"libraryVersion": "0.2.2",
|
|
167
|
+
"schemaVersion": 2
|
|
168
168
|
}
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
- header (string,默认 见文档):卡片标题
|
|
27
27
|
- footer (string,默认 见文档):卡片页脚
|
|
28
28
|
- bodyStyle (CSSProperties,默认 见文档):body 的 CSS 样式
|
|
29
|
-
- headerClass (
|
|
29
|
+
- headerClass (string):header 的自定义类名
|
|
30
30
|
- bodyClass (string):body 的自定义类名
|
|
31
|
-
- footerClass (
|
|
31
|
+
- footerClass (string):footer 的自定义类名
|
|
32
32
|
- shadow ('always' | 'hover' | 'never',默认 always):卡片阴影显示时机
|
|
33
33
|
|
|
34
34
|
## Slots
|
|
@@ -84,4 +84,4 @@ import { EpCard } from 'ep-craft'
|
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
-
ep-craft 0.2.
|
|
87
|
+
ep-craft 0.2.2
|
|
@@ -415,21 +415,21 @@
|
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
"alias": null,
|
|
418
|
-
"defaultText": null,
|
|
419
|
-
"description": "",
|
|
418
|
+
"defaultText": "['', undefined, null]",
|
|
419
|
+
"description": "视为空值的值列表",
|
|
420
420
|
"hasDefault": false,
|
|
421
421
|
"name": "emptyValues",
|
|
422
422
|
"required": false,
|
|
423
|
-
"type": "unknown"
|
|
423
|
+
"type": "unknown[]"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
"alias": null,
|
|
427
|
-
"defaultText":
|
|
428
|
-
"description": "",
|
|
427
|
+
"defaultText": "undefined",
|
|
428
|
+
"description": "清空时写入的值,传函数时取其返回值",
|
|
429
429
|
"hasDefault": true,
|
|
430
430
|
"name": "valueOnClear",
|
|
431
431
|
"required": false,
|
|
432
|
-
"type": "
|
|
432
|
+
"type": "string | number | boolean | Function | null"
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
435
|
"related": [
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
]
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
|
-
"generatedAt": "2026-11-
|
|
529
|
-
"libraryVersion": "0.2.
|
|
530
|
-
"schemaVersion":
|
|
528
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
529
|
+
"libraryVersion": "0.2.2",
|
|
530
|
+
"schemaVersion": 2
|
|
531
531
|
}
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
- virtualScroll (boolean):是否启用虚拟滚动
|
|
61
61
|
- itemSize (number,默认 34):虚拟滚动下的节点高度
|
|
62
62
|
- height (number,默认 204):虚拟滚动下的菜单高度
|
|
63
|
-
- emptyValues (unknown)
|
|
64
|
-
- valueOnClear (
|
|
63
|
+
- emptyValues (unknown[]):视为空值的值列表
|
|
64
|
+
- valueOnClear (string | number | boolean | Function | null,默认 undefined):清空时写入的值,传函数时取其返回值
|
|
65
65
|
|
|
66
66
|
## Events
|
|
67
67
|
|
|
@@ -143,4 +143,4 @@ const options = [
|
|
|
143
143
|
|
|
144
144
|
---
|
|
145
145
|
|
|
146
|
-
ep-craft 0.2.
|
|
146
|
+
ep-craft 0.2.2
|
|
@@ -135,29 +135,29 @@
|
|
|
135
135
|
{
|
|
136
136
|
"alias": null,
|
|
137
137
|
"defaultText": null,
|
|
138
|
-
"description": "",
|
|
138
|
+
"description": "禁用部分小时",
|
|
139
139
|
"hasDefault": false,
|
|
140
140
|
"name": "disabledHours",
|
|
141
141
|
"required": false,
|
|
142
|
-
"type": "
|
|
142
|
+
"type": "(role: string, comparingDate?: Dayjs) => number[]"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"alias": null,
|
|
146
146
|
"defaultText": null,
|
|
147
|
-
"description": "",
|
|
147
|
+
"description": "禁用部分分钟",
|
|
148
148
|
"hasDefault": false,
|
|
149
149
|
"name": "disabledMinutes",
|
|
150
150
|
"required": false,
|
|
151
|
-
"type": "
|
|
151
|
+
"type": "(hour: number, role: string, comparingDate?: Dayjs) => number[]"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"alias": null,
|
|
155
155
|
"defaultText": null,
|
|
156
|
-
"description": "",
|
|
156
|
+
"description": "禁用部分秒",
|
|
157
157
|
"hasDefault": false,
|
|
158
158
|
"name": "disabledSeconds",
|
|
159
159
|
"required": false,
|
|
160
|
-
"type": "
|
|
160
|
+
"type": "(hour: number, minute: number, role: string, comparingDate?: Dayjs) => number[]"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
"alias": null,
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
]
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
|
-
"generatedAt": "2026-11-
|
|
344
|
-
"libraryVersion": "0.2.
|
|
345
|
-
"schemaVersion":
|
|
343
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
344
|
+
"libraryVersion": "0.2.2",
|
|
345
|
+
"schemaVersion": 2
|
|
346
346
|
}
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
- defaultValue (Date | [Date, Date]):可选,面板默认显示的日期
|
|
34
34
|
- defaultTime (Date | [Date, Date]):选中日期时所使用的当日内具体时刻
|
|
35
35
|
- isRange (boolean):是否为范围选择
|
|
36
|
-
- disabledHours (
|
|
37
|
-
- disabledMinutes (
|
|
38
|
-
- disabledSeconds (
|
|
36
|
+
- disabledHours ((role: string, comparingDate?: Dayjs) => number[]):禁用部分小时
|
|
37
|
+
- disabledMinutes ((hour: number, role: string, comparingDate?: Dayjs) => number[]):禁用部分分钟
|
|
38
|
+
- disabledSeconds ((hour: number, minute: number, role: string, comparingDate?: Dayjs) => number[]):禁用部分秒
|
|
39
39
|
- disabledDate ((date: Date) => boolean):判断某个日期是否被禁用的函数
|
|
40
40
|
- cellClassName ((date: Date) => string):设置单元格自定义类名
|
|
41
41
|
- shortcuts ({ text: string, value: Date | Function }[],默认 []):设置快捷选项
|
|
@@ -88,4 +88,4 @@ const date = ref('')
|
|
|
88
88
|
|
|
89
89
|
---
|
|
90
90
|
|
|
91
|
-
ep-craft 0.2.
|
|
91
|
+
ep-craft 0.2.2
|