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.
Files changed (239) hide show
  1. package/dist-ai/components/affix.json +3 -3
  2. package/dist-ai/components/affix.md +1 -1
  3. package/dist-ai/components/alert.json +3 -3
  4. package/dist-ai/components/alert.md +1 -1
  5. package/dist-ai/components/anchor-link.json +3 -3
  6. package/dist-ai/components/anchor-link.md +1 -1
  7. package/dist-ai/components/anchor.json +3 -3
  8. package/dist-ai/components/anchor.md +1 -1
  9. package/dist-ai/components/aside.json +3 -3
  10. package/dist-ai/components/aside.md +1 -1
  11. package/dist-ai/components/autocomplete.json +86 -86
  12. package/dist-ai/components/autocomplete.md +34 -34
  13. package/dist-ai/components/avatar.json +3 -3
  14. package/dist-ai/components/avatar.md +1 -1
  15. package/dist-ai/components/backtop.json +3 -3
  16. package/dist-ai/components/backtop.md +1 -1
  17. package/dist-ai/components/badge.json +3 -3
  18. package/dist-ai/components/badge.md +1 -1
  19. package/dist-ai/components/breadcrumb-item.json +3 -3
  20. package/dist-ai/components/breadcrumb-item.md +1 -1
  21. package/dist-ai/components/breadcrumb.json +3 -3
  22. package/dist-ai/components/breadcrumb.md +1 -1
  23. package/dist-ai/components/button-group.json +6 -6
  24. package/dist-ai/components/button-group.md +2 -2
  25. package/dist-ai/components/button.json +3 -3
  26. package/dist-ai/components/button.md +1 -1
  27. package/dist-ai/components/calendar.json +3 -3
  28. package/dist-ai/components/calendar.md +1 -1
  29. package/dist-ai/components/card.json +7 -7
  30. package/dist-ai/components/card.md +3 -3
  31. package/dist-ai/components/carousel-item.json +3 -3
  32. package/dist-ai/components/carousel-item.md +1 -1
  33. package/dist-ai/components/carousel.json +3 -3
  34. package/dist-ai/components/carousel.md +1 -1
  35. package/dist-ai/components/cascader-panel.json +3 -3
  36. package/dist-ai/components/cascader-panel.md +1 -1
  37. package/dist-ai/components/cascader.json +9 -9
  38. package/dist-ai/components/cascader.md +3 -3
  39. package/dist-ai/components/check-tag.json +3 -3
  40. package/dist-ai/components/check-tag.md +1 -1
  41. package/dist-ai/components/checkbox-button.json +3 -3
  42. package/dist-ai/components/checkbox-button.md +1 -1
  43. package/dist-ai/components/checkbox-group.json +3 -3
  44. package/dist-ai/components/checkbox-group.md +1 -1
  45. package/dist-ai/components/checkbox.json +3 -3
  46. package/dist-ai/components/checkbox.md +1 -1
  47. package/dist-ai/components/col.json +3 -3
  48. package/dist-ai/components/col.md +1 -1
  49. package/dist-ai/components/collapse-item.json +3 -3
  50. package/dist-ai/components/collapse-item.md +1 -1
  51. package/dist-ai/components/collapse-transition.json +3 -3
  52. package/dist-ai/components/collapse-transition.md +1 -1
  53. package/dist-ai/components/collapse.json +3 -3
  54. package/dist-ai/components/collapse.md +1 -1
  55. package/dist-ai/components/color-picker.json +3 -3
  56. package/dist-ai/components/color-picker.md +1 -1
  57. package/dist-ai/components/config-provider.json +3 -3
  58. package/dist-ai/components/config-provider.md +1 -1
  59. package/dist-ai/components/container.json +3 -3
  60. package/dist-ai/components/container.md +1 -1
  61. package/dist-ai/components/countdown.json +3 -3
  62. package/dist-ai/components/countdown.md +1 -1
  63. package/dist-ai/components/date-picker-panel.json +9 -9
  64. package/dist-ai/components/date-picker-panel.md +4 -4
  65. package/dist-ai/components/date-picker.json +65 -65
  66. package/dist-ai/components/date-picker.md +24 -24
  67. package/dist-ai/components/descriptions-item.json +3 -3
  68. package/dist-ai/components/descriptions-item.md +1 -1
  69. package/dist-ai/components/descriptions.json +3 -3
  70. package/dist-ai/components/descriptions.md +1 -1
  71. package/dist-ai/components/dialog.json +26 -26
  72. package/dist-ai/components/dialog.md +10 -10
  73. package/dist-ai/components/divider.json +3 -3
  74. package/dist-ai/components/divider.md +1 -1
  75. package/dist-ai/components/drawer.json +53 -53
  76. package/dist-ai/components/drawer.md +19 -19
  77. package/dist-ai/components/dropdown-item.json +3 -3
  78. package/dist-ai/components/dropdown-item.md +1 -1
  79. package/dist-ai/components/dropdown-menu.json +5 -5
  80. package/dist-ai/components/dropdown-menu.md +2 -2
  81. package/dist-ai/components/dropdown.json +3 -3
  82. package/dist-ai/components/dropdown.md +1 -1
  83. package/dist-ai/components/empty.json +3 -3
  84. package/dist-ai/components/empty.md +1 -1
  85. package/dist-ai/components/footer.json +3 -3
  86. package/dist-ai/components/footer.md +1 -1
  87. package/dist-ai/components/form-item.json +6 -6
  88. package/dist-ai/components/form-item.md +2 -2
  89. package/dist-ai/components/form.json +3 -3
  90. package/dist-ai/components/form.md +1 -1
  91. package/dist-ai/components/header.json +3 -3
  92. package/dist-ai/components/header.md +1 -1
  93. package/dist-ai/components/icon.json +3 -3
  94. package/dist-ai/components/icon.md +1 -1
  95. package/dist-ai/components/image-viewer.json +3 -3
  96. package/dist-ai/components/image-viewer.md +1 -1
  97. package/dist-ai/components/image.json +3 -3
  98. package/dist-ai/components/image.md +1 -1
  99. package/dist-ai/components/input-number.json +5 -5
  100. package/dist-ai/components/input-number.md +2 -2
  101. package/dist-ai/components/input.json +22 -22
  102. package/dist-ai/components/input.md +9 -9
  103. package/dist-ai/components/link.json +3 -3
  104. package/dist-ai/components/link.md +1 -1
  105. package/dist-ai/components/main.json +3 -3
  106. package/dist-ai/components/main.md +1 -1
  107. package/dist-ai/components/mention.json +86 -86
  108. package/dist-ai/components/mention.md +34 -34
  109. package/dist-ai/components/menu-item-group.json +3 -3
  110. package/dist-ai/components/menu-item-group.md +1 -1
  111. package/dist-ai/components/menu-item.json +3 -3
  112. package/dist-ai/components/menu-item.md +1 -1
  113. package/dist-ai/components/menu.json +3 -3
  114. package/dist-ai/components/menu.md +1 -1
  115. package/dist-ai/components/option-group.json +3 -3
  116. package/dist-ai/components/option-group.md +1 -1
  117. package/dist-ai/components/option.json +6 -6
  118. package/dist-ai/components/option.md +2 -2
  119. package/dist-ai/components/page-header.json +3 -3
  120. package/dist-ai/components/page-header.md +1 -1
  121. package/dist-ai/components/pagination.json +10 -10
  122. package/dist-ai/components/pagination.md +4 -4
  123. package/dist-ai/components/popconfirm.json +3 -3
  124. package/dist-ai/components/popconfirm.md +1 -1
  125. package/dist-ai/components/popover.json +20 -20
  126. package/dist-ai/components/popover.md +7 -7
  127. package/dist-ai/components/popper.json +3 -3
  128. package/dist-ai/components/popper.md +1 -1
  129. package/dist-ai/components/progress.json +6 -6
  130. package/dist-ai/components/progress.md +2 -2
  131. package/dist-ai/components/radio-button.json +8 -8
  132. package/dist-ai/components/radio-button.md +3 -3
  133. package/dist-ai/components/radio-group.json +13 -13
  134. package/dist-ai/components/radio-group.md +5 -5
  135. package/dist-ai/components/radio.json +3 -3
  136. package/dist-ai/components/radio.md +1 -1
  137. package/dist-ai/components/rate.json +5 -5
  138. package/dist-ai/components/rate.md +2 -2
  139. package/dist-ai/components/result.json +3 -3
  140. package/dist-ai/components/result.md +1 -1
  141. package/dist-ai/components/row.json +3 -3
  142. package/dist-ai/components/row.md +1 -1
  143. package/dist-ai/components/scrollbar.json +5 -5
  144. package/dist-ai/components/scrollbar.md +2 -2
  145. package/dist-ai/components/segmented.json +3 -3
  146. package/dist-ai/components/segmented.md +1 -1
  147. package/dist-ai/components/select-v2.json +3 -3
  148. package/dist-ai/components/select-v2.md +1 -1
  149. package/dist-ai/components/select.json +45 -45
  150. package/dist-ai/components/select.md +16 -16
  151. package/dist-ai/components/skeleton-item.json +3 -3
  152. package/dist-ai/components/skeleton-item.md +1 -1
  153. package/dist-ai/components/skeleton.json +3 -3
  154. package/dist-ai/components/skeleton.md +1 -1
  155. package/dist-ai/components/slider.json +10 -10
  156. package/dist-ai/components/slider.md +4 -4
  157. package/dist-ai/components/space.json +6 -6
  158. package/dist-ai/components/space.md +2 -2
  159. package/dist-ai/components/statistic.json +3 -3
  160. package/dist-ai/components/statistic.md +1 -1
  161. package/dist-ai/components/step.json +3 -3
  162. package/dist-ai/components/step.md +1 -1
  163. package/dist-ai/components/steps.json +3 -3
  164. package/dist-ai/components/steps.md +1 -1
  165. package/dist-ai/components/sub-menu.json +3 -3
  166. package/dist-ai/components/sub-menu.md +1 -1
  167. package/dist-ai/components/switch.json +14 -14
  168. package/dist-ai/components/switch.md +6 -6
  169. package/dist-ai/components/tab-pane.json +3 -3
  170. package/dist-ai/components/tab-pane.md +1 -1
  171. package/dist-ai/components/table-column.json +9 -9
  172. package/dist-ai/components/table-column.md +4 -4
  173. package/dist-ai/components/table-v2.json +3 -3
  174. package/dist-ai/components/table-v2.md +1 -1
  175. package/dist-ai/components/table.json +38 -38
  176. package/dist-ai/components/table.md +16 -16
  177. package/dist-ai/components/tabs.json +8 -8
  178. package/dist-ai/components/tabs.md +3 -3
  179. package/dist-ai/components/tag.json +3 -3
  180. package/dist-ai/components/tag.md +1 -1
  181. package/dist-ai/components/text.json +3 -3
  182. package/dist-ai/components/text.md +1 -1
  183. package/dist-ai/components/time-picker.json +3 -3
  184. package/dist-ai/components/time-picker.md +1 -1
  185. package/dist-ai/components/time-select.json +3 -3
  186. package/dist-ai/components/time-select.md +1 -1
  187. package/dist-ai/components/timeline-item.json +3 -3
  188. package/dist-ai/components/timeline-item.md +1 -1
  189. package/dist-ai/components/timeline.json +3 -3
  190. package/dist-ai/components/timeline.md +1 -1
  191. package/dist-ai/components/tooltip.json +73 -73
  192. package/dist-ai/components/tooltip.md +30 -30
  193. package/dist-ai/components/tour-step.json +3 -3
  194. package/dist-ai/components/tour-step.md +1 -1
  195. package/dist-ai/components/tour.json +3 -3
  196. package/dist-ai/components/tour.md +1 -1
  197. package/dist-ai/components/transfer.json +3 -3
  198. package/dist-ai/components/transfer.md +1 -1
  199. package/dist-ai/components/tree-select.json +136 -136
  200. package/dist-ai/components/tree-select.md +50 -50
  201. package/dist-ai/components/tree-v2.json +3 -3
  202. package/dist-ai/components/tree-v2.md +1 -1
  203. package/dist-ai/components/tree.json +3 -3
  204. package/dist-ai/components/tree.md +1 -1
  205. package/dist-ai/components/upload.json +8 -8
  206. package/dist-ai/components/upload.md +3 -3
  207. package/dist-ai/components/watermark.json +3 -3
  208. package/dist-ai/components/watermark.md +1 -1
  209. package/dist-ai/directives/click-outside.json +3 -3
  210. package/dist-ai/directives/click-outside.md +1 -1
  211. package/dist-ai/directives/infinite-scroll.json +3 -3
  212. package/dist-ai/directives/infinite-scroll.md +2 -1
  213. package/dist-ai/directives/loading.json +3 -3
  214. package/dist-ai/directives/loading.md +2 -1
  215. package/dist-ai/directives/mousewheel.json +3 -3
  216. package/dist-ai/directives/mousewheel.md +1 -1
  217. package/dist-ai/directives/repeat-click.json +3 -3
  218. package/dist-ai/directives/repeat-click.md +1 -1
  219. package/dist-ai/directives/trap-focus.json +3 -3
  220. package/dist-ai/directives/trap-focus.md +1 -1
  221. package/dist-ai/icons.json +1 -1
  222. package/dist-ai/index.json +1 -1
  223. package/dist-ai/llms.txt +117 -117
  224. package/dist-ai/manifest.json +255 -25512
  225. package/dist-ai/schema/card.schema.json +696 -0
  226. package/dist-ai/schema/icons.schema.json +151 -0
  227. package/dist-ai/schema/index.schema.json +137 -0
  228. package/dist-ai/schema/manifest.schema.json +21 -636
  229. package/dist-ai/services/infinite-scroll.json +4 -4
  230. package/dist-ai/services/infinite-scroll.md +9 -4
  231. package/dist-ai/services/loading.json +3 -3
  232. package/dist-ai/services/loading.md +2 -1
  233. package/dist-ai/services/message-box.json +3 -3
  234. package/dist-ai/services/message-box.md +1 -1
  235. package/dist-ai/services/message.json +3 -3
  236. package/dist-ai/services/message.md +1 -1
  237. package/dist-ai/services/notification.json +3 -3
  238. package/dist-ai/services/notification.md +1 -1
  239. package/package.json +3 -1
