ep-craft 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-ai/components/affix.json +3 -3
- package/dist-ai/components/affix.md +1 -1
- package/dist-ai/components/alert.json +3 -3
- package/dist-ai/components/alert.md +1 -1
- package/dist-ai/components/anchor-link.json +3 -3
- package/dist-ai/components/anchor-link.md +1 -1
- package/dist-ai/components/anchor.json +3 -3
- package/dist-ai/components/anchor.md +1 -1
- package/dist-ai/components/aside.json +3 -3
- package/dist-ai/components/aside.md +1 -1
- package/dist-ai/components/autocomplete.json +86 -86
- package/dist-ai/components/autocomplete.md +34 -34
- package/dist-ai/components/avatar.json +3 -3
- package/dist-ai/components/avatar.md +1 -1
- package/dist-ai/components/backtop.json +3 -3
- package/dist-ai/components/backtop.md +1 -1
- package/dist-ai/components/badge.json +3 -3
- package/dist-ai/components/badge.md +1 -1
- package/dist-ai/components/breadcrumb-item.json +3 -3
- package/dist-ai/components/breadcrumb-item.md +1 -1
- package/dist-ai/components/breadcrumb.json +3 -3
- package/dist-ai/components/breadcrumb.md +1 -1
- package/dist-ai/components/button-group.json +6 -6
- package/dist-ai/components/button-group.md +2 -2
- package/dist-ai/components/button.json +3 -3
- package/dist-ai/components/button.md +1 -1
- package/dist-ai/components/calendar.json +3 -3
- package/dist-ai/components/calendar.md +1 -1
- package/dist-ai/components/card.json +7 -7
- package/dist-ai/components/card.md +3 -3
- package/dist-ai/components/carousel-item.json +3 -3
- package/dist-ai/components/carousel-item.md +1 -1
- package/dist-ai/components/carousel.json +3 -3
- package/dist-ai/components/carousel.md +1 -1
- package/dist-ai/components/cascader-panel.json +3 -3
- package/dist-ai/components/cascader-panel.md +1 -1
- package/dist-ai/components/cascader.json +9 -9
- package/dist-ai/components/cascader.md +3 -3
- package/dist-ai/components/check-tag.json +3 -3
- package/dist-ai/components/check-tag.md +1 -1
- package/dist-ai/components/checkbox-button.json +3 -3
- package/dist-ai/components/checkbox-button.md +1 -1
- package/dist-ai/components/checkbox-group.json +3 -3
- package/dist-ai/components/checkbox-group.md +1 -1
- package/dist-ai/components/checkbox.json +3 -3
- package/dist-ai/components/checkbox.md +1 -1
- package/dist-ai/components/col.json +3 -3
- package/dist-ai/components/col.md +1 -1
- package/dist-ai/components/collapse-item.json +3 -3
- package/dist-ai/components/collapse-item.md +1 -1
- package/dist-ai/components/collapse-transition.json +3 -3
- package/dist-ai/components/collapse-transition.md +1 -1
- package/dist-ai/components/collapse.json +3 -3
- package/dist-ai/components/collapse.md +1 -1
- package/dist-ai/components/color-picker.json +3 -3
- package/dist-ai/components/color-picker.md +1 -1
- package/dist-ai/components/config-provider.json +3 -3
- package/dist-ai/components/config-provider.md +1 -1
- package/dist-ai/components/container.json +3 -3
- package/dist-ai/components/container.md +1 -1
- package/dist-ai/components/countdown.json +3 -3
- package/dist-ai/components/countdown.md +1 -1
- package/dist-ai/components/date-picker-panel.json +9 -9
- package/dist-ai/components/date-picker-panel.md +4 -4
- package/dist-ai/components/date-picker.json +65 -65
- package/dist-ai/components/date-picker.md +24 -24
- package/dist-ai/components/descriptions-item.json +3 -3
- package/dist-ai/components/descriptions-item.md +1 -1
- package/dist-ai/components/descriptions.json +3 -3
- package/dist-ai/components/descriptions.md +1 -1
- package/dist-ai/components/dialog.json +26 -26
- package/dist-ai/components/dialog.md +10 -10
- package/dist-ai/components/divider.json +3 -3
- package/dist-ai/components/divider.md +1 -1
- package/dist-ai/components/drawer.json +53 -53
- package/dist-ai/components/drawer.md +19 -19
- package/dist-ai/components/dropdown-item.json +3 -3
- package/dist-ai/components/dropdown-item.md +1 -1
- package/dist-ai/components/dropdown-menu.json +5 -5
- package/dist-ai/components/dropdown-menu.md +2 -2
- package/dist-ai/components/dropdown.json +3 -3
- package/dist-ai/components/dropdown.md +1 -1
- package/dist-ai/components/empty.json +3 -3
- package/dist-ai/components/empty.md +1 -1
- package/dist-ai/components/footer.json +3 -3
- package/dist-ai/components/footer.md +1 -1
- package/dist-ai/components/form-item.json +6 -6
- package/dist-ai/components/form-item.md +2 -2
- package/dist-ai/components/form.json +3 -3
- package/dist-ai/components/form.md +1 -1
- package/dist-ai/components/header.json +3 -3
- package/dist-ai/components/header.md +1 -1
- package/dist-ai/components/icon.json +3 -3
- package/dist-ai/components/icon.md +1 -1
- package/dist-ai/components/image-viewer.json +3 -3
- package/dist-ai/components/image-viewer.md +1 -1
- package/dist-ai/components/image.json +3 -3
- package/dist-ai/components/image.md +1 -1
- package/dist-ai/components/input-number.json +5 -5
- package/dist-ai/components/input-number.md +2 -2
- package/dist-ai/components/input.json +22 -22
- package/dist-ai/components/input.md +9 -9
- package/dist-ai/components/link.json +3 -3
- package/dist-ai/components/link.md +1 -1
- package/dist-ai/components/main.json +3 -3
- package/dist-ai/components/main.md +1 -1
- package/dist-ai/components/mention.json +86 -86
- package/dist-ai/components/mention.md +34 -34
- package/dist-ai/components/menu-item-group.json +3 -3
- package/dist-ai/components/menu-item-group.md +1 -1
- package/dist-ai/components/menu-item.json +3 -3
- package/dist-ai/components/menu-item.md +1 -1
- package/dist-ai/components/menu.json +3 -3
- package/dist-ai/components/menu.md +1 -1
- package/dist-ai/components/option-group.json +3 -3
- package/dist-ai/components/option-group.md +1 -1
- package/dist-ai/components/option.json +6 -6
- package/dist-ai/components/option.md +2 -2
- package/dist-ai/components/page-header.json +3 -3
- package/dist-ai/components/page-header.md +1 -1
- package/dist-ai/components/pagination.json +10 -10
- package/dist-ai/components/pagination.md +4 -4
- package/dist-ai/components/popconfirm.json +3 -3
- package/dist-ai/components/popconfirm.md +1 -1
- package/dist-ai/components/popover.json +20 -20
- package/dist-ai/components/popover.md +7 -7
- package/dist-ai/components/popper.json +3 -3
- package/dist-ai/components/popper.md +1 -1
- package/dist-ai/components/progress.json +6 -6
- package/dist-ai/components/progress.md +2 -2
- package/dist-ai/components/radio-button.json +8 -8
- package/dist-ai/components/radio-button.md +3 -3
- package/dist-ai/components/radio-group.json +13 -13
- package/dist-ai/components/radio-group.md +5 -5
- package/dist-ai/components/radio.json +3 -3
- package/dist-ai/components/radio.md +1 -1
- package/dist-ai/components/rate.json +5 -5
- package/dist-ai/components/rate.md +2 -2
- package/dist-ai/components/result.json +3 -3
- package/dist-ai/components/result.md +1 -1
- package/dist-ai/components/row.json +3 -3
- package/dist-ai/components/row.md +1 -1
- package/dist-ai/components/scrollbar.json +5 -5
- package/dist-ai/components/scrollbar.md +2 -2
- package/dist-ai/components/segmented.json +3 -3
- package/dist-ai/components/segmented.md +1 -1
- package/dist-ai/components/select-v2.json +3 -3
- package/dist-ai/components/select-v2.md +1 -1
- package/dist-ai/components/select.json +45 -45
- package/dist-ai/components/select.md +16 -16
- package/dist-ai/components/skeleton-item.json +3 -3
- package/dist-ai/components/skeleton-item.md +1 -1
- package/dist-ai/components/skeleton.json +3 -3
- package/dist-ai/components/skeleton.md +1 -1
- package/dist-ai/components/slider.json +10 -10
- package/dist-ai/components/slider.md +4 -4
- package/dist-ai/components/space.json +6 -6
- package/dist-ai/components/space.md +2 -2
- package/dist-ai/components/statistic.json +3 -3
- package/dist-ai/components/statistic.md +1 -1
- package/dist-ai/components/step.json +3 -3
- package/dist-ai/components/step.md +1 -1
- package/dist-ai/components/steps.json +3 -3
- package/dist-ai/components/steps.md +1 -1
- package/dist-ai/components/sub-menu.json +3 -3
- package/dist-ai/components/sub-menu.md +1 -1
- package/dist-ai/components/switch.json +14 -14
- package/dist-ai/components/switch.md +6 -6
- package/dist-ai/components/tab-pane.json +3 -3
- package/dist-ai/components/tab-pane.md +1 -1
- package/dist-ai/components/table-column.json +9 -9
- package/dist-ai/components/table-column.md +4 -4
- package/dist-ai/components/table-v2.json +3 -3
- package/dist-ai/components/table-v2.md +1 -1
- package/dist-ai/components/table.json +38 -38
- package/dist-ai/components/table.md +16 -16
- package/dist-ai/components/tabs.json +8 -8
- package/dist-ai/components/tabs.md +3 -3
- package/dist-ai/components/tag.json +3 -3
- package/dist-ai/components/tag.md +1 -1
- package/dist-ai/components/text.json +3 -3
- package/dist-ai/components/text.md +1 -1
- package/dist-ai/components/time-picker.json +3 -3
- package/dist-ai/components/time-picker.md +1 -1
- package/dist-ai/components/time-select.json +3 -3
- package/dist-ai/components/time-select.md +1 -1
- package/dist-ai/components/timeline-item.json +3 -3
- package/dist-ai/components/timeline-item.md +1 -1
- package/dist-ai/components/timeline.json +3 -3
- package/dist-ai/components/timeline.md +1 -1
- package/dist-ai/components/tooltip.json +73 -73
- package/dist-ai/components/tooltip.md +30 -30
- package/dist-ai/components/tour-step.json +3 -3
- package/dist-ai/components/tour-step.md +1 -1
- package/dist-ai/components/tour.json +3 -3
- package/dist-ai/components/tour.md +1 -1
- package/dist-ai/components/transfer.json +3 -3
- package/dist-ai/components/transfer.md +1 -1
- package/dist-ai/components/tree-select.json +136 -136
- package/dist-ai/components/tree-select.md +50 -50
- package/dist-ai/components/tree-v2.json +3 -3
- package/dist-ai/components/tree-v2.md +1 -1
- package/dist-ai/components/tree.json +3 -3
- package/dist-ai/components/tree.md +1 -1
- package/dist-ai/components/upload.json +8 -8
- package/dist-ai/components/upload.md +3 -3
- package/dist-ai/components/watermark.json +3 -3
- package/dist-ai/components/watermark.md +1 -1
- package/dist-ai/directives/click-outside.json +3 -3
- package/dist-ai/directives/click-outside.md +1 -1
- package/dist-ai/directives/infinite-scroll.json +3 -3
- package/dist-ai/directives/infinite-scroll.md +2 -1
- package/dist-ai/directives/loading.json +3 -3
- package/dist-ai/directives/loading.md +2 -1
- package/dist-ai/directives/mousewheel.json +3 -3
- package/dist-ai/directives/mousewheel.md +1 -1
- package/dist-ai/directives/repeat-click.json +3 -3
- package/dist-ai/directives/repeat-click.md +1 -1
- package/dist-ai/directives/trap-focus.json +3 -3
- package/dist-ai/directives/trap-focus.md +1 -1
- package/dist-ai/icons.json +1 -1
- package/dist-ai/index.json +1 -1
- package/dist-ai/llms.txt +117 -117
- package/dist-ai/manifest.json +255 -25512
- package/dist-ai/schema/card.schema.json +696 -0
- package/dist-ai/schema/icons.schema.json +151 -0
- package/dist-ai/schema/index.schema.json +137 -0
- package/dist-ai/schema/manifest.schema.json +21 -636
- package/dist-ai/services/infinite-scroll.json +4 -4
- package/dist-ai/services/infinite-scroll.md +9 -4
- package/dist-ai/services/loading.json +3 -3
- package/dist-ai/services/loading.md +2 -1
- package/dist-ai/services/message-box.json +3 -3
- package/dist-ai/services/message-box.md +1 -1
- package/dist-ai/services/message.json +3 -3
- package/dist-ai/services/message.md +1 -1
- package/dist-ai/services/notification.json +3 -3
- package/dist-ai/services/notification.md +1 -1
- package/package.json +3 -1
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"alias": null,
|
|
105
|
-
"defaultText":
|
|
106
|
-
"description": "",
|
|
105
|
+
"defaultText": "false",
|
|
106
|
+
"description": "是否可通过拖拽边缘调整 Drawer 大小",
|
|
107
107
|
"hasDefault": false,
|
|
108
108
|
"name": "resizable",
|
|
109
109
|
"required": false,
|
|
110
|
-
"type": "
|
|
110
|
+
"type": "boolean"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"alias": null,
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"alias": null,
|
|
132
|
-
"defaultText":
|
|
133
|
-
"description": "",
|
|
132
|
+
"defaultText": "true",
|
|
133
|
+
"description": "遮罩层是否带淡入淡出动画",
|
|
134
134
|
"hasDefault": true,
|
|
135
135
|
"name": "modalFade",
|
|
136
136
|
"required": false,
|
|
137
|
-
"type": "
|
|
137
|
+
"type": "boolean"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"alias": null,
|
|
@@ -156,12 +156,12 @@
|
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"alias": null,
|
|
159
|
-
"defaultText":
|
|
160
|
-
"description": "",
|
|
159
|
+
"defaultText": "body",
|
|
160
|
+
"description": "Drawer 挂载到哪个 DOM 元素",
|
|
161
161
|
"hasDefault": true,
|
|
162
162
|
"name": "appendTo",
|
|
163
163
|
"required": false,
|
|
164
|
-
"type": "
|
|
164
|
+
"type": "string"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"alias": null,
|
|
@@ -219,12 +219,12 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"alias": null,
|
|
222
|
-
"defaultText":
|
|
223
|
-
"description": "",
|
|
222
|
+
"defaultText": "false",
|
|
223
|
+
"description": "遮罩层是否可穿透",
|
|
224
224
|
"hasDefault": false,
|
|
225
225
|
"name": "modalPenetrable",
|
|
226
226
|
"required": false,
|
|
227
|
-
"type": "
|
|
227
|
+
"type": "boolean"
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"alias": null,
|
|
@@ -246,12 +246,12 @@
|
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"alias": null,
|
|
249
|
-
"defaultText":
|
|
250
|
-
"description": "",
|
|
249
|
+
"defaultText": "15vh",
|
|
250
|
+
"description": "Drawer CSS 中的 margin-top 值",
|
|
251
251
|
"hasDefault": false,
|
|
252
252
|
"name": "top",
|
|
253
253
|
"required": false,
|
|
254
|
-
"type": "
|
|
254
|
+
"type": "string"
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"alias": "v-model",
|
|
@@ -273,12 +273,12 @@
|
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"alias": null,
|
|
276
|
-
"defaultText":
|
|
277
|
-
"description": "",
|
|
276
|
+
"defaultText": "30%",
|
|
277
|
+
"description": "Drawer 的宽度",
|
|
278
278
|
"hasDefault": false,
|
|
279
279
|
"name": "width",
|
|
280
280
|
"required": false,
|
|
281
|
-
"type": "
|
|
281
|
+
"type": "string | number"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"alias": null,
|
|
@@ -291,102 +291,102 @@
|
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"alias": null,
|
|
294
|
-
"defaultText":
|
|
295
|
-
"description": "",
|
|
294
|
+
"defaultText": "false",
|
|
295
|
+
"description": "是否将焦点限制在 Drawer 内",
|
|
296
296
|
"hasDefault": false,
|
|
297
297
|
"name": "trapFocus",
|
|
298
298
|
"required": false,
|
|
299
|
-
"type": "
|
|
299
|
+
"type": "boolean"
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
"alias": null,
|
|
303
303
|
"defaultText": null,
|
|
304
|
-
"description": "",
|
|
304
|
+
"description": "自定义过渡动画配置(透传至 Transition)",
|
|
305
305
|
"hasDefault": true,
|
|
306
306
|
"name": "transition",
|
|
307
307
|
"required": false,
|
|
308
|
-
"type": "
|
|
308
|
+
"type": "string | TransitionProps"
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
"alias": null,
|
|
312
|
-
"defaultText":
|
|
313
|
-
"description": "",
|
|
312
|
+
"defaultText": "false",
|
|
313
|
+
"description": "是否让 header 和 footer 部分居中排列",
|
|
314
314
|
"hasDefault": false,
|
|
315
315
|
"name": "center",
|
|
316
316
|
"required": false,
|
|
317
|
-
"type": "
|
|
317
|
+
"type": "boolean"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
320
|
"alias": null,
|
|
321
|
-
"defaultText":
|
|
322
|
-
"description": "",
|
|
321
|
+
"defaultText": "false",
|
|
322
|
+
"description": "是否水平垂直对齐对话框",
|
|
323
323
|
"hasDefault": true,
|
|
324
324
|
"name": "alignCenter",
|
|
325
325
|
"required": false,
|
|
326
|
-
"type": "
|
|
326
|
+
"type": "boolean"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"alias": null,
|
|
330
|
-
"defaultText":
|
|
331
|
-
"description": "",
|
|
330
|
+
"defaultText": "Close",
|
|
331
|
+
"description": "自定义关闭图标",
|
|
332
332
|
"hasDefault": false,
|
|
333
333
|
"name": "closeIcon",
|
|
334
334
|
"required": false,
|
|
335
|
-
"type": "
|
|
335
|
+
"type": "string | Component"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"alias": null,
|
|
339
|
-
"defaultText":
|
|
340
|
-
"description": "",
|
|
339
|
+
"defaultText": "false",
|
|
340
|
+
"description": "是否可拖拽",
|
|
341
341
|
"hasDefault": true,
|
|
342
342
|
"name": "draggable",
|
|
343
343
|
"required": false,
|
|
344
|
-
"type": "
|
|
344
|
+
"type": "boolean"
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
347
|
"alias": null,
|
|
348
|
-
"defaultText":
|
|
349
|
-
"description": "",
|
|
348
|
+
"defaultText": "false",
|
|
349
|
+
"description": "拖动范围可以超出可视区",
|
|
350
350
|
"hasDefault": true,
|
|
351
351
|
"name": "overflow",
|
|
352
352
|
"required": false,
|
|
353
|
-
"type": "
|
|
353
|
+
"type": "boolean"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
356
|
"alias": null,
|
|
357
|
-
"defaultText":
|
|
358
|
-
"description": "",
|
|
357
|
+
"defaultText": "false",
|
|
358
|
+
"description": "是否为全屏 Drawer",
|
|
359
359
|
"hasDefault": false,
|
|
360
360
|
"name": "fullscreen",
|
|
361
361
|
"required": false,
|
|
362
|
-
"type": "
|
|
362
|
+
"type": "boolean"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
"alias": null,
|
|
366
366
|
"defaultText": null,
|
|
367
|
-
"description": "",
|
|
367
|
+
"description": "header 的自定义类名",
|
|
368
368
|
"hasDefault": false,
|
|
369
369
|
"name": "headerClass",
|
|
370
370
|
"required": false,
|
|
371
|
-
"type": "
|
|
371
|
+
"type": "string"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
"alias": null,
|
|
375
375
|
"defaultText": null,
|
|
376
|
-
"description": "",
|
|
376
|
+
"description": "body 的自定义类名",
|
|
377
377
|
"hasDefault": false,
|
|
378
378
|
"name": "bodyClass",
|
|
379
379
|
"required": false,
|
|
380
|
-
"type": "
|
|
380
|
+
"type": "string"
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
383
|
"alias": null,
|
|
384
384
|
"defaultText": null,
|
|
385
|
-
"description": "",
|
|
385
|
+
"description": "footer 的自定义类名",
|
|
386
386
|
"hasDefault": false,
|
|
387
387
|
"name": "footerClass",
|
|
388
388
|
"required": false,
|
|
389
|
-
"type": "
|
|
389
|
+
"type": "string"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
392
|
"alias": null,
|
|
@@ -408,12 +408,12 @@
|
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
"alias": null,
|
|
411
|
-
"defaultText":
|
|
412
|
-
"description": "",
|
|
411
|
+
"defaultText": "2",
|
|
412
|
+
"description": "内容区域 role=\"dialog\" 的 aria-level 属性",
|
|
413
413
|
"hasDefault": true,
|
|
414
414
|
"name": "ariaLevel",
|
|
415
415
|
"required": false,
|
|
416
|
-
"type": "
|
|
416
|
+
"type": "string"
|
|
417
417
|
}
|
|
418
418
|
],
|
|
419
419
|
"related": [
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
]
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
|
-
"generatedAt": "2026-11-
|
|
466
|
-
"libraryVersion": "0.2.
|
|
467
|
-
"schemaVersion":
|
|
465
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
466
|
+
"libraryVersion": "0.2.2",
|
|
467
|
+
"schemaVersion": 2
|
|
468
468
|
}
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
## Props
|
|
21
21
|
|
|
22
22
|
- direction ('rtl' | 'ltr' | 'ttb' | 'btt',默认 rtl):Drawer 打开的方向
|
|
23
|
-
- resizable (
|
|
23
|
+
- resizable (boolean):是否可通过拖拽边缘调整 Drawer 大小
|
|
24
24
|
- size (number | string,默认 '30%'):Drawer 窗体的大小
|
|
25
25
|
- withHeader (boolean,默认 true):是否显示 header 栏
|
|
26
|
-
- modalFade (
|
|
26
|
+
- modalFade (boolean,默认 true):遮罩层是否带淡入淡出动画
|
|
27
27
|
- headerAriaLevel (string,默认 2):header 的 aria-level 属性
|
|
28
28
|
- appendToBody (boolean):Drawer 自身是否插入至 body 元素上
|
|
29
|
-
- appendTo (
|
|
29
|
+
- appendTo (string,默认 body):Drawer 挂载到哪个 DOM 元素
|
|
30
30
|
- beforeClose ((done: () => void) => void):关闭前的回调
|
|
31
31
|
- destroyOnClose (boolean):控制是否在关闭 Drawer 之后将子元素全部销毁
|
|
32
32
|
- closeOnClickModal (boolean,默认 true):是否可以通过点击 modal 关闭 Drawer
|
|
33
33
|
- closeOnPressEscape (boolean,默认 true):是否可以通过按下 ESC 关闭 Drawer
|
|
34
34
|
- lockScroll (boolean,默认 true):是否在 Drawer 出现时将 body 滚动锁定
|
|
35
35
|
- modal (boolean,默认 true):是否需要遮罩层
|
|
36
|
-
- modalPenetrable (
|
|
36
|
+
- modalPenetrable (boolean):遮罩层是否可穿透
|
|
37
37
|
- openDelay (number,默认 0):Drawer 打开的延时时间
|
|
38
38
|
- closeDelay (number,默认 0):Drawer 关闭的延时时间
|
|
39
|
-
- top (
|
|
39
|
+
- top (string):Drawer CSS 中的 margin-top 值
|
|
40
40
|
- modelValue(别名 v-model) (boolean):是否显示 Drawer
|
|
41
41
|
- modalClass (string):遮罩层的自定义类名
|
|
42
|
-
- width (
|
|
42
|
+
- width (string | number):Drawer 的宽度
|
|
43
43
|
- zIndex (number):设置 z-index
|
|
44
|
-
- trapFocus (
|
|
45
|
-
- transition (
|
|
46
|
-
- center (
|
|
47
|
-
- alignCenter (
|
|
48
|
-
- closeIcon (
|
|
49
|
-
- draggable (
|
|
50
|
-
- overflow (
|
|
51
|
-
- fullscreen (
|
|
52
|
-
- headerClass (
|
|
53
|
-
- bodyClass (
|
|
54
|
-
- footerClass (
|
|
44
|
+
- trapFocus (boolean):是否将焦点限制在 Drawer 内
|
|
45
|
+
- transition (string | TransitionProps,默认 见文档):自定义过渡动画配置(透传至 Transition)
|
|
46
|
+
- center (boolean):是否让 header 和 footer 部分居中排列
|
|
47
|
+
- alignCenter (boolean,默认 false):是否水平垂直对齐对话框
|
|
48
|
+
- closeIcon (string | Component):自定义关闭图标
|
|
49
|
+
- draggable (boolean,默认 false):是否可拖拽
|
|
50
|
+
- overflow (boolean,默认 false):拖动范围可以超出可视区
|
|
51
|
+
- fullscreen (boolean):是否为全屏 Drawer
|
|
52
|
+
- headerClass (string):header 的自定义类名
|
|
53
|
+
- bodyClass (string):body 的自定义类名
|
|
54
|
+
- footerClass (string):footer 的自定义类名
|
|
55
55
|
- showClose (boolean,默认 true):是否显示关闭按钮
|
|
56
56
|
- title (string,默认 ''):Drawer 的标题
|
|
57
|
-
- ariaLevel (
|
|
57
|
+
- ariaLevel (string,默认 2):内容区域 role="dialog" 的 aria-level 属性
|
|
58
58
|
|
|
59
59
|
## Events
|
|
60
60
|
|
|
@@ -112,4 +112,4 @@ const visible = ref(false)
|
|
|
112
112
|
|
|
113
113
|
---
|
|
114
114
|
|
|
115
|
-
ep-craft 0.2.
|
|
115
|
+
ep-craft 0.2.2
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
{
|
|
36
36
|
"alias": null,
|
|
37
37
|
"defaultText": null,
|
|
38
|
-
"description": "",
|
|
38
|
+
"description": "键盘事件的透传监听器(供 Dropdown 内部转发)",
|
|
39
39
|
"hasDefault": false,
|
|
40
40
|
"name": "onKeydown",
|
|
41
41
|
"required": false,
|
|
42
|
-
"type": "
|
|
42
|
+
"type": "(event: KeyboardEvent) => void"
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
"related": [
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
-
"generatedAt": "2026-11-
|
|
90
|
-
"libraryVersion": "0.2.
|
|
91
|
-
"schemaVersion":
|
|
89
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
90
|
+
"libraryVersion": "0.2.2",
|
|
91
|
+
"schemaVersion": 2
|
|
92
92
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
## Props
|
|
21
21
|
|
|
22
|
-
- onKeydown (
|
|
22
|
+
- onKeydown ((event: KeyboardEvent) => void):键盘事件的透传监听器(供 Dropdown 内部转发)
|
|
23
23
|
|
|
24
24
|
## Slots
|
|
25
25
|
|
|
@@ -67,4 +67,4 @@ import { EpButton, EpDropdown, EpDropdownItem, EpDropdownMenu } from 'ep-craft'
|
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
70
|
-
ep-craft 0.2.
|
|
70
|
+
ep-craft 0.2.2
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"alias": null,
|
|
89
|
-
"defaultText":
|
|
90
|
-
"description": "",
|
|
89
|
+
"defaultText": "''",
|
|
90
|
+
"description": "表单项标签位置,缺省时继承 Form",
|
|
91
91
|
"hasDefault": true,
|
|
92
92
|
"name": "labelPosition",
|
|
93
93
|
"required": false,
|
|
94
|
-
"type": "
|
|
94
|
+
"type": "'left' | 'right' | 'top' | ''"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"alias": null,
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
]
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
|
-
"generatedAt": "2026-11-
|
|
240
|
-
"libraryVersion": "0.2.
|
|
241
|
-
"schemaVersion":
|
|
239
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
240
|
+
"libraryVersion": "0.2.2",
|
|
241
|
+
"schemaVersion": 2
|
|
242
242
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
- label (string):标签文本
|
|
27
27
|
- labelWidth (string | number):标签宽度
|
|
28
|
-
- labelPosition (
|
|
28
|
+
- labelPosition ('left' | 'right' | 'top' | '',默认 ''):表单项标签位置,缺省时继承 Form
|
|
29
29
|
- prop (string | string[]):对应表单域 model 的字段名
|
|
30
30
|
- required (boolean,默认 false):是否为必填项
|
|
31
31
|
- rules (FormItemRule | FormItemRule[]):表单验证规则
|
|
@@ -90,4 +90,4 @@ const form = reactive({ username: '' })
|
|
|
90
90
|
|
|
91
91
|
---
|
|
92
92
|
|
|
93
|
-
ep-craft 0.2.
|
|
93
|
+
ep-craft 0.2.2
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
{
|
|
89
89
|
"alias": null,
|
|
90
90
|
"defaultText": null,
|
|
91
|
-
"description": "",
|
|
91
|
+
"description": "原生 id 属性",
|
|
92
92
|
"hasDefault": true,
|
|
93
93
|
"name": "id",
|
|
94
94
|
"required": false,
|
|
95
|
-
"type": "
|
|
95
|
+
"type": "string"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"alias": null,
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
]
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
|
-
"generatedAt": "2026-11-
|
|
368
|
-
"libraryVersion": "0.2.
|
|
369
|
-
"schemaVersion":
|
|
367
|
+
"generatedAt": "2026-11-05T07:02:41.575Z",
|
|
368
|
+
"libraryVersion": "0.2.2",
|
|
369
|
+
"schemaVersion": 2
|
|
370
370
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
## Props
|
|
26
26
|
|
|
27
|
-
- id (
|
|
27
|
+
- id (string,默认 见文档):原生 id 属性
|
|
28
28
|
- step (number,默认 1):计数器步长
|
|
29
29
|
- stepStrictly (boolean,默认 false):是否只能输入 step 的倍数
|
|
30
30
|
- max (number,默认 Infinity):设置计数器允许的最大值
|
|
@@ -124,4 +124,4 @@ const value = ref(2)
|
|
|
124
124
|
|
|
125
125
|
---
|
|
126
126
|
|
|
127
|
-
ep-craft 0.2.
|
|
127
|
+
ep-craft 0.2.2
|