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
|
@@ -38,39 +38,39 @@
|
|
|
38
38
|
- popperStyle (string | object | array):下拉面板自定义样式
|
|
39
39
|
- popperOptions (Partial<Options>,默认 {}):popper.js 配置项
|
|
40
40
|
- props ({ value?: string; label?: string; disabled?: string },默认 { value: 'value', label: 'label', disabled: 'disabled' }):选项字段映射
|
|
41
|
-
- id (
|
|
42
|
-
- size (
|
|
43
|
-
- disabled (
|
|
44
|
-
- modelModifiers (
|
|
45
|
-
- maxlength (
|
|
46
|
-
- minlength (
|
|
47
|
-
- type (
|
|
48
|
-
- resize (
|
|
49
|
-
- autosize (
|
|
50
|
-
- autocomplete (
|
|
51
|
-
- formatter (
|
|
52
|
-
- parser (
|
|
53
|
-
- placeholder (
|
|
54
|
-
- form (
|
|
55
|
-
- readonly (
|
|
56
|
-
- clearable (
|
|
57
|
-
- clearIcon (
|
|
58
|
-
- showPassword (
|
|
59
|
-
- showWordLimit (
|
|
60
|
-
- wordLimitPosition (
|
|
61
|
-
- suffixIcon (
|
|
62
|
-
- prefixIcon (
|
|
63
|
-
- containerRole (
|
|
64
|
-
- tabindex (
|
|
65
|
-
- validateEvent (
|
|
66
|
-
- inputStyle (
|
|
67
|
-
- autofocus (
|
|
68
|
-
- rows (
|
|
69
|
-
- ariaLabel (
|
|
70
|
-
- inputmode (
|
|
71
|
-
- name (
|
|
72
|
-
- countGraphemes (
|
|
73
|
-
- floatLabel (
|
|
41
|
+
- id (string):原生 id 属性
|
|
42
|
+
- size ('large' | 'default' | 'small'):输入框尺寸
|
|
43
|
+
- disabled (boolean,默认 false):是否禁用
|
|
44
|
+
- modelModifiers (Record<string, boolean>,默认 {}):v-model 修饰符对象(由 Vue 注入)
|
|
45
|
+
- maxlength (string | number):最大输入长度
|
|
46
|
+
- minlength (string | number):最小输入长度
|
|
47
|
+
- type ('text' | 'textarea' | 其他原生 input 类型,默认 text):类型
|
|
48
|
+
- resize ('none' | 'both' | 'horizontal' | 'vertical'):控制是否能被用户缩放
|
|
49
|
+
- autosize (boolean | { minRows: number, maxRows: number }):textarea 自适应内容高度
|
|
50
|
+
- autocomplete (string,默认 off):原生 autocomplete 属性
|
|
51
|
+
- formatter ((value: string | number) => string):指定输入值的格式
|
|
52
|
+
- parser ((value: string) => string):指定从格式化器输入中提取的值
|
|
53
|
+
- placeholder (string):输入框占位文本
|
|
54
|
+
- form (string):原生 form 属性
|
|
55
|
+
- readonly (boolean):原生 readonly 属性
|
|
56
|
+
- clearable (boolean):是否显示清除按钮
|
|
57
|
+
- clearIcon (string | Component,默认 CircleClose):自定义清空图标
|
|
58
|
+
- showPassword (boolean):是否显示切换密码图标
|
|
59
|
+
- showWordLimit (boolean):是否显示统计字数
|
|
60
|
+
- wordLimitPosition ('inside' | 'outside',默认 inside):字数统计的位置
|
|
61
|
+
- suffixIcon (string | Component):自定义后缀图标
|
|
62
|
+
- prefixIcon (string | Component):自定义前缀图标
|
|
63
|
+
- containerRole (string):内部容器 role,供选择器类组件复用
|
|
64
|
+
- tabindex (string | number,默认 0):输入框的 tabindex
|
|
65
|
+
- validateEvent (boolean,默认 true):输入时是否触发表单的校验
|
|
66
|
+
- inputStyle (string | object,默认 {}):input 元素或 textarea 元素的 style
|
|
67
|
+
- autofocus (boolean):原生 autofocus 属性
|
|
68
|
+
- rows (number,默认 2):textarea 的行数
|
|
69
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
70
|
+
- inputmode ('search' | 'none' | 'text' | 'email' | 'tel' | 'url' | 'numeric' | 'decimal'):原生 inputmode 属性,用于虚拟键盘
|
|
71
|
+
- name (string):原生 name 属性
|
|
72
|
+
- countGraphemes ((value: string) => number):自定义字数统计函数(按字形计数)
|
|
73
|
+
- floatLabel (boolean):是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮
|
|
74
74
|
|
|
75
75
|
## Events
|
|
76
76
|
|
|
@@ -133,4 +133,4 @@ const options = [
|
|
|
133
133
|
|
|
134
134
|
---
|
|
135
135
|
|
|
136
|
-
ep-craft 0.2.
|
|
136
|
+
ep-craft 0.2.1
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"alias": null,
|
|
54
|
-
"defaultText":
|
|
55
|
-
"description": "",
|
|
54
|
+
"defaultText": "false",
|
|
55
|
+
"description": "内部标记:该选项是否由 allow-create 动态创建",
|
|
56
56
|
"hasDefault": false,
|
|
57
57
|
"name": "created",
|
|
58
58
|
"required": false,
|
|
59
|
-
"type": "
|
|
59
|
+
"type": "boolean"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"alias": null,
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"slotContent": []
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
-
"generatedAt": "2026-11-
|
|
120
|
-
"libraryVersion": "0.2.
|
|
119
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
120
|
+
"libraryVersion": "0.2.1",
|
|
121
121
|
"schemaVersion": 1
|
|
122
122
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
- value (string | number | boolean | object,必填):选项的值
|
|
27
27
|
- label (string | number):选项的标签
|
|
28
|
-
- created (
|
|
28
|
+
- created (boolean):内部标记:该选项是否由 allow-create 动态创建
|
|
29
29
|
- disabled (boolean):是否禁用该选项
|
|
30
30
|
|
|
31
31
|
## 关系
|
|
@@ -67,4 +67,4 @@ const value = ref('vue')
|
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
70
|
-
ep-craft 0.2.
|
|
70
|
+
ep-craft 0.2.1
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
{
|
|
170
170
|
"alias": null,
|
|
171
171
|
"defaultText": null,
|
|
172
|
-
"description": "",
|
|
172
|
+
"description": "每页显示个数选择器下拉框的自定义样式",
|
|
173
173
|
"hasDefault": false,
|
|
174
174
|
"name": "popperStyle",
|
|
175
175
|
"required": false,
|
|
176
|
-
"type": "
|
|
176
|
+
"type": "string | object"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"alias": null,
|
|
@@ -231,12 +231,12 @@
|
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
"alias": null,
|
|
234
|
-
"defaultText":
|
|
235
|
-
"description": "",
|
|
234
|
+
"defaultText": "default",
|
|
235
|
+
"description": "分页组件尺寸",
|
|
236
236
|
"hasDefault": false,
|
|
237
237
|
"name": "size",
|
|
238
238
|
"required": false,
|
|
239
|
-
"type": "
|
|
239
|
+
"type": "'large' | 'default' | 'small'"
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"alias": null,
|
|
@@ -268,11 +268,11 @@
|
|
|
268
268
|
{
|
|
269
269
|
"alias": null,
|
|
270
270
|
"defaultText": null,
|
|
271
|
-
"description": "",
|
|
271
|
+
"description": "每页显示个数选择器的下拉列表挂载到哪个元素",
|
|
272
272
|
"hasDefault": false,
|
|
273
273
|
"name": "appendSizeTo",
|
|
274
274
|
"required": false,
|
|
275
|
-
"type": "
|
|
275
|
+
"type": "string"
|
|
276
276
|
}
|
|
277
277
|
],
|
|
278
278
|
"related": [
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
]
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
|
-
"generatedAt": "2026-11-
|
|
323
|
-
"libraryVersion": "0.2.
|
|
322
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
323
|
+
"libraryVersion": "0.2.1",
|
|
324
324
|
"schemaVersion": 1
|
|
325
325
|
}
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
- layout (string,默认 'prev, pager, next, jumper, ->, total'):组件布局
|
|
34
34
|
- pageSizes (number[],默认 [10, 20, 30, 40, 50, 100]):每页显示个数选择器的选项设置
|
|
35
35
|
- popperClass (string,默认 见文档):每页显示个数选择器的下拉框类名
|
|
36
|
-
- popperStyle (
|
|
36
|
+
- popperStyle (string | object):每页显示个数选择器下拉框的自定义样式
|
|
37
37
|
- prevText (string,默认 见文档):替代图标显示的上一页文字
|
|
38
38
|
- prevIcon (string | Component,默认 ArrowLeft):上一页的图标
|
|
39
39
|
- nextText (string,默认 见文档):替代图标显示的下一页文字
|
|
40
40
|
- nextIcon (string | Component,默认 ArrowRight):下一页的图标
|
|
41
41
|
- teleported (boolean,默认 true):是否将下拉菜单 teleport 至 body
|
|
42
42
|
- small (boolean):是否使用小型分页样式
|
|
43
|
-
- size (
|
|
43
|
+
- size ('large' | 'default' | 'small'):分页组件尺寸
|
|
44
44
|
- background (boolean):是否为分页按钮添加背景色
|
|
45
45
|
- disabled (boolean):是否禁用分页
|
|
46
46
|
- hideOnSinglePage (boolean):只有一页时是否隐藏
|
|
47
|
-
- appendSizeTo (
|
|
47
|
+
- appendSizeTo (string):每页显示个数选择器的下拉列表挂载到哪个元素
|
|
48
48
|
|
|
49
49
|
## Events
|
|
50
50
|
|
|
@@ -112,4 +112,4 @@ const pageSize = ref(20)
|
|
|
112
112
|
|
|
113
113
|
---
|
|
114
114
|
|
|
115
|
-
ep-craft 0.2.
|
|
115
|
+
ep-craft 0.2.1
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"alias": null,
|
|
84
|
-
"defaultText":
|
|
85
|
-
"description": "",
|
|
84
|
+
"defaultText": "['Enter', 'Space']",
|
|
85
|
+
"description": "触发 popover 显示的按键",
|
|
86
86
|
"hasDefault": true,
|
|
87
87
|
"name": "triggerKeys",
|
|
88
88
|
"required": false,
|
|
89
|
-
"type": "
|
|
89
|
+
"type": "string[]"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"alias": null,
|
|
@@ -126,21 +126,21 @@
|
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"alias": null,
|
|
129
|
-
"defaultText":
|
|
130
|
-
"description": "",
|
|
129
|
+
"defaultText": "{}",
|
|
130
|
+
"description": "popper.js 的参数",
|
|
131
131
|
"hasDefault": true,
|
|
132
132
|
"name": "popperOptions",
|
|
133
133
|
"required": false,
|
|
134
|
-
"type": "
|
|
134
|
+
"type": "object"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"alias": null,
|
|
138
|
-
"defaultText":
|
|
139
|
-
"description": "",
|
|
138
|
+
"defaultText": "0",
|
|
139
|
+
"description": "触发元素的 tabindex",
|
|
140
140
|
"hasDefault": true,
|
|
141
141
|
"name": "tabindex",
|
|
142
142
|
"required": false,
|
|
143
|
-
"type": "
|
|
143
|
+
"type": "string | number"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"alias": null,
|
|
@@ -171,12 +171,12 @@
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"alias": null,
|
|
174
|
-
"defaultText":
|
|
175
|
-
"description": "",
|
|
174
|
+
"defaultText": "true",
|
|
175
|
+
"description": "鼠标是否可进入到 popover 中",
|
|
176
176
|
"hasDefault": true,
|
|
177
177
|
"name": "enterable",
|
|
178
178
|
"required": false,
|
|
179
|
-
"type": "
|
|
179
|
+
"type": "boolean"
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"alias": null,
|
|
@@ -198,12 +198,12 @@
|
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"alias": null,
|
|
201
|
-
"defaultText":
|
|
202
|
-
"description": "",
|
|
201
|
+
"defaultText": "body",
|
|
202
|
+
"description": "popover 挂载到哪个元素",
|
|
203
203
|
"hasDefault": false,
|
|
204
204
|
"name": "appendTo",
|
|
205
205
|
"required": false,
|
|
206
|
-
"type": "
|
|
206
|
+
"type": "string | HTMLElement"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"alias": null,
|
|
@@ -280,11 +280,11 @@
|
|
|
280
280
|
{
|
|
281
281
|
"alias": null,
|
|
282
282
|
"defaultText": null,
|
|
283
|
-
"description": "",
|
|
283
|
+
"description": "可见性变化回调(v-model:visible 的内部监听器)",
|
|
284
284
|
"hasDefault": false,
|
|
285
285
|
"name": "onUpdate:visible",
|
|
286
286
|
"required": false,
|
|
287
|
-
"type": "
|
|
287
|
+
"type": "(visible: boolean) => void"
|
|
288
288
|
}
|
|
289
289
|
],
|
|
290
290
|
"related": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
]
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
|
-
"generatedAt": "2026-11-
|
|
349
|
-
"libraryVersion": "0.2.
|
|
348
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
349
|
+
"libraryVersion": "0.2.1",
|
|
350
350
|
"schemaVersion": 1
|
|
351
351
|
}
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
## Props
|
|
26
26
|
|
|
27
27
|
- trigger ('click' | 'focus' | 'hover' | 'contextmenu',默认 hover):触发方式
|
|
28
|
-
- triggerKeys (
|
|
28
|
+
- triggerKeys (string[],默认 ['Enter', 'Space']):触发 popover 显示的按键
|
|
29
29
|
- placement (Placement,默认 bottom):出现位置
|
|
30
30
|
- disabled (boolean):Popover 是否可用
|
|
31
31
|
- visible(别名 v-model:visible) (boolean,默认 见文档):Popover 是否显示
|
|
32
32
|
- transition (string):定义渐变动画
|
|
33
|
-
- popperOptions (
|
|
34
|
-
- tabindex (
|
|
33
|
+
- popperOptions (object,默认 {}):popper.js 的参数
|
|
34
|
+
- tabindex (string | number,默认 0):触发元素的 tabindex
|
|
35
35
|
- content (string,默认 见文档):显示的内容
|
|
36
36
|
- popperStyle (string | object,默认 见文档):为 popper 自定义样式
|
|
37
37
|
- popperClass (string):为 popper 添加类名
|
|
38
|
-
- enterable (
|
|
38
|
+
- enterable (boolean,默认 true):鼠标是否可进入到 popover 中
|
|
39
39
|
- effect ('dark' | 'light',默认 light):Tooltip 主题
|
|
40
40
|
- teleported (boolean,默认 true):是否将 popover 的下拉列表插入至 body 元素
|
|
41
|
-
- appendTo (
|
|
41
|
+
- appendTo (string | HTMLElement):popover 挂载到哪个元素
|
|
42
42
|
- title (string):标题
|
|
43
43
|
- width (string | number,默认 150):宽度
|
|
44
44
|
- offset (number,默认 0):出现位置的偏移量
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
- autoClose (number,默认 0):出现后自动隐藏延时
|
|
48
48
|
- showArrow (boolean,默认 true):是否显示箭头
|
|
49
49
|
- persistent (boolean,默认 true):当 popover 组件长时间不触发且 persistent 为 false 时,popover 将被删除
|
|
50
|
-
- onUpdate:visible (
|
|
50
|
+
- onUpdate:visible ((visible: boolean) => void):可见性变化回调(v-model:visible 的内部监听器)
|
|
51
51
|
|
|
52
52
|
## Events
|
|
53
53
|
|
|
@@ -96,4 +96,4 @@ import { EpButton, EpPopover } from 'ep-craft'
|
|
|
96
96
|
|
|
97
97
|
---
|
|
98
98
|
|
|
99
|
-
ep-craft 0.2.
|
|
99
|
+
ep-craft 0.2.1
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"alias": null,
|
|
91
|
-
"defaultText":
|
|
92
|
-
"description": "",
|
|
91
|
+
"defaultText": "round",
|
|
92
|
+
"description": "进度条线端样式",
|
|
93
93
|
"hasDefault": true,
|
|
94
94
|
"name": "strokeLinecap",
|
|
95
95
|
"required": false,
|
|
96
|
-
"type": "
|
|
96
|
+
"type": "'butt' | 'round' | 'square'"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"alias": null,
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
]
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
"generatedAt": "2026-11-
|
|
217
|
-
"libraryVersion": "0.2.
|
|
216
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
217
|
+
"libraryVersion": "0.2.1",
|
|
218
218
|
"schemaVersion": 1
|
|
219
219
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
- indeterminate (boolean):是否为动画进度条
|
|
32
32
|
- duration (number,默认 3):控制动画进度条速度
|
|
33
33
|
- strokeWidth (number,默认 6):进度条的宽度
|
|
34
|
-
- strokeLinecap (
|
|
34
|
+
- strokeLinecap ('butt' | 'round' | 'square',默认 round):进度条线端样式
|
|
35
35
|
- textInside (boolean):进度条显示文字内置在进度条内
|
|
36
36
|
- width (number,默认 126):环形进度条画布宽度
|
|
37
37
|
- showText (boolean,默认 true):是否显示进度条文字内容
|
|
@@ -71,4 +71,4 @@ import { EpProgress } from 'ep-craft'
|
|
|
71
71
|
|
|
72
72
|
---
|
|
73
73
|
|
|
74
|
-
ep-craft 0.2.
|
|
74
|
+
ep-craft 0.2.1
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
],
|
|
34
34
|
"props": [
|
|
35
35
|
{
|
|
36
|
-
"alias":
|
|
36
|
+
"alias": "v-model",
|
|
37
37
|
"defaultText": null,
|
|
38
|
-
"description": "",
|
|
38
|
+
"description": "绑定值",
|
|
39
39
|
"hasDefault": true,
|
|
40
40
|
"name": "modelValue",
|
|
41
41
|
"required": false,
|
|
42
|
-
"type": "
|
|
42
|
+
"type": "string | number | boolean"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"alias": null,
|
|
46
46
|
"defaultText": null,
|
|
47
|
-
"description": "",
|
|
47
|
+
"description": "RadioButton 的尺寸",
|
|
48
48
|
"hasDefault": false,
|
|
49
49
|
"name": "size",
|
|
50
50
|
"required": false,
|
|
51
|
-
"type": "
|
|
51
|
+
"type": "'large' | 'default' | 'small'"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"alias": null,
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
]
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
|
-
"generatedAt": "2026-11-
|
|
140
|
-
"libraryVersion": "0.2.
|
|
139
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
140
|
+
"libraryVersion": "0.2.1",
|
|
141
141
|
"schemaVersion": 1
|
|
142
142
|
}
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
## Props
|
|
25
25
|
|
|
26
|
-
- modelValue (
|
|
27
|
-
- size (
|
|
26
|
+
- modelValue(别名 v-model) (string | number | boolean,默认 见文档):绑定值
|
|
27
|
+
- size ('large' | 'default' | 'small'):RadioButton 的尺寸
|
|
28
28
|
- disabled (boolean,默认 false):是否禁用
|
|
29
29
|
- label (string | number | boolean,默认 见文档):单选框的值(已废弃)
|
|
30
30
|
- value (string | number | boolean,默认 见文档):单选框的值
|
|
@@ -73,4 +73,4 @@ const value = ref('day')
|
|
|
73
73
|
|
|
74
74
|
---
|
|
75
75
|
|
|
76
|
-
ep-craft 0.2.
|
|
76
|
+
ep-craft 0.2.1
|
|
@@ -118,38 +118,38 @@
|
|
|
118
118
|
{
|
|
119
119
|
"alias": null,
|
|
120
120
|
"defaultText": null,
|
|
121
|
-
"description": "",
|
|
121
|
+
"description": "以数据驱动方式渲染单选项列表",
|
|
122
122
|
"hasDefault": false,
|
|
123
123
|
"name": "options",
|
|
124
124
|
"required": false,
|
|
125
|
-
"type": "
|
|
125
|
+
"type": "Record<string, any>[]"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"alias": null,
|
|
129
|
-
"defaultText":
|
|
130
|
-
"description": "",
|
|
129
|
+
"defaultText": "{ value: 'value', label: 'label', disabled: 'disabled' }",
|
|
130
|
+
"description": "配置 options 中 value / label / disabled 的字段名",
|
|
131
131
|
"hasDefault": true,
|
|
132
132
|
"name": "props",
|
|
133
133
|
"required": false,
|
|
134
|
-
"type": "
|
|
134
|
+
"type": "{ value?: string, label?: string, disabled?: string }"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"alias": null,
|
|
138
|
-
"defaultText":
|
|
139
|
-
"description": "",
|
|
138
|
+
"defaultText": "radio",
|
|
139
|
+
"description": "单选项的渲染形态",
|
|
140
140
|
"hasDefault": true,
|
|
141
141
|
"name": "type",
|
|
142
142
|
"required": false,
|
|
143
|
-
"type": "
|
|
143
|
+
"type": "'radio' | 'button'"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"alias": null,
|
|
147
147
|
"defaultText": null,
|
|
148
|
-
"description": "",
|
|
148
|
+
"description": "原生 aria-label 属性",
|
|
149
149
|
"hasDefault": false,
|
|
150
150
|
"name": "ariaLabel",
|
|
151
151
|
"required": false,
|
|
152
|
-
"type": "
|
|
152
|
+
"type": "string"
|
|
153
153
|
}
|
|
154
154
|
],
|
|
155
155
|
"related": [
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
]
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
"generatedAt": "2026-11-
|
|
217
|
-
"libraryVersion": "0.2.
|
|
216
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
217
|
+
"libraryVersion": "0.2.1",
|
|
218
218
|
"schemaVersion": 1
|
|
219
219
|
}
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
- textColor (string,默认 #ffffff):按钮形式的 Radio 激活时的文本颜色
|
|
33
33
|
- name (string,默认 见文档):原生 name 属性
|
|
34
34
|
- validateEvent (boolean,默认 true):是否触发表单验证
|
|
35
|
-
- options (
|
|
36
|
-
- props (
|
|
37
|
-
- type (
|
|
38
|
-
- ariaLabel (
|
|
35
|
+
- options (Record<string, any>[]):以数据驱动方式渲染单选项列表
|
|
36
|
+
- props ({ value?: string, label?: string, disabled?: string },默认 { value: 'value', label: 'label', disabled: 'disabled' }):配置 options 中 value / label / disabled 的字段名
|
|
37
|
+
- type ('radio' | 'button',默认 radio):单选项的渲染形态
|
|
38
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
39
39
|
|
|
40
40
|
## Events
|
|
41
41
|
|
|
@@ -85,4 +85,4 @@ const value = ref('primary')
|
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
-
ep-craft 0.2.
|
|
88
|
+
ep-craft 0.2.1
|