@@ -146,7 +146,7 @@
146
146
  ]
147
147
  }
148
148
  },
149
- "generatedAt": "2026-11-03T03:09:12.050Z",
150
- "libraryVersion": "0.2.0",
151
- "schemaVersion": 1
149
+ "generatedAt": "2026-11-05T07:02:41.575Z",
150
+ "libraryVersion": "0.2.2",
151
+ "schemaVersion": 2
152
152
  }
@@ -70,4 +70,4 @@ import { EpAffix, EpButton } from 'ep-craft'
70
70
 
71
71
  ---
72
72
 
73
- ep-craft 0.2.0
73
+ ep-craft 0.2.2
@@ -180,7 +180,7 @@
180
180
  ]
181
181
  }
182
182
  },
183
- "generatedAt": "2026-11-03T03:09:12.050Z",
184
- "libraryVersion": "0.2.0",
185
- "schemaVersion": 1
183
+ "generatedAt": "2026-11-05T07:02:41.575Z",
184
+ "libraryVersion": "0.2.2",
185
+ "schemaVersion": 2
186
186
  }
@@ -86,4 +86,4 @@ const visible = ref(true)
86
86
 
87
87
  ---
88
88
 
89
- ep-craft 0.2.0
89
+ ep-craft 0.2.2
@@ -96,7 +96,7 @@
96
96
  ]
