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,729 @@
1
+ {
2
+ "entry": {
3
+ "category": "form",
4
+ "events": [
5
+ {
6
+ "description": "绑定值变化时触发",
7
+ "name": "update:modelValue",
8
+ "params": "(value: any)"
9
+ },
10
+ {
11
+ "description": "选中值发生变化时触发",
12
+ "name": "change",
13
+ "params": "(value: any)"
14
+ },
15
+ {
16
+ "description": "下拉列表滚动到边界时触发(用于远程加载更多)",
17
+ "name": "endReached",
18
+ "params": "(direction: 'top' | 'bottom' | 'left' | 'right')"
19
+ },
20
+ {
21
+ "description": "多选模式下移除 tag 时触发",
22
+ "name": "removeTag",
23
+ "params": "(tagValue: any)"
24
+ },
25
+ {
26
+ "description": "下拉框出现/隐藏时触发",
27
+ "name": "visibleChange",
28
+ "params": "(visible: boolean)"
29
+ },
30
+ {
31
+ "description": "当 input 获得焦点时触发",
32
+ "name": "focus",
33
+ "params": "(event: FocusEvent)"
34
+ },
35
+ {
36
+ "description": "当 input 失去焦点时触发",
37
+ "name": "blur",
38
+ "params": "(event: FocusEvent)"
39
+ },
40
+ {
41
+ "description": "可清空的单选模式下用户点击清空按钮时触发",
42
+ "name": "clear",
43
+ "params": "()"
44
+ }
45
+ ],
46
+ "exampleOmittedReason": null,
47
+ "examples": [
48
+ {
49
+ "code": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { EpSelectV2 } from 'ep-craft'\n\nconst value = ref('')\nconst options = [\n { label: '选项一', value: 'one' },\n { label: '选项二', value: 'two' },\n]\n</script>\n\n<template>\n <ep-select-v2 v-model=\"value\" :options=\"options\" placeholder=\"请选择\" />\n</template>",
50
+ "id": "select-v2-1",
51
+ "language": "vue",
52
+ "title": "基础选择"
53
+ },
54
+ {
55
+ "code": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { EpSelectV2 } from 'ep-craft'\n\nconst value = ref('')\nconst options = Array.from({ length: 100 }, (_, index) => ({\n label: `选项 ${index + 1}`,\n value: index + 1,\n}))\n</script>\n\n<template>\n <ep-select-v2 v-model=\"value\" :options=\"options\" filterable placeholder=\"搜索选项\" />\n</template>",
56
+ "id": "select-v2-2",
57
+ "language": "vue",
58
+ "title": "可搜索"
59
+ },
60
+ {
61
+ "code": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { EpSelectV2 } from 'ep-craft'\n\nconst value = ref([])\nconst options = [\n { label: '选项一', value: 'one' },\n { label: '选项二', value: 'two' },\n { label: '选项三', value: 'three' },\n]\n</script>\n\n<template>\n <ep-select-v2 v-model=\"value\" :options=\"options\" multiple collapse-tags />\n</template>",
62
+ "id": "select-v2-3",
63
+ "language": "vue",
64
+ "title": "多选"
65
+ }
66
+ ],
67
+ "exposes": [
68
+ {
69
+ "description": "使选择器的输入框获取焦点",
70
+ "name": "focus",
71
+ "type": "() => void"
72
+ },
73
+ {
74
+ "description": "使选择器的输入框失去焦点,并隐藏下拉框",
75
+ "name": "blur",
76
+ "type": "() => void"
77
+ }
78
+ ],
79
+ "hot": true,
80
+ "id": "component:select-v2",
81
+ "keywords": {
82
+ "en": [
83
+ "select-v2",
84
+ "select",
85
+ "v2",
86
+ "virtual-select",
87
+ "dropdown",
88
+ "form"
89
+ ],
90
+ "zh": [
91
+ "虚拟化选择器",
92
+ "下拉",
93
+ "海量选项",
94
+ "表单"
95
+ ]
96
+ },
97
+ "kind": "component",
98
+ "name": "EpSelectV2",
99
+ "nonUseCases": [
100
+ "选项较少时使用 Select 更轻量"
101
+ ],
102
+ "props": [
103
+ {
104
+ "alias": null,
105
+ "defaultText": "false",
106
+ "description": "是否允许用户创建新条目(须配合 filterable)",
107
+ "hasDefault": false,
108
+ "name": "allowCreate",
109
+ "required": false,
110
+ "type": "boolean"
111
+ },
112
+ {
113
+ "alias": null,
114
+ "defaultText": "none",
115
+ "description": "原生 autocomplete 属性",
116
+ "hasDefault": true,
117
+ "name": "autocomplete",
118
+ "required": false,
119
+ "type": "'none' | 'both' | 'list' | 'inline'"
120
+ },
121
+ {
122
+ "alias": null,
123
+ "defaultText": "false",
124
+ "description": "对于不可搜索的选择器,获取焦点后是否自动弹出下拉面板",
125
+ "hasDefault": false,
126
+ "name": "automaticDropdown",
127
+ "required": false,
128
+ "type": "boolean"
129
+ },
130
+ {
131
+ "alias": null,
132
+ "defaultText": "false",
133
+ "description": "是否可以清空选项",
134
+ "hasDefault": false,
135
+ "name": "clearable",
136
+ "required": false,
137
+ "type": "boolean"
138
+ },
139
+ {
140
+ "alias": null,
141
+ "defaultText": "CircleClose",
142
+ "description": "自定义清空图标",
143
+ "hasDefault": true,
144
+ "name": "clearIcon",
145
+ "required": false,
146
+ "type": "string | Component"
147
+ },
148
+ {
149
+ "alias": null,
150
+ "defaultText": "light",
151
+ "description": "tooltip 主题",
152
+ "hasDefault": true,
153
+ "name": "effect",
154
+ "required": false,
155
+ "type": "'dark' | 'light'"
156
+ },
157
+ {
158
+ "alias": null,
159
+ "defaultText": "false",
160
+ "description": "多选时是否将选中值折叠为计数标签",
161
+ "hasDefault": false,
162
+ "name": "collapseTags",
163
+ "required": false,
164
+ "type": "boolean"
165
+ },
166
+ {
167
+ "alias": null,
168
+ "defaultText": "false",
169
+ "description": "多选折叠时是否在悬停计数标签时展示全部选中值",
170
+ "hasDefault": false,
171
+ "name": "collapseTagsTooltip",
172
+ "required": false,
173
+ "type": "boolean"
174
+ },
175
+ {
176
+ "alias": null,
177
+ "defaultText": "{}",
178
+ "description": "折叠标签 tooltip 的配置对象",
179
+ "hasDefault": true,
180
+ "name": "tagTooltip",
181
+ "required": false,
182
+ "type": "TagTooltipProps"
183
+ },
184
+ {
185
+ "alias": null,
186
+ "defaultText": "1",
187
+ "description": "多选折叠时最多显示的标签数量(须配合 collapse-tags)",
188
+ "hasDefault": true,
189
+ "name": "maxCollapseTags",
190
+ "required": false,
191
+ "type": "number"
192
+ },
193
+ {
194
+ "alias": null,
195
+ "defaultText": "false",
196
+ "description": "按下回车是否选择第一个匹配项",
197
+ "hasDefault": false,
198
+ "name": "defaultFirstOption",
199
+ "required": false,
200
+ "type": "boolean"
201
+ },
202
+ {
203
+ "alias": null,
204
+ "defaultText": "false",
205
+ "description": "是否禁用",
206
+ "hasDefault": true,
207
+ "name": "disabled",
208
+ "required": false,
209
+ "type": "boolean"
210
+ },
211
+ {
212
+ "alias": null,
213
+ "defaultText": null,
214
+ "description": "可变高度选项的估算项高",
215
+ "hasDefault": true,
216
+ "name": "estimatedOptionHeight",
217
+ "required": false,
218
+ "type": "number"
219
+ },
220
+ {
221
+ "alias": null,
222
+ "defaultText": "false",
223
+ "description": "是否可搜索",
224
+ "hasDefault": false,
225
+ "name": "filterable",
226
+ "required": false,
227
+ "type": "boolean"
228
+ },
229
+ {
230
+ "alias": null,
231
+ "defaultText": null,
232
+ "description": "自定义筛选方法(须配合 filterable)",
233
+ "hasDefault": false,
234
+ "name": "filterMethod",
235
+ "required": false,
236
+ "type": "(query: string) => void"
237
+ },
238
+ {
239
+ "alias": null,
240
+ "defaultText": "274",
241
+ "description": "下拉面板高度(按每项约 34px 计算)",
242
+ "hasDefault": true,
243
+ "name": "height",
244
+ "required": false,
245
+ "type": "number"
246
+ },
247
+ {
248
+ "alias": null,
249
+ "defaultText": "34",
250
+ "description": "选项列表单项高度",
251
+ "hasDefault": true,
252
+ "name": "itemHeight",
253
+ "required": false,
254
+ "type": "number"
255
+ },
256
+ {
257
+ "alias": null,
258
+ "defaultText": null,
259
+ "description": "原生 id 属性",
260
+ "hasDefault": false,
261
+ "name": "id",
262
+ "required": false,
263
+ "type": "string"
264
+ },
265
+ {
266
+ "alias": null,
267
+ "defaultText": "false",
268
+ "description": "是否正在从远程获取数据",
269
+ "hasDefault": false,
270
+ "name": "loading",
271
+ "required": false,
272
+ "type": "boolean"
273
+ },
274
+ {
275
+ "alias": null,
276
+ "defaultText": "加载中",
277
+ "description": "远程加载时显示的文字",
278
+ "hasDefault": false,
279
+ "name": "loadingText",
280
+ "required": false,
281
+ "type": "string"
282
+ },
283
+ {
284
+ "alias": "v-model",
285
+ "defaultText": null,
286
+ "description": "绑定值",
287
+ "hasDefault": true,
288
+ "name": "modelValue",
289
+ "required": false,
290
+ "type": "string | number | boolean | object | any[]"
291
+ },
292
+ {
293
+ "alias": null,
294
+ "defaultText": "false",
295
+ "description": "是否多选",
296
+ "hasDefault": false,
297
+ "name": "multiple",
298
+ "required": false,
299
+ "type": "boolean"
300
+ },
301
+ {
302
+ "alias": null,
303
+ "defaultText": "0",
304
+ "description": "多选时可被选择的最大数目(0 为不限制)",
305
+ "hasDefault": true,
306
+ "name": "multipleLimit",
307
+ "required": false,
308
+ "type": "number"
309
+ },
310
+ {
311
+ "alias": null,
312
+ "defaultText": null,
313
+ "description": "原生 name 属性",
314
+ "hasDefault": false,
315
+ "name": "name",
316
+ "required": false,
317
+ "type": "string"
318
+ },
319
+ {
320
+ "alias": null,
321
+ "defaultText": "无数据",
322
+ "description": "无选项时显示的文字(也可用 empty 插槽)",
323
+ "hasDefault": false,
324
+ "name": "noDataText",
325
+ "required": false,
326
+ "type": "string"
327
+ },
328
+ {
329
+ "alias": null,
330
+ "defaultText": "无匹配数据",
331
+ "description": "筛选无匹配时显示的文字(也可用 empty 插槽)",
332
+ "hasDefault": false,
333
+ "name": "noMatchText",
334
+ "required": false,
335
+ "type": "string"
336
+ },
337
+ {
338
+ "alias": null,
339
+ "defaultText": null,
340
+ "description": "远程搜索方法",
341
+ "hasDefault": false,
342
+ "name": "remoteMethod",
343
+ "required": false,
344
+ "type": "(query: string) => void"
345
+ },
346
+ {
347
+ "alias": null,
348
+ "defaultText": "true",
349
+ "description": "多选且可搜索时选中后是否保留关键字",
350
+ "hasDefault": true,
351
+ "name": "reserveKeyword",
352
+ "required": false,
353
+ "type": "boolean"
354
+ },
355
+ {
356
+ "alias": null,
357
+ "defaultText": null,
358
+ "description": "选项数据数组,字段名(value / label / disabled / options)可通过 props 自定义",
359
+ "hasDefault": false,
360
+ "name": "options",
361
+ "required": true,
362
+ "type": "Array"
363
+ },
364
+ {
365
+ "alias": null,
366
+ "defaultText": "请选择",
367
+ "description": "占位符",
368
+ "hasDefault": false,
369
+ "name": "placeholder",
370
+ "required": false,
371
+ "type": "string"
372
+ },
373
+ {
374
+ "alias": null,
375
+ "defaultText": "true",
376
+ "description": "是否将下拉列表插入至 body 元素",
377
+ "hasDefault": true,
378
+ "name": "teleported",
379
+ "required": false,
380
+ "type": "boolean"
381
+ },
382
+ {
383
+ "alias": null,
384
+ "defaultText": "true",
385
+ "description": "下拉菜单关闭后是否销毁",
386
+ "hasDefault": true,
387
+ "name": "persistent",
388
+ "required": false,
389
+ "type": "boolean"
390
+ },
391
+ {
392
+ "alias": null,
393
+ "defaultText": null,
394
+ "description": "下拉框的类名",
395
+ "hasDefault": false,
396
+ "name": "popperClass",
397
+ "required": false,
398
+ "type": "string"
399
+ },
400
+ {
401
+ "alias": null,
402
+ "defaultText": null,
403
+ "description": "下拉框的自定义样式",
404
+ "hasDefault": true,
405
+ "name": "popperStyle",
406
+ "required": false,
407
+ "type": "string | object"
408
+ },
409
+ {
410
+ "alias": null,
411
+ "defaultText": "{}",
412
+ "description": "popper.js 参数",
413
+ "hasDefault": true,
414
+ "name": "popperOptions",
415
+ "required": false,
416
+ "type": "object"
417
+ },
418
+ {
419
+ "alias": null,
420
+ "defaultText": "false",
421
+ "description": "是否为远程搜索",
422
+ "hasDefault": false,
423
+ "name": "remote",
424
+ "required": false,
425
+ "type": "boolean"
426
+ },
427
+ {
428
+ "alias": null,
429
+ "defaultText": "300",
430
+ "description": "远程搜索去抖延迟(毫秒)",
431
+ "hasDefault": true,
432
+ "name": "debounce",
433
+ "required": false,
434
+ "type": "number"
435
+ },
436
+ {
437
+ "alias": null,
438
+ "defaultText": "default",
439
+ "description": "输入框尺寸",
440
+ "hasDefault": false,
441
+ "name": "size",
442
+ "required": false,
443
+ "type": "'large' | 'default' | 'small'"
444
+ },
445
+ {
446
+ "alias": null,
447
+ "defaultText": "{ value: 'value', label: 'label', disabled: 'disabled', options: 'options' }",
448
+ "description": "配置选项字段映射(value / label / disabled / options 的键名)",
449
+ "hasDefault": true,
450
+ "name": "props",
451
+ "required": false,
452
+ "type": "object & { value: string; label: string; disabled: string; options: string }"
453
+ },
454
+ {
455
+ "alias": null,
456
+ "defaultText": "value",
457
+ "description": "作为 value 唯一标识的键名",
458
+ "hasDefault": true,
459
+ "name": "valueKey",
460
+ "required": false,
461
+ "type": "string"
462
+ },
463
+ {
464
+ "alias": null,
465
+ "defaultText": "false",
466
+ "description": "是否始终显示下拉滚动条",
467
+ "hasDefault": false,
468
+ "name": "scrollbarAlwaysOn",
469
+ "required": false,
470
+ "type": "boolean"
471
+ },
472
+ {
473
+ "alias": null,
474
+ "defaultText": "true",
475
+ "description": "是否触发表单验证",
476
+ "hasDefault": true,
477
+ "name": "validateEvent",
478
+ "required": false,
479
+ "type": "boolean"
480
+ },
481
+ {
482
+ "alias": null,
483
+ "defaultText": "12",
484
+ "description": "下拉框出现的偏移量",
485
+ "hasDefault": true,
486
+ "name": "offset",
487
+ "required": false,
488
+ "type": "number"
489
+ },
490
+ {
491
+ "alias": null,
492
+ "defaultText": "false",
493
+ "description": "远程搜索时是否显示后缀图标",
494
+ "hasDefault": false,
495
+ "name": "remoteShowSuffix",
496
+ "required": false,
497
+ "type": "boolean"
498
+ },
499
+ {
500
+ "alias": null,
501
+ "defaultText": "true",
502
+ "description": "是否显示下拉箭头",
503
+ "hasDefault": true,
504
+ "name": "showArrow",
505
+ "required": false,
506
+ "type": "boolean"
507
+ },
508
+ {
509
+ "alias": null,
510
+ "defaultText": "bottom-start",
511
+ "description": "下拉框出现的位置",
512
+ "hasDefault": true,
513
+ "name": "placement",
514
+ "required": false,
515
+ "type": "Placement"
516
+ },
517
+ {
518
+ "alias": null,
519
+ "defaultText": "['bottom-start', 'top-start', 'right', 'left']",
520
+ "description": "下拉框可能出现的备用位置列表",
521
+ "hasDefault": true,
522
+ "name": "fallbackPlacements",
523
+ "required": false,
524
+ "type": "Placement[]"
525
+ },
526
+ {
527
+ "alias": null,
528
+ "defaultText": "info",
529
+ "description": "标签类型",
530
+ "hasDefault": true,
531
+ "name": "tagType",
532
+ "required": false,
533
+ "type": "'success' | 'info' | 'warning' | 'danger'"
534
+ },
535
+ {
536
+ "alias": null,
537
+ "defaultText": "light",
538
+ "description": "标签主题",
539
+ "hasDefault": true,
540
+ "name": "tagEffect",
541
+ "required": false,
542
+ "type": "'dark' | 'light' | 'plain'"
543
+ },
544
+ {
545
+ "alias": null,
546
+ "defaultText": "0",
547
+ "description": "输入框的 tabindex",
548
+ "hasDefault": true,
549
+ "name": "tabindex",
550
+ "required": false,
551
+ "type": "string | number"
552
+ },
553
+ {
554
+ "alias": null,
555
+ "defaultText": "body",
556
+ "description": "下拉列表挂载到哪个元素",
557
+ "hasDefault": false,
558
+ "name": "appendTo",
559
+ "required": false,
560
+ "type": "string | HTMLElement"
561
+ },
562
+ {
563
+ "alias": null,
564
+ "defaultText": "true",
565
+ "description": "下拉框宽度是否与输入框一致",
566
+ "hasDefault": true,
567
+ "name": "fitInputWidth",
568
+ "required": false,
569
+ "type": "boolean | number"
570
+ },
571
+ {
572
+ "alias": null,
573
+ "defaultText": "ArrowDown",
574
+ "description": "自定义后缀图标",
575
+ "hasDefault": true,
576
+ "name": "suffixIcon",
577
+ "required": false,
578
+ "type": "string | Component"
579
+ },
580
+ {
581
+ "alias": null,
582
+ "defaultText": "false",
583
+ "description": "是否启用浮动标签(Material 风格),聚焦、展开虚拟化下拉或有值时占位文本上浮;多选折叠为计数标签时仍保持上浮",
584
+ "hasDefault": true,
585
+ "name": "floatLabel",
586
+ "required": false,
587
+ "type": "boolean"
588
+ },
589
+ {
590
+ "alias": null,
591
+ "defaultText": "['', undefined, null]",
592
+ "description": "视为空值的值列表",
593
+ "hasDefault": false,
594
+ "name": "emptyValues",
595
+ "required": false,
596
+ "type": "any[]"
597
+ },
598
+ {
599
+ "alias": null,
600
+ "defaultText": "undefined",
601
+ "description": "清空时写入的值",
602
+ "hasDefault": true,
603
+ "name": "valueOnClear",
604
+ "required": false,
605
+ "type": "string | number | boolean | (() => string | number | boolean)"
606
+ },
607
+ {
608
+ "alias": null,
609
+ "defaultText": null,
610
+ "description": "原生 aria-label 属性",
611
+ "hasDefault": false,
612
+ "name": "ariaLabel",
613
+ "required": false,
614
+ "type": "string"
615
+ },
616
+ {
617
+ "alias": null,
618
+ "defaultText": null,
619
+ "description": "原生 aria-labelledby 属性;显式传入时优先于浮动标签自动关联的文本",
620
+ "hasDefault": false,
621
+ "name": "ariaLabelledby",
622
+ "required": false,
623
+ "type": "string"
624
+ }
625
+ ],
626
+ "related": [
627
+ "EpOption",
628
+ "EpOptionGroup"
629
+ ],
630
+ "relations": {
631
+ "children": [
632
+ "EpOption",
633
+ "EpOptionGroup"
634
+ ],
635
+ "combos": [
636
+ "EpSelectV2 + EpOption",
637
+ "EpSelectV2 + EpOptionGroup"
638
+ ],
639
+ "parents": [],
640
+ "requiredChildren": []
641
+ },
642
+ "slots": [
643
+ {
644
+ "description": "下拉列表内容(选项列表,作用域含 item / index 等)",
645
+ "name": "default"
646
+ },
647
+ {
648
+ "description": "Select 组件头部内容",
649
+ "name": "prefix"
650
+ },
651
+ {
652
+ "description": "无选项时的列表",
653
+ "name": "empty"
654
+ },
655
+ {
656
+ "description": "自定义选中项标签",
657
+ "name": "label"
658
+ },
659
+ {
660
+ "description": "多选模式下自定义 tag 内容",
661
+ "name": "tag"
662
+ },
663
+ {
664
+ "description": "下拉列表顶部的内容",
665
+ "name": "header"
666
+ },
667
+ {
668
+ "description": "下拉列表底部的内容",
669
+ "name": "footer"
670
+ },
671
+ {
672
+ "description": "自定义加载中内容",
673
+ "name": "loading"
674
+ }
675
+ ],
676
+ "slug": "select-v2",
677
+ "summary": "虚拟化选择器,适合海量选项渲染",
678
+ "tag": "ep-select-v2",
679
+ "useCases": [
680
+ "数千条以上选项的下拉选择",
681
+ "需要保持流畅滚动的筛选器"
682
+ ],
683
+ "variants": [
684
+ {
685
+ "dimension": "size",
686
+ "values": [
687
+ "large",
688
+ "default",
689
+ "small"
690
+ ],
691
+ "when": "按容器空间与信息密度选择尺寸"
692
+ },
693
+ {
694
+ "dimension": "state",
695
+ "values": [
696
+ "disabled",
697
+ "loading"
698
+ ],
699
+ "when": "通过布尔属性切换禁用、加载或选中状态"
700
+ },
701
+ {
702
+ "dimension": "effect",
703
+ "values": [
704
+ "dark",
705
+ "light"
706
+ ],
707
+ "when": "通过视觉修饰属性调整外观效果"
708
+ }
709
+ ],
710
+ "visual": {
711
+ "cssVars": [
712
+ "--el-border-color",
713
+ "--el-border-radius-base",
714
+ "--el-color-primary",
715
+ "--el-font-size-base"
716
+ ],
717
+ "density": "中等",
718
+ "shape": "矩形输入框",
719
+ "slotContent": [
720
+ "default:下拉列表内容(选项列表,作用域含 item / index 等)",
721
+ "prefix:Select 组件头部内容",
722
+ "empty:无选项时的列表"
723
+ ]
724
+ }
725
+ },
726
+ "generatedAt": "2026-11-03T03:09:12.050Z",
727
+ "libraryVersion": "0.2.0",
728
+ "schemaVersion": 1
729
+ }