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.
Files changed (235) hide show
  1. package/dist-ai/components/affix.json +2 -2
  2. package/dist-ai/components/affix.md +1 -1
  3. package/dist-ai/components/alert.json +2 -2
  4. package/dist-ai/components/alert.md +1 -1
  5. package/dist-ai/components/anchor-link.json +2 -2
  6. package/dist-ai/components/anchor-link.md +1 -1
  7. package/dist-ai/components/anchor.json +2 -2
  8. package/dist-ai/components/anchor.md +1 -1
  9. package/dist-ai/components/aside.json +2 -2
  10. package/dist-ai/components/aside.md +1 -1
  11. package/dist-ai/components/autocomplete.json +85 -85
  12. package/dist-ai/components/autocomplete.md +34 -34
  13. package/dist-ai/components/avatar.json +2 -2
  14. package/dist-ai/components/avatar.md +1 -1
  15. package/dist-ai/components/backtop.json +2 -2
  16. package/dist-ai/components/backtop.md +1 -1
  17. package/dist-ai/components/badge.json +2 -2
  18. package/dist-ai/components/badge.md +1 -1
  19. package/dist-ai/components/breadcrumb-item.json +2 -2
  20. package/dist-ai/components/breadcrumb-item.md +1 -1
  21. package/dist-ai/components/breadcrumb.json +2 -2
  22. package/dist-ai/components/breadcrumb.md +1 -1
  23. package/dist-ai/components/button-group.json +5 -5
  24. package/dist-ai/components/button-group.md +2 -2
  25. package/dist-ai/components/button.json +2 -2
  26. package/dist-ai/components/button.md +1 -1
  27. package/dist-ai/components/calendar.json +2 -2
  28. package/dist-ai/components/calendar.md +1 -1
  29. package/dist-ai/components/card.json +6 -6
  30. package/dist-ai/components/card.md +3 -3
  31. package/dist-ai/components/carousel-item.json +2 -2
  32. package/dist-ai/components/carousel-item.md +1 -1
  33. package/dist-ai/components/carousel.json +2 -2
  34. package/dist-ai/components/carousel.md +1 -1
  35. package/dist-ai/components/cascader-panel.json +2 -2
  36. package/dist-ai/components/cascader-panel.md +1 -1
  37. package/dist-ai/components/cascader.json +8 -8
  38. package/dist-ai/components/cascader.md +3 -3
  39. package/dist-ai/components/check-tag.json +2 -2
  40. package/dist-ai/components/check-tag.md +1 -1
  41. package/dist-ai/components/checkbox-button.json +2 -2
  42. package/dist-ai/components/checkbox-button.md +1 -1
  43. package/dist-ai/components/checkbox-group.json +2 -2
  44. package/dist-ai/components/checkbox-group.md +1 -1
  45. package/dist-ai/components/checkbox.json +2 -2
  46. package/dist-ai/components/checkbox.md +1 -1
  47. package/dist-ai/components/col.json +2 -2
  48. package/dist-ai/components/col.md +1 -1
  49. package/dist-ai/components/collapse-item.json +2 -2
  50. package/dist-ai/components/collapse-item.md +1 -1
  51. package/dist-ai/components/collapse-transition.json +2 -2
  52. package/dist-ai/components/collapse-transition.md +1 -1
  53. package/dist-ai/components/collapse.json +2 -2
  54. package/dist-ai/components/collapse.md +1 -1
  55. package/dist-ai/components/color-picker.json +2 -2
  56. package/dist-ai/components/color-picker.md +1 -1
  57. package/dist-ai/components/config-provider.json +2 -2
  58. package/dist-ai/components/config-provider.md +1 -1
  59. package/dist-ai/components/container.json +2 -2
  60. package/dist-ai/components/container.md +1 -1
  61. package/dist-ai/components/countdown.json +2 -2
  62. package/dist-ai/components/countdown.md +1 -1
  63. package/dist-ai/components/date-picker-panel.json +8 -8
  64. package/dist-ai/components/date-picker-panel.md +4 -4
  65. package/dist-ai/components/date-picker.json +64 -64
  66. package/dist-ai/components/date-picker.md +24 -24
  67. package/dist-ai/components/descriptions-item.json +2 -2
  68. package/dist-ai/components/descriptions-item.md +1 -1
  69. package/dist-ai/components/descriptions.json +2 -2
  70. package/dist-ai/components/descriptions.md +1 -1
  71. package/dist-ai/components/dialog.json +25 -25
  72. package/dist-ai/components/dialog.md +10 -10
  73. package/dist-ai/components/divider.json +2 -2
  74. package/dist-ai/components/divider.md +1 -1
  75. package/dist-ai/components/drawer.json +52 -52
  76. package/dist-ai/components/drawer.md +19 -19
  77. package/dist-ai/components/dropdown-item.json +2 -2
  78. package/dist-ai/components/dropdown-item.md +1 -1
  79. package/dist-ai/components/dropdown-menu.json +4 -4
  80. package/dist-ai/components/dropdown-menu.md +2 -2
  81. package/dist-ai/components/dropdown.json +2 -2
  82. package/dist-ai/components/dropdown.md +1 -1
  83. package/dist-ai/components/empty.json +2 -2
  84. package/dist-ai/components/empty.md +1 -1
  85. package/dist-ai/components/footer.json +2 -2
  86. package/dist-ai/components/footer.md +1 -1
  87. package/dist-ai/components/form-item.json +5 -5
  88. package/dist-ai/components/form-item.md +2 -2
  89. package/dist-ai/components/form.json +2 -2
  90. package/dist-ai/components/form.md +1 -1
  91. package/dist-ai/components/header.json +2 -2
  92. package/dist-ai/components/header.md +1 -1
  93. package/dist-ai/components/icon.json +2 -2
  94. package/dist-ai/components/icon.md +1 -1
  95. package/dist-ai/components/image-viewer.json +2 -2
  96. package/dist-ai/components/image-viewer.md +1 -1
  97. package/dist-ai/components/image.json +2 -2
  98. package/dist-ai/components/image.md +1 -1
  99. package/dist-ai/components/input-number.json +4 -4
  100. package/dist-ai/components/input-number.md +2 -2
  101. package/dist-ai/components/input.json +21 -21
  102. package/dist-ai/components/input.md +9 -9
  103. package/dist-ai/components/link.json +2 -2
  104. package/dist-ai/components/link.md +1 -1
  105. package/dist-ai/components/main.json +2 -2
  106. package/dist-ai/components/main.md +1 -1
  107. package/dist-ai/components/mention.json +85 -85
  108. package/dist-ai/components/mention.md +34 -34
  109. package/dist-ai/components/menu-item-group.json +2 -2
  110. package/dist-ai/components/menu-item-group.md +1 -1
  111. package/dist-ai/components/menu-item.json +2 -2
  112. package/dist-ai/components/menu-item.md +1 -1
  113. package/dist-ai/components/menu.json +2 -2
  114. package/dist-ai/components/menu.md +1 -1
  115. package/dist-ai/components/option-group.json +2 -2
  116. package/dist-ai/components/option-group.md +1 -1
  117. package/dist-ai/components/option.json +5 -5
  118. package/dist-ai/components/option.md +2 -2
  119. package/dist-ai/components/page-header.json +2 -2
  120. package/dist-ai/components/page-header.md +1 -1
  121. package/dist-ai/components/pagination.json +9 -9
  122. package/dist-ai/components/pagination.md +4 -4
  123. package/dist-ai/components/popconfirm.json +2 -2
  124. package/dist-ai/components/popconfirm.md +1 -1
  125. package/dist-ai/components/popover.json +19 -19
  126. package/dist-ai/components/popover.md +7 -7
  127. package/dist-ai/components/popper.json +2 -2
  128. package/dist-ai/components/popper.md +1 -1
  129. package/dist-ai/components/progress.json +5 -5
  130. package/dist-ai/components/progress.md +2 -2
  131. package/dist-ai/components/radio-button.json +7 -7
  132. package/dist-ai/components/radio-button.md +3 -3
  133. package/dist-ai/components/radio-group.json +12 -12
  134. package/dist-ai/components/radio-group.md +5 -5
  135. package/dist-ai/components/radio.json +2 -2
  136. package/dist-ai/components/radio.md +1 -1
  137. package/dist-ai/components/rate.json +4 -4
  138. package/dist-ai/components/rate.md +2 -2
  139. package/dist-ai/components/result.json +2 -2
  140. package/dist-ai/components/result.md +1 -1
  141. package/dist-ai/components/row.json +2 -2
  142. package/dist-ai/components/row.md +1 -1
  143. package/dist-ai/components/scrollbar.json +4 -4
  144. package/dist-ai/components/scrollbar.md +2 -2
  145. package/dist-ai/components/segmented.json +2 -2
  146. package/dist-ai/components/segmented.md +1 -1
  147. package/dist-ai/components/select-v2.json +2 -2
  148. package/dist-ai/components/select-v2.md +1 -1
  149. package/dist-ai/components/select.json +44 -44
  150. package/dist-ai/components/select.md +16 -16
  151. package/dist-ai/components/skeleton-item.json +2 -2
  152. package/dist-ai/components/skeleton-item.md +1 -1
  153. package/dist-ai/components/skeleton.json +2 -2
  154. package/dist-ai/components/skeleton.md +1 -1
  155. package/dist-ai/components/slider.json +9 -9
  156. package/dist-ai/components/slider.md +4 -4
  157. package/dist-ai/components/space.json +5 -5
  158. package/dist-ai/components/space.md +2 -2
  159. package/dist-ai/components/statistic.json +2 -2
  160. package/dist-ai/components/statistic.md +1 -1
  161. package/dist-ai/components/step.json +2 -2
  162. package/dist-ai/components/step.md +1 -1
  163. package/dist-ai/components/steps.json +2 -2
  164. package/dist-ai/components/steps.md +1 -1
  165. package/dist-ai/components/sub-menu.json +2 -2
  166. package/dist-ai/components/sub-menu.md +1 -1
  167. package/dist-ai/components/switch.json +13 -13
  168. package/dist-ai/components/switch.md +6 -6
  169. package/dist-ai/components/tab-pane.json +2 -2
  170. package/dist-ai/components/tab-pane.md +1 -1
  171. package/dist-ai/components/table-column.json +8 -8
  172. package/dist-ai/components/table-column.md +4 -4
  173. package/dist-ai/components/table-v2.json +2 -2
  174. package/dist-ai/components/table-v2.md +1 -1
  175. package/dist-ai/components/table.json +37 -37
  176. package/dist-ai/components/table.md +16 -16
  177. package/dist-ai/components/tabs.json +7 -7
  178. package/dist-ai/components/tabs.md +3 -3
  179. package/dist-ai/components/tag.json +2 -2
  180. package/dist-ai/components/tag.md +1 -1
  181. package/dist-ai/components/text.json +2 -2
  182. package/dist-ai/components/text.md +1 -1
  183. package/dist-ai/components/time-picker.json +2 -2
  184. package/dist-ai/components/time-picker.md +1 -1
  185. package/dist-ai/components/time-select.json +2 -2
  186. package/dist-ai/components/time-select.md +1 -1
  187. package/dist-ai/components/timeline-item.json +2 -2
  188. package/dist-ai/components/timeline-item.md +1 -1
  189. package/dist-ai/components/timeline.json +2 -2
  190. package/dist-ai/components/timeline.md +1 -1
  191. package/dist-ai/components/tooltip.json +72 -72
  192. package/dist-ai/components/tooltip.md +30 -30
  193. package/dist-ai/components/tour-step.json +2 -2
  194. package/dist-ai/components/tour-step.md +1 -1
  195. package/dist-ai/components/tour.json +2 -2
  196. package/dist-ai/components/tour.md +1 -1
  197. package/dist-ai/components/transfer.json +2 -2
  198. package/dist-ai/components/transfer.md +1 -1
  199. package/dist-ai/components/tree-select.json +135 -135
  200. package/dist-ai/components/tree-select.md +50 -50
  201. package/dist-ai/components/tree-v2.json +2 -2
  202. package/dist-ai/components/tree-v2.md +1 -1
  203. package/dist-ai/components/tree.json +2 -2
  204. package/dist-ai/components/tree.md +1 -1
  205. package/dist-ai/components/upload.json +7 -7
  206. package/dist-ai/components/upload.md +3 -3
  207. package/dist-ai/components/watermark.json +2 -2
  208. package/dist-ai/components/watermark.md +1 -1
  209. package/dist-ai/directives/click-outside.json +2 -2
  210. package/dist-ai/directives/click-outside.md +1 -1
  211. package/dist-ai/directives/infinite-scroll.json +2 -2
  212. package/dist-ai/directives/infinite-scroll.md +1 -1
  213. package/dist-ai/directives/loading.json +2 -2
  214. package/dist-ai/directives/loading.md +1 -1
  215. package/dist-ai/directives/mousewheel.json +2 -2
  216. package/dist-ai/directives/mousewheel.md +1 -1
  217. package/dist-ai/directives/repeat-click.json +2 -2
  218. package/dist-ai/directives/repeat-click.md +1 -1
  219. package/dist-ai/directives/trap-focus.json +2 -2
  220. package/dist-ai/directives/trap-focus.md +1 -1
  221. package/dist-ai/icons.json +1 -1
  222. package/dist-ai/index.json +1 -1
  223. package/dist-ai/llms.txt +1 -1
  224. package/dist-ai/manifest.json +714 -714
  225. package/dist-ai/services/infinite-scroll.json +2 -2
  226. package/dist-ai/services/infinite-scroll.md +1 -1
  227. package/dist-ai/services/loading.json +2 -2
  228. package/dist-ai/services/loading.md +1 -1
  229. package/dist-ai/services/message-box.json +2 -2
  230. package/dist-ai/services/message-box.md +1 -1
  231. package/dist-ai/services/message.json +2 -2
  232. package/dist-ai/services/message.md +1 -1
  233. package/dist-ai/services/notification.json +2 -2
  234. package/dist-ai/services/notification.md +1 -1
  235. package/package.json +1 -1