97
97
  }
98
98
  },
99
- "generatedAt": "2026-11-03T03:09:12.050Z",
100
- "libraryVersion": "0.2.0",
101
- "schemaVersion": 1
99
+ "generatedAt": "2026-11-05T07:02:41.575Z",
100
+ "libraryVersion": "0.2.2",
101
+ "schemaVersion": 2
102
102
  }
@@ -64,4 +64,4 @@ import { EpAnchor, EpAnchorLink } from 'ep-craft'
64
64
 
65
65
  ---
66
66
 
67
- ep-craft 0.2.0
67
+ ep-craft 0.2.2
@@ -173,7 +173,7 @@
173
173
  ]
174
174
  }
175
175
  },
176
- "generatedAt": "2026-11-03T03:09:12.050Z",
177
- "libraryVersion": "0.2.0",
178
- "schemaVersion": 1
176
+ "generatedAt": "2026-11-05T07:02:41.575Z",
177
+ "libraryVersion": "0.2.2",
178
+ "schemaVersion": 2
179
179
  }
@@ -84,4 +84,4 @@ import { EpAnchor, EpAnchorLink } from 'ep-craft'
84
84
 
85
85
  ---
86
86
 
87
- ep-craft 0.2.0
87
+ ep-craft 0.2.2
@@ -81,7 +81,7 @@
81
81
  ]
