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
|
@@ -88,29 +88,29 @@
|
|
|
88
88
|
{
|
|
89
89
|
"alias": null,
|
|
90
90
|
"defaultText": null,
|
|
91
|
-
"description": "",
|
|
91
|
+
"description": "可见性变化回调(v-model:visible 的内部监听器)",
|
|
92
92
|
"hasDefault": false,
|
|
93
93
|
"name": "onUpdate:visible",
|
|
94
94
|
"required": false,
|
|
95
|
-
"type": "
|
|
95
|
+
"type": "(visible: boolean) => void"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"alias": null,
|
|
99
|
-
"defaultText":
|
|
100
|
-
"description": "",
|
|
99
|
+
"defaultText": "tooltip",
|
|
100
|
+
"description": "popper 的 role 属性",
|
|
101
101
|
"hasDefault": true,
|
|
102
102
|
"name": "role",
|
|
103
103
|
"required": false,
|
|
104
|
-
"type": "
|
|
104
|
+
"type": "string"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"alias": null,
|
|
108
|
-
"defaultText":
|
|
109
|
-
"description": "",
|
|
108
|
+
"defaultText": "body",
|
|
109
|
+
"description": "popper 挂载到哪个元素",
|
|
110
110
|
"hasDefault": false,
|
|
111
111
|
"name": "appendTo",
|
|
112
112
|
"required": false,
|
|
113
|
-
"type": "
|
|
113
|
+
"type": "string | HTMLElement"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"alias": null,
|
|
@@ -214,29 +214,29 @@
|
|
|
214
214
|
{
|
|
215
215
|
"alias": null,
|
|
216
216
|
"defaultText": null,
|
|
217
|
-
"description": "",
|
|
217
|
+
"description": "原生 id 属性",
|
|
218
218
|
"hasDefault": false,
|
|
219
219
|
"name": "id",
|
|
220
220
|
"required": false,
|
|
221
|
-
"type": "
|
|
221
|
+
"type": "string"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"alias": null,
|
|
225
225
|
"defaultText": null,
|
|
226
|
-
"description": "",
|
|
226
|
+
"description": "popper 的自定义样式",
|
|
227
227
|
"hasDefault": true,
|
|
228
228
|
"name": "style",
|
|
229
229
|
"required": false,
|
|
230
|
-
"type": "
|
|
230
|
+
"type": "string | object"
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
"alias": null,
|
|
234
234
|
"defaultText": null,
|
|
235
|
-
"description": "",
|
|
235
|
+
"description": "popper 的自定义类名",
|
|
236
236
|
"hasDefault": false,
|
|
237
237
|
"name": "className",
|
|
238
238
|
"required": false,
|
|
239
|
-
"type": "
|
|
239
|
+
"type": "string"
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"alias": null,
|
|
@@ -258,30 +258,30 @@
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"alias": null,
|
|
261
|
-
"defaultText":
|
|
262
|
-
"description": "",
|
|
261
|
+
"defaultText": "false",
|
|
262
|
+
"description": "是否为简约模式(不渲染额外包裹层)",
|
|
263
263
|
"hasDefault": true,
|
|
264
264
|
"name": "pure",
|
|
265
265
|
"required": false,
|
|
266
|
-
"type": "
|
|
266
|
+
"type": "boolean"
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
"alias": null,
|
|
270
|
-
"defaultText":
|
|
271
|
-
"description": "",
|
|
270
|
+
"defaultText": "false",
|
|
271
|
+
"description": "显示时是否将焦点移入 popper",
|
|
272
272
|
"hasDefault": true,
|
|
273
273
|
"name": "focusOnShow",
|
|
274
274
|
"required": false,
|
|
275
|
-
"type": "
|
|
275
|
+
"type": "boolean"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"alias": null,
|
|
279
|
-
"defaultText":
|
|
280
|
-
"description": "",
|
|
279
|
+
"defaultText": "false",
|
|
280
|
+
"description": "是否将焦点限制在 popper 内",
|
|
281
281
|
"hasDefault": true,
|
|
282
282
|
"name": "trapping",
|
|
283
283
|
"required": false,
|
|
284
|
-
"type": "
|
|
284
|
+
"type": "boolean"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
"alias": null,
|
|
@@ -295,38 +295,38 @@
|
|
|
295
295
|
{
|
|
296
296
|
"alias": null,
|
|
297
297
|
"defaultText": null,
|
|
298
|
-
"description": "",
|
|
298
|
+
"description": "popper 的自定义样式",
|
|
299
299
|
"hasDefault": true,
|
|
300
300
|
"name": "popperStyle",
|
|
301
301
|
"required": false,
|
|
302
|
-
"type": "
|
|
302
|
+
"type": "string | object"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
"alias": null,
|
|
306
306
|
"defaultText": null,
|
|
307
|
-
"description": "",
|
|
307
|
+
"description": "虚拟触发时使用的引用元素",
|
|
308
308
|
"hasDefault": false,
|
|
309
309
|
"name": "referenceEl",
|
|
310
310
|
"required": false,
|
|
311
|
-
"type": "
|
|
311
|
+
"type": "HTMLElement"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"alias": null,
|
|
315
315
|
"defaultText": null,
|
|
316
|
-
"description": "",
|
|
316
|
+
"description": "虚拟触发时用于定位的触发元素",
|
|
317
317
|
"hasDefault": false,
|
|
318
318
|
"name": "triggerTargetEl",
|
|
319
319
|
"required": false,
|
|
320
|
-
"type": "
|
|
320
|
+
"type": "HTMLElement"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
"alias": null,
|
|
324
|
-
"defaultText":
|
|
325
|
-
"description": "",
|
|
324
|
+
"defaultText": "true",
|
|
325
|
+
"description": "是否阻止 popper 内鼠标事件冒泡",
|
|
326
326
|
"hasDefault": true,
|
|
327
327
|
"name": "stopPopperMouseEvent",
|
|
328
328
|
"required": false,
|
|
329
|
-
"type": "
|
|
329
|
+
"type": "boolean"
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"alias": null,
|
|
@@ -340,47 +340,47 @@
|
|
|
340
340
|
{
|
|
341
341
|
"alias": null,
|
|
342
342
|
"defaultText": null,
|
|
343
|
-
"description": "",
|
|
343
|
+
"description": "popper 的 z-index",
|
|
344
344
|
"hasDefault": false,
|
|
345
345
|
"name": "zIndex",
|
|
346
346
|
"required": false,
|
|
347
|
-
"type": "
|
|
347
|
+
"type": "number"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
"alias": null,
|
|
351
|
-
"defaultText":
|
|
352
|
-
"description": "",
|
|
351
|
+
"defaultText": "false",
|
|
352
|
+
"description": "是否启用循环定位",
|
|
353
353
|
"hasDefault": true,
|
|
354
354
|
"name": "loop",
|
|
355
355
|
"required": false,
|
|
356
|
-
"type": "
|
|
356
|
+
"type": "boolean"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"alias": null,
|
|
360
|
-
"defaultText":
|
|
361
|
-
"description": "",
|
|
360
|
+
"defaultText": "0",
|
|
361
|
+
"description": "popper 边界内边距",
|
|
362
362
|
"hasDefault": true,
|
|
363
363
|
"name": "boundariesPadding",
|
|
364
364
|
"required": false,
|
|
365
|
-
"type": "
|
|
365
|
+
"type": "number"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"alias": null,
|
|
369
369
|
"defaultText": null,
|
|
370
|
-
"description": "",
|
|
370
|
+
"description": "popper 的备选位置列表",
|
|
371
371
|
"hasDefault": false,
|
|
372
372
|
"name": "fallbackPlacements",
|
|
373
373
|
"required": false,
|
|
374
|
-
"type": "
|
|
374
|
+
"type": "Placement[]"
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
"alias": null,
|
|
378
|
-
"defaultText":
|
|
379
|
-
"description": "",
|
|
378
|
+
"defaultText": "true",
|
|
379
|
+
"description": "是否启用 GPU 加速",
|
|
380
380
|
"hasDefault": true,
|
|
381
381
|
"name": "gpuAcceleration",
|
|
382
382
|
"required": false,
|
|
383
|
-
"type": "
|
|
383
|
+
"type": "boolean"
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
386
|
"alias": null,
|
|
@@ -411,21 +411,21 @@
|
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
413
|
"alias": null,
|
|
414
|
-
"defaultText":
|
|
415
|
-
"description": "",
|
|
414
|
+
"defaultText": "absolute",
|
|
415
|
+
"description": "popper 定位策略",
|
|
416
416
|
"hasDefault": true,
|
|
417
417
|
"name": "strategy",
|
|
418
418
|
"required": false,
|
|
419
|
-
"type": "
|
|
419
|
+
"type": "'absolute' | 'fixed'"
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
"alias": null,
|
|
423
|
-
"defaultText":
|
|
424
|
-
"description": "",
|
|
423
|
+
"defaultText": "5",
|
|
424
|
+
"description": "箭头相对 popper 的偏移量",
|
|
425
425
|
"hasDefault": true,
|
|
426
426
|
"name": "arrowOffset",
|
|
427
427
|
"required": false,
|
|
428
|
-
"type": "
|
|
428
|
+
"type": "number"
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
431
|
"alias": null,
|
|
@@ -447,12 +447,12 @@
|
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
449
|
"alias": null,
|
|
450
|
-
"defaultText":
|
|
451
|
-
"description": "",
|
|
450
|
+
"defaultText": "false",
|
|
451
|
+
"description": "聚焦时是否将焦点移入触发元素",
|
|
452
452
|
"hasDefault": false,
|
|
453
453
|
"name": "focusOnTarget",
|
|
454
454
|
"required": false,
|
|
455
|
-
"type": "
|
|
455
|
+
"type": "boolean"
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
"alias": null,
|
|
@@ -466,74 +466,74 @@
|
|
|
466
466
|
{
|
|
467
467
|
"alias": null,
|
|
468
468
|
"defaultText": null,
|
|
469
|
-
"description": "",
|
|
469
|
+
"description": "鼠标移入触发元素的回调",
|
|
470
470
|
"hasDefault": false,
|
|
471
471
|
"name": "onMouseenter",
|
|
472
472
|
"required": false,
|
|
473
|
-
"type": "
|
|
473
|
+
"type": "(event: MouseEvent) => void"
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
476
|
"alias": null,
|
|
477
477
|
"defaultText": null,
|
|
478
|
-
"description": "",
|
|
478
|
+
"description": "鼠标移出触发元素的回调",
|
|
479
479
|
"hasDefault": false,
|
|
480
480
|
"name": "onMouseleave",
|
|
481
481
|
"required": false,
|
|
482
|
-
"type": "
|
|
482
|
+
"type": "(event: MouseEvent) => void"
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
485
|
"alias": null,
|
|
486
486
|
"defaultText": null,
|
|
487
|
-
"description": "",
|
|
487
|
+
"description": "点击触发元素的回调",
|
|
488
488
|
"hasDefault": false,
|
|
489
489
|
"name": "onClick",
|
|
490
490
|
"required": false,
|
|
491
|
-
"type": "
|
|
491
|
+
"type": "(event: MouseEvent) => void"
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
494
|
"alias": null,
|
|
495
495
|
"defaultText": null,
|
|
496
|
-
"description": "",
|
|
496
|
+
"description": "触发元素按键的回调",
|
|
497
497
|
"hasDefault": false,
|
|
498
498
|
"name": "onKeydown",
|
|
499
499
|
"required": false,
|
|
500
|
-
"type": "
|
|
500
|
+
"type": "(event: KeyboardEvent) => void"
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
503
|
"alias": null,
|
|
504
504
|
"defaultText": null,
|
|
505
|
-
"description": "",
|
|
505
|
+
"description": "触发元素获得焦点的回调",
|
|
506
506
|
"hasDefault": false,
|
|
507
507
|
"name": "onFocus",
|
|
508
508
|
"required": false,
|
|
509
|
-
"type": "
|
|
509
|
+
"type": "(event: FocusEvent) => void"
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
"alias": null,
|
|
513
513
|
"defaultText": null,
|
|
514
|
-
"description": "",
|
|
514
|
+
"description": "触发元素失去焦点的回调",
|
|
515
515
|
"hasDefault": false,
|
|
516
516
|
"name": "onBlur",
|
|
517
517
|
"required": false,
|
|
518
|
-
"type": "
|
|
518
|
+
"type": "(event: FocusEvent) => void"
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
521
|
"alias": null,
|
|
522
522
|
"defaultText": null,
|
|
523
|
-
"description": "",
|
|
523
|
+
"description": "右键触发元素的回调",
|
|
524
524
|
"hasDefault": false,
|
|
525
525
|
"name": "onContextmenu",
|
|
526
526
|
"required": false,
|
|
527
|
-
"type": "
|
|
527
|
+
"type": "(event: MouseEvent) => void"
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
"alias": null,
|
|
531
531
|
"defaultText": null,
|
|
532
|
-
"description": "",
|
|
532
|
+
"description": "受控展开状态(内部使用)",
|
|
533
533
|
"hasDefault": false,
|
|
534
534
|
"name": "open",
|
|
535
535
|
"required": false,
|
|
536
|
-
"type": "
|
|
536
|
+
"type": "boolean"
|
|
537
537
|
}
|
|
538
538
|
],
|
|
539
539
|
"related": [
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
]
|
|
594
594
|
}
|
|
595
595
|
},
|
|
596
|
-
"generatedAt": "2026-11-
|
|
597
|
-
"libraryVersion": "0.2.
|
|
596
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
597
|
+
"libraryVersion": "0.2.1",
|
|
598
598
|
"schemaVersion": 1
|
|
599
599
|
}
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
## Props
|
|
26
26
|
|
|
27
27
|
- showArrow (boolean,默认 true):是否显示箭头
|
|
28
|
-
- onUpdate:visible (
|
|
29
|
-
- role (
|
|
30
|
-
- appendTo (
|
|
28
|
+
- onUpdate:visible ((visible: boolean) => void):可见性变化回调(v-model:visible 的内部监听器)
|
|
29
|
+
- role (string,默认 tooltip):popper 的 role 属性
|
|
30
|
+
- appendTo (string | HTMLElement):popper 挂载到哪个元素
|
|
31
31
|
- content (string,默认 ''):显示的内容
|
|
32
32
|
- rawContent (boolean):content 中的内容是否作为 HTML 字符串处理
|
|
33
33
|
- persistent (boolean):当 tooltip 组件长时间不触发且 persistent 为 false 时销毁
|
|
@@ -39,42 +39,42 @@
|
|
|
39
39
|
- showAfter (number,默认 0):在触发后多久显示内容
|
|
40
40
|
- hideAfter (number,默认 200):延迟关闭
|
|
41
41
|
- autoClose (number,默认 0):自动隐藏时长
|
|
42
|
-
- id (
|
|
43
|
-
- style (
|
|
44
|
-
- className (
|
|
42
|
+
- id (string):原生 id 属性
|
|
43
|
+
- style (string | object,默认 见文档):popper 的自定义样式
|
|
44
|
+
- className (string):popper 的自定义类名
|
|
45
45
|
- effect ('dark' | 'light',默认 dark):Tooltip 主题
|
|
46
46
|
- enterable (boolean,默认 true):鼠标是否可进入到 tooltip 中
|
|
47
|
-
- pure (
|
|
48
|
-
- focusOnShow (
|
|
49
|
-
- trapping (
|
|
47
|
+
- pure (boolean,默认 false):是否为简约模式(不渲染额外包裹层)
|
|
48
|
+
- focusOnShow (boolean,默认 false):显示时是否将焦点移入 popper
|
|
49
|
+
- trapping (boolean,默认 false):是否将焦点限制在 popper 内
|
|
50
50
|
- popperClass (string):为 Tooltip 的 popper 添加类名
|
|
51
|
-
- popperStyle (
|
|
52
|
-
- referenceEl (
|
|
53
|
-
- triggerTargetEl (
|
|
54
|
-
- stopPopperMouseEvent (
|
|
51
|
+
- popperStyle (string | object,默认 见文档):popper 的自定义样式
|
|
52
|
+
- referenceEl (HTMLElement):虚拟触发时使用的引用元素
|
|
53
|
+
- triggerTargetEl (HTMLElement):虚拟触发时用于定位的触发元素
|
|
54
|
+
- stopPopperMouseEvent (boolean,默认 true):是否阻止 popper 内鼠标事件冒泡
|
|
55
55
|
- virtualTriggering (boolean,默认 false):是否使用虚拟触发
|
|
56
|
-
- zIndex (
|
|
57
|
-
- loop (
|
|
58
|
-
- boundariesPadding (
|
|
59
|
-
- fallbackPlacements (
|
|
60
|
-
- gpuAcceleration (
|
|
56
|
+
- zIndex (number):popper 的 z-index
|
|
57
|
+
- loop (boolean,默认 false):是否启用循环定位
|
|
58
|
+
- boundariesPadding (number,默认 0):popper 边界内边距
|
|
59
|
+
- fallbackPlacements (Placement[]):popper 的备选位置列表
|
|
60
|
+
- gpuAcceleration (boolean,默认 true):是否启用 GPU 加速
|
|
61
61
|
- offset (number,默认 12):出现位置的偏移量
|
|
62
62
|
- placement ('top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end',默认 bottom):Tooltip 组件出现的位置
|
|
63
63
|
- popperOptions (object,默认 {}):popper.js 的参数
|
|
64
|
-
- strategy (
|
|
65
|
-
- arrowOffset (
|
|
64
|
+
- strategy ('absolute' | 'fixed',默认 absolute):popper 定位策略
|
|
65
|
+
- arrowOffset (number,默认 5):箭头相对 popper 的偏移量
|
|
66
66
|
- trigger ('hover' | 'click' | 'focus' | 'contextmenu',默认 hover):如何触发 Tooltip
|
|
67
67
|
- triggerKeys (string[],默认 ['Enter', 'Space']):触发 tooltip 显示的按键
|
|
68
|
-
- focusOnTarget (
|
|
68
|
+
- focusOnTarget (boolean):聚焦时是否将焦点移入触发元素
|
|
69
69
|
- virtualRef (HTMLElement):虚拟触发的引用
|
|
70
|
-
- onMouseenter (
|
|
71
|
-
- onMouseleave (
|
|
72
|
-
- onClick (
|
|
73
|
-
- onKeydown (
|
|
74
|
-
- onFocus (
|
|
75
|
-
- onBlur (
|
|
76
|
-
- onContextmenu (
|
|
77
|
-
- open (
|
|
70
|
+
- onMouseenter ((event: MouseEvent) => void):鼠标移入触发元素的回调
|
|
71
|
+
- onMouseleave ((event: MouseEvent) => void):鼠标移出触发元素的回调
|
|
72
|
+
- onClick ((event: MouseEvent) => void):点击触发元素的回调
|
|
73
|
+
- onKeydown ((event: KeyboardEvent) => void):触发元素按键的回调
|
|
74
|
+
- onFocus ((event: FocusEvent) => void):触发元素获得焦点的回调
|
|
75
|
+
- onBlur ((event: FocusEvent) => void):触发元素失去焦点的回调
|
|
76
|
+
- onContextmenu ((event: MouseEvent) => void):右键触发元素的回调
|
|
77
|
+
- open (boolean):受控展开状态(内部使用)
|
|
78
78
|
|
|
79
79
|
## Events
|
|
80
80
|
|
|
@@ -134,4 +134,4 @@ import { EpButton, EpTooltip } from 'ep-craft'
|
|
|
134
134
|
|
|
135
135
|
---
|
|
136
136
|
|
|
137
|
-
ep-craft 0.2.
|
|
137
|
+
ep-craft 0.2.1
|