@@ -24,62 +24,62 @@
24
24
 
25
25
  ## Props
26
26
 
27
- - name (unknown)
28
- - id (unknown)
27
+ - name (string):原生 name 属性
28
+ - id (string):原生 id 属性
29
29
  - modelValue(别名 v-model) (TreeKey | TreeKey[],默认 见文档):绑定值,多选时为数组
30
- - autocomplete (unknown,默认 见文档)
31
- - automaticDropdown (unknown)
30
+ - autocomplete (string,默认 off):原生 autocomplete 属性
31
+ - automaticDropdown (boolean):获取焦点后是否自动弹出下拉框
32
32
  - size ('large' | 'default' | 'small'):尺寸
33
- - effect (unknown,默认 见文档)
33
+ - effect ('dark' | 'light',默认 light):下拉框主题
34
34
  - disabled (boolean,默认 见文档):是否禁用
35
35
  - clearable (boolean):是否可清空
36
36
  - filterable (boolean):是否可搜索
37
- - allowCreate (unknown)
38
- - loading (unknown)
37
+ - allowCreate (boolean):是否允许用户创建新条目
38
+ - loading (boolean):是否正在从远程获取数据
39
39
  - popperClass (string,默认 见文档):下拉框自定义类名
40
- - popperStyle (unknown)
41
- - popperOptions (unknown,默认 见文档)
42
- - remote (unknown)
43
- - debounce (unknown,默认 见文档)
44
- - loadingText (unknown)
45
- - noMatchText (unknown)
46
- - noDataText (unknown)
47
- - remoteMethod (unknown)
48
- - filterMethod (unknown)
40
+ - popperStyle (string | object):下拉框的自定义样式
41
+ - popperOptions (object,默认 {}):popper.js 参数
42
+ - remote (boolean):是否为远程搜索
43
+ - debounce (number,默认 300):远程搜索去抖延迟(毫秒)
44
+ - loadingText (string):远程加载时显示的文字
45
+ - noMatchText (string):搜索条件无匹配时显示的文字
46
+ - noDataText (string):无选项时显示的文字
47
+ - remoteMethod ((query: string) => void):远程搜索方法
48
+ - filterMethod ((query: string) => void):自定义搜索过滤方法
49
49
  - multiple (boolean):是否多选