82
82
  }
83
83
  },
84
- "generatedAt": "2026-11-03T03:09:12.050Z",
85
- "libraryVersion": "0.2.0",
86
- "schemaVersion": 1
84
+ "generatedAt": "2026-11-05T07:02:41.575Z",
85
+ "libraryVersion": "0.2.2",
86
+ "schemaVersion": 2
87
87
  }
@@ -60,4 +60,4 @@ import { EpAside, EpContainer, EpMain } from 'ep-craft'
60
60
 
61
61
  ---
62
62
 
63
- ep-craft 0.2.0
63
+ ep-craft 0.2.2
@@ -91,29 +91,29 @@
91
91
  {
92
92
  "alias": null,
93
93
  "defaultText": null,
94
- "description": "",
94
+ "description": "原生 id 属性",
95
95
  "hasDefault": true,
96
96
  "name": "id",
97
97
  "required": false,
98
- "type": "unknown"
98
+ "type": "string"
99
99
  },
100
100
  {
101
101
  "alias": null,
102
102
  "defaultText": null,
103
- "description": "",
103
+ "description": "输入框尺寸",
104
104
  "hasDefault": false,
105
105
  "name": "size",
106
106
  "required": false,
107
- "type": "unknown"
107
+ "type": "'large' | 'default' | 'small'"
108
108
  },
109
109
  {
110
110
  "alias": null,
111
- "defaultText": null,
112
- "description": "",
111
+ "defaultText": "false",
112
+ "description": "是否禁用",
113
113
  "hasDefault": true,
114
114
  "name": "disabled",
115
115
  "required": false,
116
- "type": "unknown"
116
+ "type": "boolean"
117
117
  },
