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
|
@@ -226,11 +226,11 @@
|
|
|
226
226
|
{
|
|
227
227
|
"alias": null,
|
|
228
228
|
"defaultText": null,
|
|
229
|
-
"description": "",
|
|
229
|
+
"description": "原生 aria-label 属性",
|
|
230
230
|
"hasDefault": false,
|
|
231
231
|
"name": "ariaLabel",
|
|
232
232
|
"required": false,
|
|
233
|
-
"type": "
|
|
233
|
+
"type": "string"
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
236
|
"related": [
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"slotContent": []
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
|
-
"generatedAt": "2026-11-
|
|
284
|
-
"libraryVersion": "0.2.
|
|
283
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
284
|
+
"libraryVersion": "0.2.1",
|
|
285
285
|
"schemaVersion": 1
|
|
286
286
|
}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
- scoreTemplate (string,默认 '{value}'):分数显示模板
|
|
45
45
|
- size ('large' | 'default' | 'small'):尺寸
|
|
46
46
|
- clearable (boolean):是否可以通过点击重置值
|
|
47
|
-
- ariaLabel (
|
|
47
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
48
48
|
|
|
49
49
|
## Events
|
|
50
50
|
|
|
@@ -80,4 +80,4 @@ const value = ref(3)
|
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
83
|
-
ep-craft 0.2.
|
|
83
|
+
ep-craft 0.2.1
|
|
@@ -229,11 +229,11 @@
|
|
|
229
229
|
{
|
|
230
230
|
"alias": null,
|
|
231
231
|
"defaultText": null,
|
|
232
|
-
"description": "",
|
|
232
|
+
"description": "原生 aria-labelledby 属性",
|
|
233
233
|
"hasDefault": false,
|
|
234
234
|
"name": "ariaLabelledby",
|
|
235
235
|
"required": false,
|
|
236
|
-
"type": "
|
|
236
|
+
"type": "string"
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"related": [
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
]
|
|
275
275
|
}
|
|
276
276
|
},
|
|
277
|
-
"generatedAt": "2026-11-
|
|
278
|
-
"libraryVersion": "0.2.
|
|
277
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
278
|
+
"libraryVersion": "0.2.1",
|
|
279
279
|
"schemaVersion": 1
|
|
280
280
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
- role (string):视图元素 role
|
|
37
37
|
- ariaLabel (string):原生 aria-label 属性
|
|
38
38
|
- ariaOrientation ('horizontal' | 'vertical' | 'undefined'):原生 aria-orientation 属性
|
|
39
|
-
- ariaLabelledby (
|
|
39
|
+
- ariaLabelledby (string):原生 aria-labelledby 属性
|
|
40
40
|
|
|
41
41
|
## Events
|
|
42
42
|
|
|
@@ -86,4 +86,4 @@ import { EpScrollbar } from 'ep-craft'
|
|
|
86
86
|
|
|
87
87
|
---
|
|
88
88
|
|
|
89
|
-
ep-craft 0.2.
|
|
89
|
+
ep-craft 0.2.1
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
{
|
|
117
117
|
"alias": null,
|
|
118
118
|
"defaultText": null,
|
|
119
|
-
"description": "",
|
|
119
|
+
"description": "原生 id 属性",
|
|
120
120
|
"hasDefault": false,
|
|
121
121
|
"name": "id",
|
|
122
122
|
"required": false,
|
|
123
|
-
"type": "
|
|
123
|
+
"type": "string"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"alias": "v-model",
|
|
@@ -224,20 +224,20 @@
|
|
|
224
224
|
{
|
|
225
225
|
"alias": null,
|
|
226
226
|
"defaultText": null,
|
|
227
|
-
"description": "",
|
|
227
|
+
"description": "下拉框的自定义样式",
|
|
228
228
|
"hasDefault": false,
|
|
229
229
|
"name": "popperStyle",
|
|
230
230
|
"required": false,
|
|
231
|
-
"type": "
|
|
231
|
+
"type": "string | object"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"alias": null,
|
|
235
|
-
"defaultText":
|
|
236
|
-
"description": "",
|
|
235
|
+
"defaultText": "{}",
|
|
236
|
+
"description": "popper.js 参数",
|
|
237
237
|
"hasDefault": true,
|
|
238
238
|
"name": "popperOptions",
|
|
239
239
|
"required": false,
|
|
240
|
-
"type": "
|
|
240
|
+
"type": "object"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"alias": null,
|
|
@@ -250,12 +250,12 @@
|
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"alias": null,
|
|
253
|
-
"defaultText":
|
|
254
|
-
"description": "",
|
|
253
|
+
"defaultText": "300",
|
|
254
|
+
"description": "远程搜索去抖延迟(毫秒)",
|
|
255
255
|
"hasDefault": true,
|
|
256
256
|
"name": "debounce",
|
|
257
257
|
"required": false,
|
|
258
|
-
"type": "
|
|
258
|
+
"type": "number"
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
"alias": null,
|
|
@@ -376,12 +376,12 @@
|
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
"alias": null,
|
|
379
|
-
"defaultText":
|
|
380
|
-
"description": "",
|
|
379
|
+
"defaultText": "{}",
|
|
380
|
+
"description": "折叠标签 tooltip 的配置对象",
|
|
381
381
|
"hasDefault": true,
|
|
382
382
|
"name": "tagTooltip",
|
|
383
383
|
"required": false,
|
|
384
|
-
"type": "
|
|
384
|
+
"type": "object"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
"alias": null,
|
|
@@ -448,12 +448,12 @@
|
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"alias": null,
|
|
451
|
-
"defaultText":
|
|
452
|
-
"description": "",
|
|
451
|
+
"defaultText": "light",
|
|
452
|
+
"description": "标签主题",
|
|
453
453
|
"hasDefault": true,
|
|
454
454
|
"name": "tagEffect",
|
|
455
455
|
"required": false,
|
|
456
|
-
"type": "
|
|
456
|
+
"type": "'dark' | 'light' | 'plain'"
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
459
|
"alias": null,
|
|
@@ -475,21 +475,21 @@
|
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
477
|
"alias": null,
|
|
478
|
-
"defaultText":
|
|
479
|
-
"description": "",
|
|
478
|
+
"defaultText": "true",
|
|
479
|
+
"description": "是否显示下拉箭头",
|
|
480
480
|
"hasDefault": true,
|
|
481
481
|
"name": "showArrow",
|
|
482
482
|
"required": false,
|
|
483
|
-
"type": "
|
|
483
|
+
"type": "boolean"
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
486
|
"alias": null,
|
|
487
|
-
"defaultText":
|
|
488
|
-
"description": "",
|
|
487
|
+
"defaultText": "12",
|
|
488
|
+
"description": "下拉框出现的偏移量",
|
|
489
489
|
"hasDefault": true,
|
|
490
490
|
"name": "offset",
|
|
491
491
|
"required": false,
|
|
492
|
-
"type": "
|
|
492
|
+
"type": "number"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
495
|
"alias": null,
|
|
@@ -502,48 +502,48 @@
|
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
"alias": null,
|
|
505
|
-
"defaultText":
|
|
506
|
-
"description": "",
|
|
505
|
+
"defaultText": "['bottom-start', 'top-start', 'right', 'left']",
|
|
506
|
+
"description": "下拉框可能出现的备用位置列表",
|
|
507
507
|
"hasDefault": true,
|
|
508
508
|
"name": "fallbackPlacements",
|
|
509
509
|
"required": false,
|
|
510
|
-
"type": "
|
|
510
|
+
"type": "Placement[]"
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
"alias": null,
|
|
514
|
-
"defaultText":
|
|
515
|
-
"description": "",
|
|
514
|
+
"defaultText": "0",
|
|
515
|
+
"description": "输入框的 tabindex",
|
|
516
516
|
"hasDefault": true,
|
|
517
517
|
"name": "tabindex",
|
|
518
518
|
"required": false,
|
|
519
|
-
"type": "
|
|
519
|
+
"type": "string | number"
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
"alias": null,
|
|
523
|
-
"defaultText":
|
|
524
|
-
"description": "",
|
|
523
|
+
"defaultText": "body",
|
|
524
|
+
"description": "下拉列表挂载到哪个元素",
|
|
525
525
|
"hasDefault": false,
|
|
526
526
|
"name": "appendTo",
|
|
527
527
|
"required": false,
|
|
528
|
-
"type": "
|
|
528
|
+
"type": "string | HTMLElement"
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
531
|
"alias": null,
|
|
532
532
|
"defaultText": null,
|
|
533
|
-
"description": "",
|
|
533
|
+
"description": "选项数据数组(同时提供 `default` 插槽时以插槽内容为准)",
|
|
534
534
|
"hasDefault": false,
|
|
535
535
|
"name": "options",
|
|
536
536
|
"required": false,
|
|
537
|
-
"type": "
|
|
537
|
+
"type": "Array"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"alias": null,
|
|
541
|
-
"defaultText":
|
|
542
|
-
"description": "",
|
|
541
|
+
"defaultText": "{ value: 'value', label: 'label', disabled: 'disabled', options: 'options' }",
|
|
542
|
+
"description": "配置选项字段映射(value / label / disabled / options 的键名)",
|
|
543
543
|
"hasDefault": true,
|
|
544
544
|
"name": "props",
|
|
545
545
|
"required": false,
|
|
546
|
-
"type": "
|
|
546
|
+
"type": "object"
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
549
|
"alias": null,
|
|
@@ -556,21 +556,21 @@
|
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
"alias": null,
|
|
559
|
-
"defaultText": null,
|
|
560
|
-
"description": "",
|
|
559
|
+
"defaultText": "['', undefined, null]",
|
|
560
|
+
"description": "视为空值的值列表",
|
|
561
561
|
"hasDefault": false,
|
|
562
562
|
"name": "emptyValues",
|
|
563
563
|
"required": false,
|
|
564
|
-
"type": "
|
|
564
|
+
"type": "any[]"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"alias": null,
|
|
568
|
-
"defaultText":
|
|
569
|
-
"description": "",
|
|
568
|
+
"defaultText": "undefined",
|
|
569
|
+
"description": "清空时写入的值",
|
|
570
570
|
"hasDefault": true,
|
|
571
571
|
"name": "valueOnClear",
|
|
572
572
|
"required": false,
|
|
573
|
-
"type": "
|
|
573
|
+
"type": "string | number | boolean | Function | null"
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
"alias": null,
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
]
|
|
692
692
|
}
|
|
693
693
|
},
|
|
694
|
-
"generatedAt": "2026-11-
|
|
695
|
-
"libraryVersion": "0.2.
|
|
694
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
695
|
+
"libraryVersion": "0.2.1",
|
|
696
696
|
"schemaVersion": 1
|
|
697
697
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
## Props
|
|
27
27
|
|
|
28
28
|
- name (string):原生 name 属性
|
|
29
|
-
- id (
|
|
29
|
+
- id (string):原生 id 属性
|
|
30
30
|
- modelValue(别名 v-model) (any,默认 见文档):绑定值
|
|
31
31
|
- autocomplete (string,默认 off):原生 autocomplete 属性
|
|
32
32
|
- automaticDropdown (boolean):对于不可搜索的 Select,获取焦点后是否自动弹出
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
- allowCreate (boolean):是否允许用户创建新条目
|
|
39
39
|
- loading (boolean):是否正在从远程获取数据
|
|
40
40
|
- popperClass (string,默认 见文档):Select 下拉框的类名
|
|
41
|
-
- popperStyle (
|
|
42
|
-
- popperOptions (
|
|
41
|
+
- popperStyle (string | object):下拉框的自定义样式
|
|
42
|
+
- popperOptions (object,默认 {}):popper.js 参数
|
|
43
43
|
- remote (boolean):是否为远程搜索
|
|
44
|
-
- debounce (
|
|
44
|
+
- debounce (number,默认 300):远程搜索去抖延迟(毫秒)
|
|
45
45
|
- loadingText (string):远程加载时显示的文字
|
|
46
46
|
- noMatchText (string):搜索条件无匹配时显示的文字
|
|
47
47
|
- noDataText (string):无选项时显示的文字
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
- valueKey (string,默认 value):作为 value 唯一标识的键名
|
|
56
56
|
- collapseTags (boolean):多选时将选中值按文字形式展示
|
|
57
57
|
- collapseTagsTooltip (boolean):鼠标悬停折叠标签以显示具体所选值
|
|
58
|
-
- tagTooltip (
|
|
58
|
+
- tagTooltip (object,默认 {}):折叠标签 tooltip 的配置对象
|
|
59
59
|
- maxCollapseTags (number,默认 1):需要显示的 Tag 的最大数量
|
|
60
60
|
- teleported (boolean,默认 true):是否将下拉列表插入至 body 元素
|
|
61
61
|
- persistent (boolean,默认 true):下拉菜单关闭后是否销毁
|
|
@@ -63,20 +63,20 @@
|
|
|
63
63
|
- fitInputWidth (boolean):下拉框的宽度是否与输入框相同
|
|
64
64
|
- suffixIcon (string | Component,默认 ArrowDown):自定义后缀图标
|
|
65
65
|
- tagType ('success' | 'info' | 'warning' | 'danger',默认 info):标签类型
|
|
66
|
-
- tagEffect (
|
|
66
|
+
- tagEffect ('dark' | 'light' | 'plain',默认 light):标签主题
|
|
67
67
|
- validateEvent (boolean,默认 true):是否触发表单验证
|
|
68
68
|
- remoteShowSuffix (boolean):远程搜索时显示后缀图标
|
|
69
|
-
- showArrow (
|
|
70
|
-
- offset (
|
|
69
|
+
- showArrow (boolean,默认 true):是否显示下拉箭头
|
|
70
|
+
- offset (number,默认 12):下拉框出现的偏移量
|
|
71
71
|
- placement (Placement,默认 bottom-start):下拉框出现的位置
|
|
72
|
-
- fallbackPlacements (
|
|
73
|
-
- tabindex (
|
|
74
|
-
- appendTo (
|
|
75
|
-
- options (
|
|
76
|
-
- props (
|
|
72
|
+
- fallbackPlacements (Placement[],默认 ['bottom-start', 'top-start', 'right', 'left']):下拉框可能出现的备用位置列表
|
|
73
|
+
- tabindex (string | number,默认 0):输入框的 tabindex
|
|
74
|
+
- appendTo (string | HTMLElement):下拉列表挂载到哪个元素
|
|
75
|
+
- options (Array):选项数据数组(同时提供 `default` 插槽时以插槽内容为准)
|
|
76
|
+
- props (object,默认 { value: 'value', label: 'label', disabled: 'disabled', options: 'options' }):配置选项字段映射(value / label / disabled / options 的键名)
|
|
77
77
|
- floatLabel (boolean,默认 false):是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮
|
|
78
|
-
- emptyValues (
|
|
79
|
-
- valueOnClear (
|
|
78
|
+
- emptyValues (any[]):视为空值的值列表
|
|
79
|
+
- valueOnClear (string | number | boolean | Function | null,默认 undefined):清空时写入的值
|
|
80
80
|
- ariaLabel (string):原生 aria-label 属性
|
|
81
81
|
- ariaLabelledby (string):原生 aria-labelledby 属性;显式传入时优先于浮动标签自动关联的文本
|
|
82
82
|
|
|
@@ -185,4 +185,4 @@ const value = ref('')
|
|
|
185
185
|
|
|
186
186
|
---
|
|
187
187
|
|
|
188
|
-
ep-craft 0.2.
|
|
188
|
+
ep-craft 0.2.1
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
{
|
|
60
60
|
"alias": null,
|
|
61
61
|
"defaultText": null,
|
|
62
|
-
"description": "",
|
|
62
|
+
"description": "原生 id 属性",
|
|
63
63
|
"hasDefault": true,
|
|
64
64
|
"name": "id",
|
|
65
65
|
"required": false,
|
|
66
|
-
"type": "
|
|
66
|
+
"type": "string"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"alias": null,
|
|
@@ -256,21 +256,21 @@
|
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"alias": null,
|
|
259
|
-
"defaultText":
|
|
260
|
-
"description": "",
|
|
259
|
+
"defaultText": "true",
|
|
260
|
+
"description": "tooltip 关闭后是否保留 DOM",
|
|
261
261
|
"hasDefault": true,
|
|
262
262
|
"name": "persistent",
|
|
263
263
|
"required": false,
|
|
264
|
-
"type": "
|
|
264
|
+
"type": "boolean"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"alias": null,
|
|
268
268
|
"defaultText": null,
|
|
269
|
-
"description": "",
|
|
269
|
+
"description": "原生 aria-label 属性",
|
|
270
270
|
"hasDefault": false,
|
|
271
271
|
"name": "ariaLabel",
|
|
272
272
|
"required": false,
|
|
273
|
-
"type": "
|
|
273
|
+
"type": "string"
|
|
274
274
|
}
|
|
275
275
|
],
|
|
276
276
|
"related": [
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"slotContent": []
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
|
-
"generatedAt": "2026-11-
|
|
324
|
-
"libraryVersion": "0.2.
|
|
323
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
324
|
+
"libraryVersion": "0.2.1",
|
|
325
325
|
"schemaVersion": 1
|
|
326
326
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
## Props
|
|
26
26
|
|
|
27
27
|
- modelValue(别名 v-model) (number | number[],默认 0):绑定值
|
|
28
|
-
- id (
|
|
28
|
+
- id (string,默认 见文档):原生 id 属性
|
|
29
29
|
- min (number,默认 0):最小值
|
|
30
30
|
- max (number,默认 100):最大值
|
|
31
31
|
- step (number,默认 1):步长
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
- placement (Placement,默认 top):Tooltip 出现的位置
|
|
48
48
|
- marks (Record<number, string | { style: CSSProperties, label: string }>):标记
|
|
49
49
|
- validateEvent (boolean,默认 true):是否触发表单验证
|
|
50
|
-
- persistent (
|
|
51
|
-
- ariaLabel (
|
|
50
|
+
- persistent (boolean,默认 true):tooltip 关闭后是否保留 DOM
|
|
51
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
52
52
|
|
|
53
53
|
## Events
|
|
54
54
|
|
|
@@ -85,4 +85,4 @@ const value = ref(30)
|
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
-
ep-craft 0.2.
|
|
88
|
+
ep-craft 0.2.1
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"alias": null,
|
|
56
|
-
"defaultText":
|
|
57
|
-
"description": "",
|
|
56
|
+
"defaultText": "''",
|
|
57
|
+
"description": "额外样式规则",
|
|
58
58
|
"hasDefault": true,
|
|
59
59
|
"name": "style",
|
|
60
60
|
"required": false,
|
|
61
|
-
"type": "
|
|
61
|
+
"type": "string | Array | object | boolean"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"alias": null,
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
]
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
|
-
"generatedAt": "2026-11-
|
|
176
|
-
"libraryVersion": "0.2.
|
|
175
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
176
|
+
"libraryVersion": "0.2.1",
|
|
177
177
|
"schemaVersion": 1
|
|
178
178
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
- direction ('vertical' | 'horizontal',默认 horizontal):排列的方向
|
|
28
28
|
- class (string | Array | object,默认 见文档):类名
|
|
29
|
-
- style (
|
|
29
|
+
- style (string | Array | object | boolean,默认 ''):额外样式规则
|
|
30
30
|
- alignment (string,默认 center):对齐的方式
|
|
31
31
|
- prefixCls (string):给 space-items 的类名前缀
|
|
32
32
|
- spacer (string | VNode,默认 见文档):间隔符
|
|
@@ -70,4 +70,4 @@ import { EpButton, EpSpace } from 'ep-craft'
|
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
|
73
|
-
ep-craft 0.2.
|
|
73
|
+
ep-craft 0.2.1
|