50
- - multipleLimit (unknown,默认 见文档)
50
+ - multipleLimit (number,默认 0):多选时可被选择的最大数目(0 为不限制)
51
51
  - placeholder (string):占位符
52
- - defaultFirstOption (unknown)
53
- - reserveKeyword (unknown,默认 见文档)
52
+ - defaultFirstOption (boolean):按下回车是否选择第一个匹配项
53
+ - reserveKeyword (boolean,默认 true):多选且可搜索时选中后是否保留关键字
54
54
  - valueKey (string,默认 value):选项对象中作为 value 的键名
55
55
  - collapseTags (boolean):多选时是否折叠标签
56
56
  - collapseTagsTooltip (boolean):折叠标签悬停时是否展示全部标签
57
- - tagTooltip (unknown,默认 见文档)
58
- - maxCollapseTags (unknown,默认 见文档)
57
+ - tagTooltip (object,默认 {}):折叠标签 tooltip 的配置对象
58
+ - maxCollapseTags (number,默认 1):需要显示的 Tag 的最大数量
59
59
  - teleported (boolean,默认 见文档):是否将下拉框 teleport 到 body
60
- - persistent (unknown,默认 见文档)
61
- - clearIcon (unknown,默认 见文档)
62
- - fitInputWidth (unknown)
63
- - suffixIcon (unknown,默认 见文档)
64
- - tagType (unknown,默认 见文档)
65
- - tagEffect (unknown,默认 见文档)
60
+ - persistent (boolean,默认 true):下拉框关闭后是否保留 DOM
61
+ - clearIcon (string | Component,默认 CircleClose):自定义清空图标
62
+ - fitInputWidth (boolean):下拉框宽度是否与输入框一致
63
+ - suffixIcon (string | Component,默认 ArrowDown):自定义后缀图标
64
+ - tagType ('success' | 'info' | 'warning' | 'danger',默认 info):标签类型
65
+ - tagEffect ('dark' | 'light' | 'plain',默认 light):标签主题
66
66
  - validateEvent (boolean,默认 true):是否触发表单校验