118
118
  {
119
119
  "alias": "v-model",
@@ -126,273 +126,273 @@
126
126
  },
127
127
  {
128
128
  "alias": null,
129
- "defaultText": null,
130
- "description": "",
129
+ "defaultText": "{}",
130
+ "description": "v-model 修饰符对象(由 Vue 注入)",
131
131
  "hasDefault": true,
132
132
  "name": "modelModifiers",
133
133
  "required": false,
134
- "type": "unknown"
134
+ "type": "Record<string, boolean>"
135
135
  },
136
136
  {
137
137
  "alias": null,
138
138
  "defaultText": null,
139
- "description": "",
139
+ "description": "最大输入长度",
140
140
  "hasDefault": false,
141
141
  "name": "maxlength",
142
142
  "required": false,
143
- "type": "unknown"
143
+ "type": "string | number"
144
144
  },
145
145
  {
146
146
  "alias": null,
147
147
  "defaultText": null,
148
- "description": "",
148
+ "description": "最小输入长度",
149
149
  "hasDefault": false,
150
150
  "name": "minlength",
151
151
  "required": false,
152
- "type": "unknown"
152
+ "type": "string | number"
153
153
  },
154
154
  {
155
155
  "alias": null,
156
- "defaultText": null,
157
- "description": "",
156
+ "defaultText": "text",
157
+ "description": "类型",
158
158
  "hasDefault": true,
159
159
  "name": "type",
160
160
  "required": false,
161
- "type": "unknown"
161
+ "type": "'text' | 'textarea' | 其他原生 input 类型"
162
162
  },
163
163
  {
164
164
  "alias": null,
165
165
  "defaultText": null,
166
- "description": "",
166
+ "description": "控制是否能被用户缩放",
167
167
  "hasDefault": false,
168
168
  "name": "resize",
169
169
  "required": false,
170
- "type": "unknown"
170
+ "type": "'none' | 'both' | 'horizontal' | 'vertical'"
171
171
  },
172
172
  {
173
173
  "alias": null,
174
- "defaultText": null,
175
- "description": "",
174
+ "defaultText": "false",
175
+ "description": "textarea 自适应内容高度",
176
176
  "hasDefault": true,
177
177
  "name": "autosize",
178
178
  "required": false,
179
- "type": "unknown"
179
+ "type": "boolean | { minRows: number, maxRows: number }"
180
180
  },
181
181
  {
182
182
  "alias": null,
183
- "defaultText": null,
184
- "description": "",
183
+ "defaultText": "off",
184
+ "description": "原生 autocomplete 属性",
185
185
  "hasDefault": true,
186
186
  "name": "autocomplete",
187
187
  "required": false,
188
- "type": "unknown"
188
+ "type": "string"
189
189
  },
190
190
  {
191
191
  "alias": null,
192
192
  "defaultText": null,
193
- "description": "",
193
+ "description": "指定输入值的格式",
194
194
  "hasDefault": false,
195
195
  "name": "formatter",
196
196
  "required": false,
197
- "type": "unknown"
197
+ "type": "(value: string | number) => string"
198
198
  },
199
199
  {
200
200
  "alias": null,
201
201
  "defaultText": null,
202
- "description": "",
202
+ "description": "指定从格式化器输入中提取的值",
203
203
  "hasDefault": false,
204
204
  "name": "parser",
205
205
  "required": false,
206
- "type": "unknown"
206
+ "type": "(value: string) => string"
207
207
  },
208
208
  {
209
209
  "alias": null,
210
210
  "defaultText": null,
211
- "description": "",
211
+ "description": "输入框占位文本",
212
212
  "hasDefault": false,
213
213
  "name": "placeholder",
214
214
  "required": false,
215
- "type": "unknown"
215
+ "type": "string"
216
216
  },
217
217
  {
218
218
  "alias": null,
219
219
  "defaultText": null,
220
- "description": "",
220
+ "description": "原生 form 属性",
221
221
  "hasDefault": false,
222
222
  "name": "form",
223
223
  "required": false,
224
- "type": "unknown"
224
+ "type": "string"
225
225
  },
226
226
  {
227
227
  "alias": null,
228
- "defaultText": null,
229
- "description": "",
228
+ "defaultText": "false",
229
+ "description": "原生 readonly 属性",
230
230
  "hasDefault": false,
231
231
  "name": "readonly",
232
232
  "required": false,
233
- "type": "unknown"
233
+ "type": "boolean"
234
234
  },
235
235
  {
236
236
  "alias": null,
237
- "defaultText": null,
238
- "description": "",
237
+ "defaultText": "false",
238
+ "description": "是否显示清除按钮",
239
239
  "hasDefault": false,
240
240
  "name": "clearable",
241
241
  "required": false,
242
- "type": "unknown"
242
+ "type": "boolean"
243
243
  },
244
244
  {
245
245
  "alias": null,
246
- "defaultText": null,
247
- "description": "",
246
+ "defaultText": "CircleClose",
247
+ "description": "自定义清空图标",
248
248
  "hasDefault": true,
249
249
  "name": "clearIcon",
250
250
  "required": false,
251
- "type": "unknown"
251
+ "type": "string | Component"
252
252
  },
253
253
  {
254
254
  "alias": null,
255
- "defaultText": null,
256
- "description": "",
255
+ "defaultText": "false",
256
+ "description": "是否显示切换密码图标",
257
257
  "hasDefault": false,
258
258
  "name": "showPassword",
259
259
  "required": false,
260
- "type": "unknown"
260
+ "type": "boolean"
261
261
  },
262
262
  {
263
263
  "alias": null,
264
- "defaultText": null,
265
- "description": "",
264
+ "defaultText": "false",
265
+ "description": "是否显示统计字数",
266
266
  "hasDefault": false,
267
267
  "name": "showWordLimit",
268
268
  "required": false,
269
- "type": "unknown"
269
+ "type": "boolean"
270
270
  },
271
271
  {
272
272
  "alias": null,
273
- "defaultText": null,
274
- "description": "",
273
+ "defaultText": "inside",
274
+ "description": "字数统计的位置",
275
275
  "hasDefault": true,
276
276
  "name": "wordLimitPosition",
277
277
  "required": false,
278
- "type": "unknown"
278
+ "type": "'inside' | 'outside'"
279
279
  },
280
280
  {
281
281
  "alias": null,
282
282
  "defaultText": null,
283
- "description": "",
283
+ "description": "自定义后缀图标",
284
284
  "hasDefault": false,
285
285
  "name": "suffixIcon",
286
286
  "required": false,
287
- "type": "unknown"
287
+ "type": "string | Component"
288
288
  },
289
289
  {
290
290
  "alias": null,
291
291
  "defaultText": null,
292
- "description": "",
292
+ "description": "自定义前缀图标",
293
293
  "hasDefault": false,
294
294
  "name": "prefixIcon",
295
295
  "required": false,
296
- "type": "unknown"
296
+ "type": "string | Component"
297
297
  },
298
298
  {
299
299
  "alias": null,
300
300
  "defaultText": null,
301
- "description": "",
301
+ "description": "内部容器 role,供选择器类组件复用",
302
302
  "hasDefault": true,
303
303
  "name": "containerRole",
304
304
  "required": false,
305
- "type": "unknown"
305
+ "type": "string"
306
306
  },
307
307
  {
308
308
  "alias": null,
309
- "defaultText": null,
310
- "description": "",
309
+ "defaultText": "0",
310
+ "description": "输入框的 tabindex",
311
311
  "hasDefault": true,
312
312
  "name": "tabindex",
313
313
  "required": false,
314
- "type": "unknown"
314
+ "type": "string | number"
315
315
  },
316
316
  {
317
317
  "alias": null,
318
- "defaultText": null,
319
- "description": "",
318
+ "defaultText": "true",
319
+ "description": "输入时是否触发表单的校验",
320
320
  "hasDefault": true,
321
321
  "name": "validateEvent",
322
322
  "required": false,
323
- "type": "unknown"
323
+ "type": "boolean"
324
324
  },
325
325
  {
326
326
  "alias": null,
327
- "defaultText": null,
328
- "description": "",
327
+ "defaultText": "{}",
328
+ "description": "input 元素或 textarea 元素的 style",
329
329
  "hasDefault": true,
330
330
  "name": "inputStyle",
331
331
  "required": false,
332
- "type": "unknown"
332
+ "type": "string | object"
333
333
  },
334
334
  {
335
335
  "alias": null,
336
336
  "defaultText": null,
337
- "description": "",
337
+ "description": "自定义字数统计函数(按字形计数)",
338
338
  "hasDefault": false,
339
339
  "name": "countGraphemes",
340
340
  "required": false,
341
- "type": "unknown"
341
+ "type": "(value: string) => number"
342
342
  },
343
343
  {
344
344
  "alias": null,
345
- "defaultText": null,
346
- "description": "",
345
+ "defaultText": "false",
346
+ "description": "原生 autofocus 属性",
347
347
  "hasDefault": false,
348
348
  "name": "autofocus",
349
349
  "required": false,
350
- "type": "unknown"
350
+ "type": "boolean"
351
351
  },