67
- - remoteShowSuffix (unknown)
68
- - showArrow (unknown,默认 见文档)
69
- - offset (unknown,默认 见文档)
70
- - placement (unknown,默认 见文档)
71
- - fallbackPlacements (unknown,默认 见文档)
72
- - tabindex (unknown,默认 见文档)
73
- - appendTo (unknown)
74
- - options (unknown)
67
+ - remoteShowSuffix (boolean):远程搜索时是否显示后缀图标
68
+ - showArrow (boolean,默认 true):是否显示下拉箭头
69
+ - offset (number,默认 12):下拉框出现的偏移量
70
+ - placement (Placement,默认 bottom-start):下拉框出现的位置
71
+ - fallbackPlacements (Placement[],默认 ['bottom-start', 'top-start', 'right', 'left']):下拉框可能出现的备用位置列表
72
+ - tabindex (string | number,默认 0):输入框的 tabindex
73
+ - appendTo (string | HTMLElement):下拉列表挂载到哪个元素
74
+ - options (Array):以数据驱动方式提供的选项列表
75
75
  - props ({ children?: string; label?: string; disabled?: string },默认 { children: 'children', label: 'label', disabled: 'disabled' }):树节点字段映射
76
- - floatLabel (unknown,默认 见文档)
77
- - emptyValues (unknown)
78
- - valueOnClear (unknown,默认 见文档)
79
- - ariaLabel (unknown)
80
- - ariaLabelledby (unknown)
76
+ - floatLabel (boolean,默认 false):是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮
77
+ - emptyValues (any[]):视为空值的值列表
78
+ - valueOnClear (string | number | boolean | Function | null,默认 undefined):清空时写入的值
79
+ - ariaLabel (string):原生 aria-label 属性
80
+ - ariaLabelledby (string):原生 aria-labelledby 属性
81
81
  - data (TreeData,默认 []):树数据