352
352
  {
353
353
  "alias": null,
354
- "defaultText": null,
355
- "description": "",
354
+ "defaultText": "2",
355
+ "description": "textarea 的行数",
356
356
  "hasDefault": true,
357
357
  "name": "rows",
358
358
  "required": false,
359
- "type": "unknown"
359
+ "type": "number"
360
360
  },
361
361
  {
362
362
  "alias": null,
363
363
  "defaultText": null,
364
- "description": "",
364
+ "description": "原生 aria-label 属性",
365
365
  "hasDefault": false,
366
366
  "name": "ariaLabel",
367
367
  "required": false,
368
- "type": "unknown"
368
+ "type": "string"
369
369
  },
370
370
  {
371
371
  "alias": null,
372
372
  "defaultText": null,
373
- "description": "",
373
+ "description": "原生 inputmode 属性,用于虚拟键盘",
374
374
  "hasDefault": true,
375
375
  "name": "inputmode",
376
376
  "required": false,
377
- "type": "unknown"
377
+ "type": "'search' | 'none' | 'text' | 'email' | 'tel' | 'url' | 'numeric' | 'decimal'"
378
378
  },
379
379
  {
380
380
  "alias": null,
381
381
  "defaultText": null,
382
- "description": "",
382
+ "description": "原生 name 属性",
383
383
  "hasDefault": false,
384
384
  "name": "name",
385
385
  "required": false,
386
- "type": "unknown"
386
+ "type": "string"
387
387
  },
388
388
  {
389
389
  "alias": null,
390
- "defaultText": null,
391
- "description": "",
390
+ "defaultText": "false",
391
+ "description": "是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮",
392
392
  "hasDefault": true,
393
393
  "name": "floatLabel",
394
394
  "required": false,
395
- "type": "unknown"
395
+ "type": "boolean"
396
396
  },
397
397
  {
398
398
  "alias": null,
@@ -607,7 +607,7 @@
607
607
  ]
608
608
  }
609
609
  },
610
- "generatedAt": "2026-11-03T03:09:12.050Z",
611
- "libraryVersion": "0.2.0",
612
- "schemaVersion": 1
610
+ "generatedAt": "2026-11-05T07:02:41.575Z",
611
+ "libraryVersion": "0.2.2",
612
+ "schemaVersion": 2
613
613
  }
@@ -19,40 +19,40 @@
19
19
 
20
20
  ## Props
21
21
 
22
- - id (unknown,默认 见文档)
23
- - size (unknown)
24
- - disabled (unknown,默认 见文档)
22
+ - id (string,默认 见文档):原生 id 属性
23
+ - size ('large' | 'default' | 'small'):输入框尺寸
24
+ - disabled (boolean,默认 false):是否禁用
25
25
  - modelValue(别名 v-model) (string | number,默认 ''):绑定值
26
- - modelModifiers (unknown,默认 见文档)
27
- - maxlength (unknown)
28
- - minlength (unknown)
29
- - type (unknown,默认 见文档)
30
- - resize (unknown)
31
- - autosize (unknown,默认 见文档)
32
- - autocomplete (unknown,默认 见文档)
33
- - formatter (unknown)
34
- - parser (unknown)
35
- - placeholder (unknown)
36
- - form (unknown)
37
- - readonly (unknown)
38
- - clearable (unknown)
39
- - clearIcon (unknown,默认 见文档)
40
- - showPassword (unknown)
41
- - showWordLimit (unknown)
42
- - wordLimitPosition (unknown,默认 见文档)
43
- - suffixIcon (unknown)
44
- - prefixIcon (unknown)
45
- - containerRole (unknown,默认 见文档)
46
- - tabindex (unknown,默认 见文档)
47
- - validateEvent (unknown,默认 见文档)
48
- - inputStyle (unknown,默认 见文档)
49
- - countGraphemes (unknown)
50
- - autofocus (unknown)
51
- - rows (unknown,默认 见文档)
52
- - ariaLabel (unknown)
53
- - inputmode (unknown,默认 见文档)
54
- - name (unknown)
55
- - floatLabel (unknown,默认 见文档)
26
+ - modelModifiers (Record<string, boolean>,默认 {}):v-model 修饰符对象(由 Vue 注入)
27
+ - maxlength (string | number):最大输入长度
28
+ - minlength (string | number):最小输入长度
29
+ - type ('text' | 'textarea' | 其他原生 input 类型,默认 text):类型
30
+ - resize ('none' | 'both' | 'horizontal' | 'vertical'):控制是否能被用户缩放
31
+ - autosize (boolean | { minRows: number, maxRows: number },默认 false):textarea 自适应内容高度
32
+ - autocomplete (string,默认 off):原生 autocomplete 属性
33
+ - formatter ((value: string | number) => string):指定输入值的格式
34
+ - parser ((value: string) => string):指定从格式化器输入中提取的值
35
+ - placeholder (string):输入框占位文本
36
+ - form (string):原生 form 属性
37
+ - readonly (boolean):原生 readonly 属性
38
+ - clearable (boolean):是否显示清除按钮
39
+ - clearIcon (string | Component,默认 CircleClose):自定义清空图标
40
+ - showPassword (boolean):是否显示切换密码图标
41
+ - showWordLimit (boolean):是否显示统计字数
42
+ - wordLimitPosition ('inside' | 'outside',默认 inside):字数统计的位置
43
+ - suffixIcon (string | Component):自定义后缀图标
44
+ - prefixIcon (string | Component):自定义前缀图标
45
+ - containerRole (string,默认 见文档):内部容器 role,供选择器类组件复用
46
+ - tabindex (string | number,默认 0):输入框的 tabindex
47
+ - validateEvent (boolean,默认 true):输入时是否触发表单的校验
48
+ - inputStyle (string | object,默认 {}):input 元素或 textarea 元素的 style
49
+ - countGraphemes ((value: string) => number):自定义字数统计函数(按字形计数)
50
+ - autofocus (boolean):原生 autofocus 属性
51
+ - rows (number,默认 2):textarea 的行数
52
+ - ariaLabel (string):原生 aria-label 属性
53
+ - inputmode ('search' | 'none' | 'text' | 'email' | 'tel' | 'url' | 'numeric' | 'decimal',默认 见文档):原生 inputmode 属性,用于虚拟键盘
54
+ - name (string):原生 name 属性
55
+ - floatLabel (boolean,默认 false):是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮
56
56
  - valueKey (string,默认 value):建议项中用于展示的键名