82
- - emptyText (unknown)
82
+ - emptyText (string):无数据时显示的文本
83
83
  - renderAfterExpand (boolean,默认 true):是否在第一次展开时才渲染子节点
84
84
  - nodeKey (string):树节点唯一标识的属性名
85
85
  - checkStrictly (boolean):勾选时是否不关联父子节点
@@ -91,19 +91,19 @@
91
91
  - autoExpandParent (boolean,默认 true):是否自动展开父节点
92
92
  - defaultCheckedKeys (TreeKey[]):默认勾选的节点 key 数组
93
93
  - defaultExpandedKeys (TreeKey[]):默认展开的节点 key 数组
94
- - currentNodeKey (unknown)
95
- - renderContent (unknown)
94
+ - currentNodeKey (string | number):当前选中节点的 key
95
+ - renderContent ((h, { node, data, store }) => VNode):树节点的渲染内容函数
96
96
  - showCheckbox (boolean):是否显示复选框
97
- - draggable (unknown)
98
- - allowDrag (unknown)
99
- - allowDrop (unknown)
97
+ - draggable (boolean):是否开启拖拽节点功能
98
+ - allowDrag ((node) => boolean):判断节点能否被拖拽
99
+ - allowDrop ((draggingNode, dropNode, type: 'prev' | 'inner' | 'next') => boolean):拖拽时判定目标节点能否被放置
100
100
  - lazy (boolean):是否懒加载子节点,需配合 load 使用
101
101
  - highlightCurrent (boolean):是否高亮当前选中节点
102
102
  - load ((node, resolve, reject) => void):加载子节点的方法
103
103
  - filterNodeMethod ((value, data, node) => boolean):过滤树节点的函数
104
- - accordion (unknown)
105
- - indent (unknown,默认 见文档)
106
- - icon (unknown)
104
+ - accordion (boolean):是否每次只展开一个同级节点
105
+ - indent (number,默认 18):相邻级节点的缩进,单位 px
106
+ - icon (string | Component):自定义节点图标
107
107
  - cacheData (TreeData,默认 []):懒加载节点缓存数据,结构与 data 相同
108
108
 
109
109
  ## Events
@@ -178,4 +178,4 @@ const data = [
178
178
 
179
179
  ---
180
180
 
181
- ep-craft 0.2.0
181
+ ep-craft 0.2.1
@@ -389,7 +389,7 @@
389
389
  ]
390
390
  }
391
391
  },
392
- "generatedAt": "2026-11-03T03:09:12.050Z",
393
- "libraryVersion": "0.2.0",
392
+ "generatedAt": "2026-11-04T07:48:29.153Z",
393
+ "libraryVersion": "0.2.1",
394
394
  "schemaVersion": 1
395
395
  }
@@ -110,4 +110,4 @@ const data = Array.from({ length: 50 }, (_, index) => ({
110
110
 
111
111
  ---
112
112
 
113
- ep-craft 0.2.0
113
+ ep-craft 0.2.1
@@ -479,7 +479,7 @@
479
479
  ]
480
480
  }
481
481
  },