57
57
  - debounce (number,默认 300):输入防抖延迟,单位 ms
58
58
  - placement ('top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end',默认 bottom-start):弹出菜单位置
@@ -137,4 +137,4 @@ const fetchSuggestions = (query: string) =>
137
137
 
138
138
  ---
139
139
 
140
- ep-craft 0.2.0
140
+ ep-craft 0.2.2
@@ -157,7 +157,7 @@
157
157
  ]
158
158
  }
159
159
  },
160
- "generatedAt": "2026-11-03T03:09:12.050Z",
161
- "libraryVersion": "0.2.0",
162
- "schemaVersion": 1
160
+ "generatedAt": "2026-11-05T07:02:41.575Z",
161
+ "libraryVersion": "0.2.2",
162
+ "schemaVersion": 2
163
163
  }
@@ -80,4 +80,4 @@ import { EpAvatar } from 'ep-craft'
80
80
 
81
81
  ---
82
82
 
83
- ep-craft 0.2.0
83
+ ep-craft 0.2.2
@@ -112,7 +112,7 @@
112
112
  ]
113
113
  }
114
114
  },
115
- "generatedAt": "2026-11-03T03:09:12.050Z",
116
- "libraryVersion": "0.2.0",
117
- "schemaVersion": 1
115
+ "generatedAt": "2026-11-05T07:02:41.575Z",
116
+ "libraryVersion": "0.2.2",
117
+ "schemaVersion": 2
118
118
  }
@@ -63,4 +63,4 @@ import { EpBacktop } from 'ep-craft'
63
63
 
64
64
  ---
65
65
 
66
- ep-craft 0.2.0
66
+ ep-craft 0.2.2
@@ -180,7 +180,7 @@
180
180
  ]
181
181
  }
182
182
  },
183
- "generatedAt": "2026-11-03T03:09:12.050Z",
184
- "libraryVersion": "0.2.0",
185
- "schemaVersion": 1
183
+ "generatedAt": "2026-11-05T07:02:41.575Z",
184
+ "libraryVersion": "0.2.2",
185
+ "schemaVersion": 2
186
186
  }
@@ -82,4 +82,4 @@ import { EpBadge, EpButton } from 'ep-craft'
82
82
 
83
83
  ---
84
84
 
85
- ep-craft 0.2.0
85
+ ep-craft 0.2.2
@@ -91,7 +91,7 @@
91
91
  ]
92
92
  }
93
93
  },
94
- "generatedAt": "2026-11-03T03:09:12.050Z",
95
- "libraryVersion": "0.2.0",
96
- "schemaVersion": 1
94
+ "generatedAt": "2026-11-05T07:02:41.575Z",
95
+ "libraryVersion": "0.2.2",
96
+ "schemaVersion": 2
97
97
  }
@@ -62,4 +62,4 @@ import { EpBreadcrumb, EpBreadcrumbItem } from 'ep-craft'
62
62
 
63
63
  ---
64
64
 
65
- ep-craft 0.2.0
65
+ ep-craft 0.2.2