482
- "generatedAt": "2026-11-03T03:09:12.050Z",
483
- "libraryVersion": "0.2.0",
482
+ "generatedAt": "2026-11-04T07:48:29.153Z",
483
+ "libraryVersion": "0.2.1",
484
484
  "schemaVersion": 1
485
485
  }
@@ -128,4 +128,4 @@ const data = [
128
128
 
129
129
  ---
130
130
 
131
- ep-craft 0.2.0
131
+ ep-craft 0.2.1
@@ -156,11 +156,11 @@
156
156
  {
157
157
  "alias": null,
158
158
  "defaultText": null,
159
- "description": "",
159
+ "description": "原生 crossorigin 属性",
160
160
  "hasDefault": false,
161
161
  "name": "crossorigin",
162
162
  "required": false,
163
- "type": "unknown"
163
+ "type": "'anonymous' | 'use-credentials' | ''"
164
164
  },
165
165
  {
166
166
  "alias": null,
@@ -308,12 +308,12 @@
308
308
  },
309
309
  {
310
310
  "alias": null,
311
- "defaultText": null,
312
- "description": "",
311
+ "defaultText": "false",
312
+ "description": "是否支持上传文件夹",
313
313
  "hasDefault": false,
314
314
  "name": "directory",
315
315
  "required": false,
316
- "type": "unknown"
316
+ "type": "boolean"
317
317
  }
318
318
  ],
319
319
  "related": [
@@ -376,7 +376,7 @@
376
376
  ]
377
377
  }
378
378
  },
379
- "generatedAt": "2026-11-03T03:09:12.050Z",
380
- "libraryVersion": "0.2.0",
379
+ "generatedAt": "2026-11-04T07:48:29.153Z",
380
+ "libraryVersion": "0.2.1",
381
381
  "schemaVersion": 1
382
382
  }
@@ -32,7 +32,7 @@
32
32
  - onProgress ((event: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void,默认 见文档):文件上传时的钩子
33
33
  - onError ((error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void,默认 见文档):文件上传失败时的钩子
34
34
  - onExceed ((files: File[], uploadFiles: UploadUserFile[]) => void,默认 见文档):当超出限制时执行的钩子函数
35
- - crossorigin (unknown)
35
+ - crossorigin ('anonymous' | 'use-credentials' | ''):原生 crossorigin 属性
36
36
  - action (string,默认 '#'):请求 URL
37
37
  - headers (Record<string, any>):设置上传的请求头部
38
38
  - method (string,默认 post):设置上传请求方法
@@ -49,7 +49,7 @@
49
49
  - httpRequest ((options: UploadRequestOptions) => XMLHttpRequest | Promise<unknown>,默认 见文档):覆盖默认的 Xhr 行为
50
50
  - disabled (boolean,默认 false):是否禁用上传
51
51
  - limit (number):允许上传文件的最大数量
52
- - directory (unknown)
52
+ - directory (boolean):是否支持上传文件夹
53
53
 
54
54
  ## Slots
55
55
 
@@ -127,4 +127,4 @@ import { EpButton, EpUpload } from 'ep-craft'
127
127
 
128
128
  ---
129
129
 
130
- ep-craft 0.2.0
130
+ ep-craft 0.2.1
@@ -151,7 +151,7 @@
151
151
  ]
152
152
  }
153
153
  },
154
- "generatedAt": "2026-11-03T03:09:12.050Z",
155
- "libraryVersion": "0.2.0",
154
+ "generatedAt": "2026-11-04T07:48:29.153Z",
155
+ "libraryVersion": "0.2.1",
156
156
  "schemaVersion": 1
157
157
  }
@@ -63,4 +63,4 @@ import { EpWatermark } from 'ep-craft'
63
63
 
64
64
  ---
65
65
 
66
- ep-craft 0.2.0
66
+ ep-craft 0.2.1
@@ -55,7 +55,7 @@
55
55
  "slug": "click-outside",
56
56
  "summary": "点击外部指令,在目标元素外点击时触发回调"
57
57
  },
58
- "generatedAt": "2026-11-03T03:09:12.050Z",
59
- "libraryVersion": "0.2.0",
58
+ "generatedAt": "2026-11-04T07:48:29.153Z",
59
+ "libraryVersion": "0.2.1",
60
60
  "schemaVersion": 1
61
61
  }
@@ -47,4 +47,4 @@ const close = () => {
47
47
 
48
48
  ---
49
49
 
50
- ep-craft 0.2.0
50
+ ep-craft 0.2.1
@@ -77,7 +77,7 @@
77
77
  "slug": "infinite-scroll",
78
78
  "summary": "无限滚动指令,接近底部时触发加载更多回调"
79
79
  },
80
- "generatedAt": "2026-11-03T03:09:12.050Z",
81
- "libraryVersion": "0.2.0",
80
+ "generatedAt": "2026-11-04T07:48:29.153Z",
81
+ "libraryVersion": "0.2.1",
82
82
  "schemaVersion": 1
83
83
  }
@@ -59,4 +59,4 @@ const load = () => {
59
59
 
60
60
  ---
61
61
 
62
- ep-craft 0.2.0
62
+ ep-craft 0.2.1
@@ -83,7 +83,7 @@
83
83
  "slug": "loading",
84
84
  "summary": "加载指令,在目标元素上显示或移除加载遮罩"
85
85
  },
86
- "generatedAt": "2026-11-03T03:09:12.050Z",
87
- "libraryVersion": "0.2.0",
86
+ "generatedAt": "2026-11-04T07:48:29.153Z",
87
+ "libraryVersion": "0.2.1",
88
88
  "schemaVersion": 1
89
89
  }
@@ -66,4 +66,4 @@ const loading = ref(false)
66
66
 
67
67
  ---
68
68
 
69
- ep-craft 0.2.0
69
+ ep-craft 0.2.1
@@ -48,7 +48,7 @@
48
48
  "slug": "mousewheel",
49
49
  "summary": "滚轮指令,监听滚轮并返回归一化方向与位移"
50
50
  },
51
- "generatedAt": "2026-11-03T03:09:12.050Z",
52
- "libraryVersion": "0.2.0",
51
+ "generatedAt": "2026-11-04T07:48:29.153Z",
52
+ "libraryVersion": "0.2.1",
53
53
  "schemaVersion": 1
54
54
  }
@@ -45,4 +45,4 @@ const onWheel = (_event: WheelEvent, normalized: { pixelY: number }) => {
45
45
 
46
46
  ---
47
47
 
48
- ep-craft 0.2.0
48
+ ep-craft 0.2.1
@@ -62,7 +62,7 @@
62
62
  "slug": "repeat-click",
63
63
  "summary": "长按重复点击指令,按住后按间隔持续触发"
64
64
  },
65
- "generatedAt": "2026-11-03T03:09:12.050Z",
66
- "libraryVersion": "0.2.0",
65
+ "generatedAt": "2026-11-04T07:48:29.153Z",
66
+ "libraryVersion": "0.2.1",
67
67
  "schemaVersion": 1
68
68
  }
@@ -46,4 +46,4 @@ const increase = () => {
46
46
 
47
47
  ---
48
48
 
49
- ep-craft 0.2.0
49
+ ep-craft 0.2.1
@@ -40,7 +40,7 @@
40
40
  "slug": "trap-focus",
41
41
  "summary": "焦点锁定指令,将 Tab 焦点限制在容器内部"
42
42
  },
43
- "generatedAt": "2026-11-03T03:09:12.050Z",
44
- "libraryVersion": "0.2.0",
43
+ "generatedAt": "2026-11-04T07:48:29.153Z",
44
+ "libraryVersion": "0.2.1",
45
45
  "schemaVersion": 1
46
46
  }
@@ -43,4 +43,4 @@ const open = ref(false)
43
43
 
44
44
  ---
45
45
 
46
- ep-craft 0.2.0
46
+ ep-craft 0.2.1