uview-pro 0.0.13 → 0.0.15

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 (234) hide show
  1. package/changelog.md +236 -217
  2. package/components/u-action-sheet/types.ts +35 -35
  3. package/components/u-action-sheet/u-action-sheet.vue +160 -160
  4. package/components/u-alert-tips/types.ts +39 -39
  5. package/components/u-alert-tips/u-alert-tips.vue +212 -212
  6. package/components/u-avatar/types.ts +34 -34
  7. package/components/u-avatar/u-avatar.vue +193 -193
  8. package/components/u-avatar-cropper/types.ts +23 -23
  9. package/components/u-avatar-cropper/u-avatar-cropper.vue +286 -286
  10. package/components/u-avatar-cropper/weCropper.d.ts +62 -62
  11. package/components/u-avatar-cropper/weCropper.js +1253 -1253
  12. package/components/u-avatar-cropper/weCropper.ts +1255 -1255
  13. package/components/u-back-top/types.ts +39 -39
  14. package/components/u-back-top/u-back-top.vue +125 -125
  15. package/components/u-badge/types.ts +36 -36
  16. package/components/u-badge/u-badge.vue +165 -165
  17. package/components/u-button/types.ts +66 -66
  18. package/components/u-button/u-button.vue +554 -554
  19. package/components/u-calendar/types.ts +63 -63
  20. package/components/u-calendar/u-calendar.vue +592 -592
  21. package/components/u-car-keyboard/types.ts +12 -12
  22. package/components/u-car-keyboard/u-car-keyboard.vue +234 -234
  23. package/components/u-card/types.ts +59 -59
  24. package/components/u-card/u-card.vue +194 -194
  25. package/components/u-cell-group/types.ts +17 -17
  26. package/components/u-cell-group/u-cell-group.vue +50 -50
  27. package/components/u-cell-item/types.ts +54 -54
  28. package/components/u-cell-item/u-cell-item.vue +202 -202
  29. package/components/u-checkbox/types.ts +31 -31
  30. package/components/u-checkbox/u-checkbox.vue +265 -265
  31. package/components/u-checkbox-group/types.ts +32 -32
  32. package/components/u-checkbox-group/u-checkbox-group.vue +79 -79
  33. package/components/u-circle-progress/types.ts +52 -52
  34. package/components/u-circle-progress/u-circle-progress.vue +189 -189
  35. package/components/u-city-select/types.ts +20 -20
  36. package/components/u-city-select/u-city-select.vue +236 -236
  37. package/components/u-col/types.ts +30 -30
  38. package/components/u-col/u-col.vue +123 -123
  39. package/components/u-collapse/types.ts +31 -31
  40. package/components/u-collapse/u-collapse.vue +68 -68
  41. package/components/u-collapse-item/types.ts +25 -25
  42. package/components/u-collapse-item/u-collapse-item.vue +176 -176
  43. package/components/u-column-notice/types.ts +48 -48
  44. package/components/u-column-notice/u-column-notice.vue +176 -176
  45. package/components/u-count-down/types.ts +42 -42
  46. package/components/u-count-down/u-count-down.vue +258 -258
  47. package/components/u-count-to/types.ts +32 -32
  48. package/components/u-count-to/u-count-to.vue +241 -241
  49. package/components/u-divider/types.ts +31 -31
  50. package/components/u-divider/u-divider.vue +121 -121
  51. package/components/u-dropdown/types.ts +32 -32
  52. package/components/u-dropdown/u-dropdown.vue +289 -289
  53. package/components/u-dropdown-item/types.ts +27 -27
  54. package/components/u-dropdown-item/u-dropdown-item.vue +123 -123
  55. package/components/u-empty/types.ts +36 -36
  56. package/components/u-empty/u-empty.vue +88 -88
  57. package/components/u-field/types.ts +69 -69
  58. package/components/u-field/u-field.vue +354 -354
  59. package/components/u-form/types.ts +6 -4
  60. package/components/u-form/u-form.vue +19 -5
  61. package/components/u-form-item/types.ts +2 -2
  62. package/components/u-form-item/u-form-item.vue +7 -6
  63. package/components/u-full-screen/types.ts +14 -14
  64. package/components/u-full-screen/u-full-screen.vue +82 -82
  65. package/components/u-gap/types.ts +18 -18
  66. package/components/u-gap/u-gap.vue +40 -40
  67. package/components/u-grid/types.ts +19 -19
  68. package/components/u-grid/u-grid.vue +93 -93
  69. package/components/u-grid-item/types.ts +16 -16
  70. package/components/u-grid-item/u-grid-item.vue +130 -130
  71. package/components/u-icon/types.ts +62 -62
  72. package/components/u-icon/u-icon.vue +274 -274
  73. package/components/u-image/types.ts +51 -49
  74. package/components/u-image/u-image.vue +222 -218
  75. package/components/u-index-anchor/types.ts +16 -16
  76. package/components/u-index-anchor/u-index-anchor.vue +86 -86
  77. package/components/u-index-list/types.ts +43 -43
  78. package/components/u-index-list/u-index-list.vue +355 -355
  79. package/components/u-input/types.ts +140 -140
  80. package/components/u-input/u-input.vue +255 -255
  81. package/components/u-keyboard/types.ts +40 -40
  82. package/components/u-keyboard/u-keyboard.vue +158 -158
  83. package/components/u-lazy-load/types.ts +37 -37
  84. package/components/u-lazy-load/u-lazy-load.vue +233 -233
  85. package/components/u-line/types.ts +44 -44
  86. package/components/u-line/u-line.vue +59 -59
  87. package/components/u-line-progress/types.ts +58 -58
  88. package/components/u-line-progress/u-line-progress.vue +109 -109
  89. package/components/u-link/types.ts +43 -43
  90. package/components/u-link/u-link.vue +75 -75
  91. package/components/u-loading/types.ts +35 -35
  92. package/components/u-loading/u-loading.vue +90 -90
  93. package/components/u-loadmore/types.ts +79 -79
  94. package/components/u-loadmore/u-loadmore.vue +140 -140
  95. package/components/u-mask/types.ts +43 -43
  96. package/components/u-mask/u-mask.vue +106 -106
  97. package/components/u-message-input/types.ts +74 -74
  98. package/components/u-message-input/u-message-input.vue +255 -255
  99. package/components/u-modal/types.ts +118 -118
  100. package/components/u-modal/u-modal.vue +200 -200
  101. package/components/u-navbar/types.ts +103 -103
  102. package/components/u-navbar/u-navbar.vue +226 -226
  103. package/components/u-no-network/image.ts +2 -2
  104. package/components/u-no-network/types.ts +28 -28
  105. package/components/u-no-network/u-no-network.vue +290 -290
  106. package/components/u-notice-bar/types.ts +111 -111
  107. package/components/u-notice-bar/u-notice-bar.vue +174 -174
  108. package/components/u-number-box/types.ts +42 -42
  109. package/components/u-number-box/u-number-box.vue +312 -312
  110. package/components/u-number-keyboard/types.ts +26 -26
  111. package/components/u-number-keyboard/u-number-keyboard.vue +166 -166
  112. package/components/u-picker/types.ts +111 -111
  113. package/components/u-picker/u-picker.vue +637 -637
  114. package/components/u-popup/types.ts +59 -59
  115. package/components/u-popup/u-popup.vue +359 -359
  116. package/components/u-radio/types.ts +25 -25
  117. package/components/u-radio/u-radio.vue +258 -258
  118. package/components/u-radio-group/types.ts +29 -29
  119. package/components/u-radio-group/u-radio-group.vue +98 -98
  120. package/components/u-rate/types.ts +40 -40
  121. package/components/u-rate/u-rate.vue +234 -234
  122. package/components/u-read-more/types.ts +35 -35
  123. package/components/u-read-more/u-read-more.vue +150 -150
  124. package/components/u-row/types.ts +20 -20
  125. package/components/u-row/u-row.vue +87 -87
  126. package/components/u-row-notice/types.ts +39 -39
  127. package/components/u-row-notice/u-row-notice.vue +213 -213
  128. package/components/u-search/types.ts +53 -53
  129. package/components/u-search/u-search.vue +256 -256
  130. package/components/u-section/types.ts +32 -32
  131. package/components/u-section/u-section.vue +125 -125
  132. package/components/u-select/types.ts +43 -43
  133. package/components/u-select/u-select.vue +361 -345
  134. package/components/u-skeleton/types.ts +20 -20
  135. package/components/u-skeleton/u-skeleton.vue +205 -205
  136. package/components/u-slider/types.ts +32 -32
  137. package/components/u-slider/u-slider.vue +238 -238
  138. package/components/u-steps/types.ts +28 -28
  139. package/components/u-steps/u-steps.vue +160 -160
  140. package/components/u-sticky/types.ts +22 -22
  141. package/components/u-sticky/u-sticky.vue +159 -159
  142. package/components/u-subsection/types.ts +36 -36
  143. package/components/u-subsection/u-subsection.vue +328 -328
  144. package/components/u-swipe-action/types.ts +50 -50
  145. package/components/u-swipe-action/u-swipe-action.vue +253 -252
  146. package/components/u-swiper/types.ts +47 -47
  147. package/components/u-swiper/u-swiper.vue +266 -266
  148. package/components/u-switch/types.ts +28 -28
  149. package/components/u-switch/u-switch.vue +128 -128
  150. package/components/u-tabbar/types.ts +36 -36
  151. package/components/u-tabbar/u-tabbar.vue +280 -280
  152. package/components/u-table/types.ts +25 -25
  153. package/components/u-table/u-table.vue +55 -55
  154. package/components/u-tabs/types.ts +51 -51
  155. package/components/u-tabs/u-tabs.vue +284 -284
  156. package/components/u-tabs-swiper/types.ts +53 -53
  157. package/components/u-tabs-swiper/u-tabs-swiper.vue +379 -379
  158. package/components/u-tag/types.ts +37 -37
  159. package/components/u-tag/u-tag.vue +244 -244
  160. package/components/u-td/types.ts +12 -12
  161. package/components/u-td/u-td.vue +69 -69
  162. package/components/u-th/types.ts +12 -12
  163. package/components/u-th/u-th.vue +63 -63
  164. package/components/u-time-line/u-time-line.vue +39 -39
  165. package/components/u-time-line-item/types.ts +14 -14
  166. package/components/u-time-line-item/u-time-line-item.vue +78 -78
  167. package/components/u-toast/types.ts +36 -36
  168. package/components/u-toast/u-toast.vue +233 -233
  169. package/components/u-top-tips/types.ts +14 -14
  170. package/components/u-top-tips/u-top-tips.vue +113 -113
  171. package/components/u-tr/types.ts +8 -8
  172. package/components/u-tr/u-tr.vue +24 -24
  173. package/components/u-upload/types.ts +71 -71
  174. package/components/u-upload/u-upload.vue +545 -545
  175. package/components/u-verification-code/types.ts +22 -22
  176. package/components/u-verification-code/u-verification-code.vue +164 -164
  177. package/components/u-waterfall/types.ts +16 -16
  178. package/components/u-waterfall/u-waterfall.vue +170 -170
  179. package/iconfont.css +910 -910
  180. package/index.scss +22 -22
  181. package/index.ts +202 -202
  182. package/libs/config/config.ts +26 -26
  183. package/libs/config/zIndex.ts +37 -37
  184. package/libs/css/color.scss +155 -155
  185. package/libs/css/common.scss +175 -175
  186. package/libs/css/style.components.scss +6 -6
  187. package/libs/css/style.h5.scss +8 -8
  188. package/libs/css/style.mp.scss +72 -72
  189. package/libs/css/style.nvue.scss +2 -2
  190. package/libs/css/style.vue.scss +175 -175
  191. package/libs/function/$parent.ts +22 -22
  192. package/libs/function/addUnit.ts +13 -13
  193. package/libs/function/color.ts +36 -36
  194. package/libs/function/colorGradient.ts +125 -125
  195. package/libs/function/debounce.ts +28 -28
  196. package/libs/function/deepClone.ts +39 -39
  197. package/libs/function/deepMerge.ts +34 -34
  198. package/libs/function/getParent.ts +58 -58
  199. package/libs/function/getRect.ts +26 -26
  200. package/libs/function/guid.ts +42 -42
  201. package/libs/function/md5.ts +398 -398
  202. package/libs/function/parent.ts +21 -21
  203. package/libs/function/queryParams.ts +60 -60
  204. package/libs/function/random.ts +16 -16
  205. package/libs/function/randomArray.ts +11 -11
  206. package/libs/function/route.ts +118 -118
  207. package/libs/function/sys.ts +15 -15
  208. package/libs/function/test.ts +229 -229
  209. package/libs/function/throttle.ts +31 -31
  210. package/libs/function/timeFormat.ts +54 -54
  211. package/libs/function/timeFrom.ts +48 -48
  212. package/libs/function/toast.ts +14 -14
  213. package/libs/function/trim.ts +21 -21
  214. package/libs/function/type2icon.ts +36 -36
  215. package/libs/hooks/useEmitter.ts +77 -77
  216. package/libs/hooks/useParent.ts +29 -29
  217. package/libs/request/auto-http.ts +76 -76
  218. package/libs/request/index.ts +237 -237
  219. package/libs/request/uni-http.md +156 -156
  220. package/libs/request/uni-http.ts +434 -434
  221. package/libs/store/index.ts +88 -88
  222. package/libs/util/async-validator.d.ts +62 -62
  223. package/libs/util/async-validator.js +1356 -1356
  224. package/libs/util/emitter.ts +112 -112
  225. package/libs/util/mitt.ts +118 -118
  226. package/libs/util/parent.ts +20 -20
  227. package/package.json +107 -107
  228. package/readme.md +231 -236
  229. package/theme.scss +38 -38
  230. package/types/components.d.ts +94 -94
  231. package/types/global.d.ts +221 -208
  232. package/types/ignore-errors.d.ts +30 -30
  233. package/types/index.d.ts +90 -90
  234. package/types/uni-app.d.ts +63 -63
package/changelog.md CHANGED
@@ -1,217 +1,236 @@
1
- ## 0.0.13(2025-08-27
2
-
3
- ### 🐛 Bug Fixes | Bug 修复
4
-
5
- - 修复 count-down 组件暴露 start end 方法 ([0f42a01](https://gitee.com/anyup/uView-Pro/commit/0f42a01f55aa6799f57eb93dc5d029b06115b154))
6
-
7
- ## 0.0.12(2025-08-27)
8
-
9
- ### 🐛 Bug Fixes | Bug 修复
10
-
11
- - 优化 async-validator 文件多余注释导致的问题 ([f06c80d](https://gitee.com/anyup/uView-Pro/commit/f06c80d57e61e7b75f1384fe89f309b8a0e379fa))
12
-
13
- ## 0.0.11(2025-08-26)
14
-
15
- ### ♻️ Code Refactoring | 代码重构
16
-
17
- - 取消 async-validator ts 检查 ([772a729](https://gitee.com/anyup/uView-Pro/commit/772a729164f2cb268a886b6749e4a58846ebb3dc))
18
- - 移除 u-tr 未使用的类型导入和属性定义 ([46ce459](https://gitee.com/anyup/uView-Pro/commit/46ce4590166a30a0eb048110efc046095a87f6e8))
19
-
20
- ### 🐛 Bug Fixes | Bug 修复
21
-
22
- - 修复 u-count-down 倒计时符号显示逻辑 ([a4c9498](https://gitee.com/anyup/uView-Pro/commit/a4c94986b020c5ac0fdf92bde3c7b79cdfbedbe8))
23
-
24
- ## 0.0.10(2025-08-26)
25
-
26
- ### ✨ Features | 新功能
27
-
28
- - 添加 easycom 组件自动扫描 ([b125039](https://gitee.com/anyup/uView-Pro/commit/b1250390a4f594f5deaa133d7a92bd6e72707890))
29
- - 增强 u-select 组件的类型安全和功能 ([38635e9](https://gitee.com/anyup/uView-Pro/commit/38635e963f9eff6e4c730692e8c97f10b3a092c5))
30
-
31
- ## 0.0.9(2025-08-25)
32
-
33
- ### ♻️ Code Refactoring | 代码重构
34
-
35
- - 优化全局工具导出方式 ([7a80b6f](https://gitee.com/anyup/uView-Pro/commit/7a80b6f99ad3022ca995f99f8ec6803af7941eb9))
36
-
37
- ## 0.0.8(2025-08-25)
38
-
39
- ### ♻️ Code Refactoring | 代码重构
40
-
41
- - 重构组件 Props 属性定义,每个组件具有完善的 ts 类型定义 ([8cc0de7](https://gitee.com/anyup/uView-Pro/commit/8cc0de7c1527b48dd223d89207135eea01766294))
42
- - 重构类型定义并统一到全局类型文件 global types ([b0fd010](https://gitee.com/anyup/uView-Pro/commit/b0fd0107289eb1c6df2f58d91b63d9b25902caee))
43
-
44
- ## 0.0.7(2025-08-21)
45
-
46
- ### 🐛 Bug Fixes | Bug 修复
47
-
48
- - 修复中 tabbar 布局高度计算错误的问题 ([5c1342c](https://gitee.com/anyup/uView-Pro/commit/5c1342cb3fb6dd2c7c84fe785953fcaed13e809f))
49
-
50
- ### 📦‍ Build System | 打包构建
51
-
52
- - 更新项目依赖并优化打包构建 ([c172d36](https://gitee.com/anyup/uView-Pro/commit/c172d368d82404564650756a872cd7c7e29ebfa2))
53
-
54
- ## 0.0.5(2025-08-19)
55
-
56
- ### ✨ Features | 新功能
57
-
58
- - 新增 u-city-select 城市选择器组件 ([0eb4806](https://gitee.com/anyup/uView-Pro/commit/0eb4806db3be39e1a6c6f33c9ea511d8445da884))
59
- - 完善 u-button 的 open-type 支持类型 ([37c0db5](https://gitee.com/anyup/uView-Pro/commit/37c0db527258bca57dbd55d7013b633230489853))
60
-
61
- ### 🐛 Bug Fixes | Bug 修复
62
-
63
- - u-upload 暴露 lists 属性 ([09f8424](https://gitee.com/anyup/uView-Pro/commit/09f8424774baaee3b6fc7a42458949f8d5903951))
64
- - u-upload 深度监听文件列表变化并优化事件触发 ([a41a571](https://gitee.com/anyup/uView-Pro/commit/a41a5719ddf9d6793b78c55a13025bbdc88fdfe3))
65
-
66
- ### 🚀 Demos | 示例页面优化
67
-
68
- - 优化关于页面布局和内容 ([ad5f6a4](https://gitee.com/anyup/uView-Pro/commit/ad5f6a47847999268b43b8c5dbf1a34cb8f70802))
69
- - 删除分类数据文件 ([5ed7a11](https://gitee.com/anyup/uView-Pro/commit/5ed7a1113db58ff493ad606296a210358348affe))
70
- - 重构 index list 页面 ([13d780e](https://gitee.com/anyup/uView-Pro/commit/13d780ea5acc4c8eed72062482735df826d4b37a))
71
- - 更新商场菜单组件引用 ([a5f1bf3](https://gitee.com/anyup/uView-Pro/commit/a5f1bf3f256705d6cad028d60701b4b0544332de))
72
- - 修改图片地址 ([c459893](https://gitee.com/anyup/uView-Pro/commit/c459893848936aa9a44e7bda3277ab1428109869))
73
- - 重构 upload 上传组件示例页面 ([686831d](https://gitee.com/anyup/uView-Pro/commit/686831de357aca67bbf7015e2f0696cf6bf48164))
74
- - 优化多个组件的代码结构和样式 ([f2af44c](https://gitee.com/anyup/uView-Pro/commit/f2af44ca1710334495e4c4fad99d04027b3788f8))
75
- - 添加提交规范相关配置文件 git-cz/husky/changelog ([d93b816](https://gitee.com/anyup/uView-Pro/commit/d93b816a5a3e468c4bc45e3161d7c006cba5fbf6))
76
- - 优化 deepClone 和 deepMerge 页面的结果展示 ([b0daa70](https://gitee.com/anyup/uView-Pro/commit/b0daa700b6a385e037d38dc1f10b3612596e2403))
77
- - 新增优惠券模板 ([1b77762](https://gitee.com/anyup/uView-Pro/commit/1b777621615f7ebe9d83606d53650987c8b2c4e0))
78
- - 更新 easycom 配置说明,一定要放在 custom 里,否则不生效 ([fc14bf9](https://gitee.com/anyup/uView-Pro/commit/fc14bf90cb77088d258e20e79e3d25820f37e97e))
79
- - 添加模板示例页面 ([3336af4](https://gitee.com/anyup/uView-Pro/commit/3336af406161648d18578c988d9b3ad79b86059a))
80
- - 新增模版相关页面 ([8925a02](https://gitee.com/anyup/uView-Pro/commit/8925a02f9fa88f4742d984f2ff02909afc6ad0d7))
81
- - 重构 request 类,优化泛型支持 ([d7b2e6a](https://gitee.com/anyup/uView-Pro/commit/d7b2e6a224d96f717e5bdbaf09edb19b712ced47))
82
-
83
- ## 0.0.4(2025-08-14)
84
-
85
- ### 新增
86
-
87
- - `u-icon` 组件新增 `space` 属性,表示`label` 在四周时与图标的距离,权重高于 `margin`,单位 rpx
88
- - 新增`$u`工具库各类方法,同步文档
89
- - 组件全部 setup 化,全面支持 TypeScript 和 Vue3
90
- - 工具库示例页面全部 setup 化
91
-
92
- ### 优化
93
-
94
- - 组件样式兼容多端
95
- - 代码注释与类型完善
96
- - 优化演示代码兼容性
97
-
98
- ### 修复
99
-
100
- - 修复类型声明、变量冲突、lint 报错等问题
101
-
102
- ## 0.0.3(2025-08-06
103
-
104
- - 添加插件使用示例工程
105
-
106
- ## 0.0.2(2025-08-04)
107
-
108
- - 解决一些 npm 包依赖问题
109
-
110
- ## 0.0.1(2025-08-04)
111
-
112
- - 70+精选组件,使用 Vue3+TS 全面重构,功能丰富,多端兼容,让您快速集成,开箱即用
113
- - 兼容安卓,iOS,微信小程序,H5 等
114
- - 详尽的文档支持,现代化的演示效果
115
- - 按需引入,精简打包体积
116
-
117
- ### 基础组件(8)
118
-
119
- - Color 色彩
120
- - Icon 图标
121
- - Image 图片
122
- - Button 按钮
123
- - Layout 布局
124
- - Cell 单元格
125
- - Badge 徽标数
126
- - Tag 标签
127
-
128
- ---
129
-
130
- ### 表单组件(15)
131
-
132
- - Form 表单
133
- - Calendar 日历
134
- - Select 列选择器
135
- - Keyboard 键盘
136
- - Picker 选择器
137
- - Rate 评分
138
- - Search 搜索
139
- - NumberBox 步进器
140
- - Upload 上传
141
- - VerificationCode 验证码倒计时
142
- - Field 输入框
143
- - Checkbox 复选框
144
- - Radio 单选框
145
- - Switch 开关选择器
146
- - Slider 滑动选择器
147
-
148
- ---
149
-
150
- ### 数据组件(4)
151
-
152
- - Progress 进度条
153
- - Table 表格
154
- - CountDown 倒计时
155
- - CountTo 数字滚动
156
-
157
- ---
158
-
159
- ### 反馈组件(10)
160
-
161
- - ActionSheet 操作菜单
162
- - AlertTips 警告提示
163
- - Toast 消息提示
164
- - NoticeBar 滚动通知
165
- - TopTips 顶部提示
166
- - SwipeAction 滑动单元格
167
- - Collapse 折叠面板
168
- - Popup 弹出层
169
- - Modal 模态框
170
- - fullScreen 压窗屏
171
-
172
- ---
173
-
174
- ### 布局组件(11)
175
-
176
- - Line 线条
177
- - Card 卡片
178
- - Mask 遮罩层
179
- - NoNetwork 无网络提示
180
- - Grid 宫格布局
181
- - Swiper 轮播图
182
- - TimeLine 时间轴
183
- - Skeleton 骨架屏
184
- - Sticky 吸顶
185
- - Waterfall 瀑布流
186
- - Divider 分割线
187
-
188
- ---
189
-
190
- ### 导航组件(11)
191
-
192
- - Dropdown 下拉菜单
193
- - Tabbar 底部导航栏
194
- - BackTop 返回顶部
195
- - Navbar 导航栏
196
- - Tabs 标签
197
- - TabsSwiper 全屏选项卡
198
- - Subsection 分段器
199
- - IndexList 索引列表
200
- - Steps 步骤条
201
- - Empty 内容为空
202
- - Section 查看更多
203
-
204
- ---
205
-
206
- ### 其他组件(8)
207
-
208
- - MessageInput 验证码输入
209
- - Loadmore 加载更多
210
- - ReadMore 展开阅读更多
211
- - LazyLoad 懒加载
212
- - Gap 间隔槽
213
- - Avatar 头像
214
- - Link 超链接
215
- - Loading 加载动画
216
-
217
- ---
1
+ ## 0.0.15(2025-08-30
2
+
3
+ ### Features | 新功能
4
+
5
+ - 优化 u-image 组件 slot 使用体验,兼容头条小程序 ([a6ca54f](https://github.com/anyup/uView-Pro/commit/a6ca54fce06b20b7a6938d0bef9342954b787641))
6
+
7
+ ### 🐛 Bug Fixes | Bug 修复
8
+
9
+ - 优化 label 的声明错误问题 ([314c394](https://github.com/anyup/uView-Pro/commit/314c3940145c657b12f16d005af7d271f4ae74e3))
10
+ - 优化头条小程序 form 表单校验的兼容性问题 ([3912fd6](https://github.com/anyup/uView-Pro/commit/3912fd6ade3a1d612f6f5e86ddc0336376ee5618))
11
+
12
+ ### 🐛 Bug Fixes | Bug 修复
13
+
14
+ ## 0.0.14(2025-08-28)
15
+
16
+ ### 🐛 Bug Fixes | Bug 修复
17
+
18
+ - 修复使用 u-swipe-action 右边会出现一条背景线的 bug ([a5b60c6](https://github.com/anyup/uView-Pro/commit/a5b60c6485120e164c0e0c29eea3b765c10f9aac))
19
+
20
+ ## 0.0.13(2025-08-27)
21
+
22
+ ### 🐛 Bug Fixes | Bug 修复
23
+
24
+ - 修复 count-down 组件暴露 start 和 end 方法 ([0f42a01](https://github.com/anyup/uView-Pro/commit/0f42a01f55aa6799f57eb93dc5d029b06115b154))
25
+
26
+ ## 0.0.12(2025-08-27)
27
+
28
+ ### 🐛 Bug Fixes | Bug 修复
29
+
30
+ - 优化 async-validator 文件多余注释导致的问题 ([f06c80d](https://github.com/anyup/uView-Pro/commit/f06c80d57e61e7b75f1384fe89f309b8a0e379fa))
31
+
32
+ ## 0.0.11(2025-08-26)
33
+
34
+ ### ♻️ Code Refactoring | 代码重构
35
+
36
+ - 取消 async-validator ts 检查 ([772a729](https://github.com/anyup/uView-Pro/commit/772a729164f2cb268a886b6749e4a58846ebb3dc))
37
+ - 移除 u-tr 未使用的类型导入和属性定义 ([46ce459](https://github.com/anyup/uView-Pro/commit/46ce4590166a30a0eb048110efc046095a87f6e8))
38
+
39
+ ### 🐛 Bug Fixes | Bug 修复
40
+
41
+ - 修复 u-count-down 倒计时符号显示逻辑 ([a4c9498](https://github.com/anyup/uView-Pro/commit/a4c94986b020c5ac0fdf92bde3c7b79cdfbedbe8))
42
+
43
+ ## 0.0.10(2025-08-26)
44
+
45
+ ### ✨ Features | 新功能
46
+
47
+ - 添加 easycom 组件自动扫描 ([b125039](https://github.com/anyup/uView-Pro/commit/b1250390a4f594f5deaa133d7a92bd6e72707890))
48
+ - 增强 u-select 组件的类型安全和功能 ([38635e9](https://github.com/anyup/uView-Pro/commit/38635e963f9eff6e4c730692e8c97f10b3a092c5))
49
+
50
+ ## 0.0.9(2025-08-25)
51
+
52
+ ### ♻️ Code Refactoring | 代码重构
53
+
54
+ - 优化全局工具导出方式 ([7a80b6f](https://github.com/anyup/uView-Pro/commit/7a80b6f99ad3022ca995f99f8ec6803af7941eb9))
55
+
56
+ ## 0.0.8(2025-08-25)
57
+
58
+ ### ♻️ Code Refactoring | 代码重构
59
+
60
+ - 重构组件 Props 属性定义,每个组件具有完善的 ts 类型定义 ([8cc0de7](https://github.com/anyup/uView-Pro/commit/8cc0de7c1527b48dd223d89207135eea01766294))
61
+ - 重构类型定义并统一到全局类型文件 global types ([b0fd010](https://github.com/anyup/uView-Pro/commit/b0fd0107289eb1c6df2f58d91b63d9b25902caee))
62
+
63
+ ## 0.0.7(2025-08-21)
64
+
65
+ ### 🐛 Bug Fixes | Bug 修复
66
+
67
+ - 修复中 tabbar 布局高度计算错误的问题 ([5c1342c](https://github.com/anyup/uView-Pro/commit/5c1342cb3fb6dd2c7c84fe785953fcaed13e809f))
68
+
69
+ ### 📦‍ Build System | 打包构建
70
+
71
+ - 更新项目依赖并优化打包构建 ([c172d36](https://github.com/anyup/uView-Pro/commit/c172d368d82404564650756a872cd7c7e29ebfa2))
72
+
73
+ ## 0.0.5(2025-08-19)
74
+
75
+ ### Features | 新功能
76
+
77
+ - 新增 u-city-select 城市选择器组件 ([0eb4806](https://github.com/anyup/uView-Pro/commit/0eb4806db3be39e1a6c6f33c9ea511d8445da884))
78
+ - 完善 u-button open-type 支持类型 ([37c0db5](https://github.com/anyup/uView-Pro/commit/37c0db527258bca57dbd55d7013b633230489853))
79
+
80
+ ### 🐛 Bug Fixes | Bug 修复
81
+
82
+ - u-upload 暴露 lists 属性 ([09f8424](https://github.com/anyup/uView-Pro/commit/09f8424774baaee3b6fc7a42458949f8d5903951))
83
+ - u-upload 深度监听文件列表变化并优化事件触发 ([a41a571](https://github.com/anyup/uView-Pro/commit/a41a5719ddf9d6793b78c55a13025bbdc88fdfe3))
84
+
85
+ ### 🚀 Demos | 示例页面优化
86
+
87
+ - 优化关于页面布局和内容 ([ad5f6a4](https://github.com/anyup/uView-Pro/commit/ad5f6a47847999268b43b8c5dbf1a34cb8f70802))
88
+ - 删除分类数据文件 ([5ed7a11](https://github.com/anyup/uView-Pro/commit/5ed7a1113db58ff493ad606296a210358348affe))
89
+ - 重构 index list 页面 ([13d780e](https://github.com/anyup/uView-Pro/commit/13d780ea5acc4c8eed72062482735df826d4b37a))
90
+ - 更新商场菜单组件引用 ([a5f1bf3](https://github.com/anyup/uView-Pro/commit/a5f1bf3f256705d6cad028d60701b4b0544332de))
91
+ - 修改图片地址 ([c459893](https://github.com/anyup/uView-Pro/commit/c459893848936aa9a44e7bda3277ab1428109869))
92
+ - 重构 upload 上传组件示例页面 ([686831d](https://github.com/anyup/uView-Pro/commit/686831de357aca67bbf7015e2f0696cf6bf48164))
93
+ - 优化多个组件的代码结构和样式 ([f2af44c](https://github.com/anyup/uView-Pro/commit/f2af44ca1710334495e4c4fad99d04027b3788f8))
94
+ - 添加提交规范相关配置文件 git-cz/husky/changelog ([d93b816](https://github.com/anyup/uView-Pro/commit/d93b816a5a3e468c4bc45e3161d7c006cba5fbf6))
95
+ - 优化 deepClone 和 deepMerge 页面的结果展示 ([b0daa70](https://github.com/anyup/uView-Pro/commit/b0daa700b6a385e037d38dc1f10b3612596e2403))
96
+ - 新增优惠券模板 ([1b77762](https://github.com/anyup/uView-Pro/commit/1b777621615f7ebe9d83606d53650987c8b2c4e0))
97
+ - 更新 easycom 配置说明,一定要放在 custom 里,否则不生效 ([fc14bf9](https://github.com/anyup/uView-Pro/commit/fc14bf90cb77088d258e20e79e3d25820f37e97e))
98
+ - 添加模板示例页面 ([3336af4](https://github.com/anyup/uView-Pro/commit/3336af406161648d18578c988d9b3ad79b86059a))
99
+ - 新增模版相关页面 ([8925a02](https://github.com/anyup/uView-Pro/commit/8925a02f9fa88f4742d984f2ff02909afc6ad0d7))
100
+ - 重构 request 类,优化泛型支持 ([d7b2e6a](https://github.com/anyup/uView-Pro/commit/d7b2e6a224d96f717e5bdbaf09edb19b712ced47))
101
+
102
+ ## 0.0.4(2025-08-14
103
+
104
+ ### 新增
105
+
106
+ - `u-icon` 组件新增 `space` 属性,表示`label` 在四周时与图标的距离,权重高于 `margin`,单位 rpx
107
+ - 新增`$u`工具库各类方法,同步文档
108
+ - 组件全部 setup 化,全面支持 TypeScript 和 Vue3
109
+ - 工具库示例页面全部 setup 化
110
+
111
+ ### 优化
112
+
113
+ - 组件样式兼容多端
114
+ - 代码注释与类型完善
115
+ - 优化演示代码兼容性
116
+
117
+ ### 修复
118
+
119
+ - 修复类型声明、变量冲突、lint 报错等问题
120
+
121
+ ## 0.0.3(2025-08-06)
122
+
123
+ - 添加插件使用示例工程
124
+
125
+ ## 0.0.2(2025-08-04)
126
+
127
+ - 解决一些 npm 包依赖问题
128
+
129
+ ## 0.0.1(2025-08-04)
130
+
131
+ - 70+精选组件,使用 Vue3+TS 全面重构,功能丰富,多端兼容,让您快速集成,开箱即用
132
+ - 兼容安卓,iOS,微信小程序,H5
133
+ - 详尽的文档支持,现代化的演示效果
134
+ - 按需引入,精简打包体积
135
+
136
+ ### 基础组件(8)
137
+
138
+ - Color 色彩
139
+ - Icon 图标
140
+ - Image 图片
141
+ - Button 按钮
142
+ - Layout 布局
143
+ - Cell 单元格
144
+ - Badge 徽标数
145
+ - Tag 标签
146
+
147
+ ---
148
+
149
+ ### 表单组件(15)
150
+
151
+ - Form 表单
152
+ - Calendar 日历
153
+ - Select 列选择器
154
+ - Keyboard 键盘
155
+ - Picker 选择器
156
+ - Rate 评分
157
+ - Search 搜索
158
+ - NumberBox 步进器
159
+ - Upload 上传
160
+ - VerificationCode 验证码倒计时
161
+ - Field 输入框
162
+ - Checkbox 复选框
163
+ - Radio 单选框
164
+ - Switch 开关选择器
165
+ - Slider 滑动选择器
166
+
167
+ ---
168
+
169
+ ### 数据组件(4)
170
+
171
+ - Progress 进度条
172
+ - Table 表格
173
+ - CountDown 倒计时
174
+ - CountTo 数字滚动
175
+
176
+ ---
177
+
178
+ ### 反馈组件(10)
179
+
180
+ - ActionSheet 操作菜单
181
+ - AlertTips 警告提示
182
+ - Toast 消息提示
183
+ - NoticeBar 滚动通知
184
+ - TopTips 顶部提示
185
+ - SwipeAction 滑动单元格
186
+ - Collapse 折叠面板
187
+ - Popup 弹出层
188
+ - Modal 模态框
189
+ - fullScreen 压窗屏
190
+
191
+ ---
192
+
193
+ ### 布局组件(11)
194
+
195
+ - Line 线条
196
+ - Card 卡片
197
+ - Mask 遮罩层
198
+ - NoNetwork 无网络提示
199
+ - Grid 宫格布局
200
+ - Swiper 轮播图
201
+ - TimeLine 时间轴
202
+ - Skeleton 骨架屏
203
+ - Sticky 吸顶
204
+ - Waterfall 瀑布流
205
+ - Divider 分割线
206
+
207
+ ---
208
+
209
+ ### 导航组件(11)
210
+
211
+ - Dropdown 下拉菜单
212
+ - Tabbar 底部导航栏
213
+ - BackTop 返回顶部
214
+ - Navbar 导航栏
215
+ - Tabs 标签
216
+ - TabsSwiper 全屏选项卡
217
+ - Subsection 分段器
218
+ - IndexList 索引列表
219
+ - Steps 步骤条
220
+ - Empty 内容为空
221
+ - Section 查看更多
222
+
223
+ ---
224
+
225
+ ### 其他组件(8)
226
+
227
+ - MessageInput 验证码输入
228
+ - Loadmore 加载更多
229
+ - ReadMore 展开阅读更多
230
+ - LazyLoad 懒加载
231
+ - Gap 间隔槽
232
+ - Avatar 头像
233
+ - Link 超链接
234
+ - Loading 加载动画
235
+
236
+ ---
@@ -1,35 +1,35 @@
1
- import { type ExtractPropTypes, type PropType } from 'vue';
2
- import type { ActionSheetItem, ActionSheetTips } from '../../types/global';
3
-
4
- /**
5
- * actionSheet 操作菜单
6
- * @description 本组件用于从底部弹出一个操作菜单,供用户选择并返回结果。本组件功能类似于uni的uni.showActionSheetAPI,配置更加灵活,所有平台都表现一致。
7
- */
8
- export const ActionSheetProps = {
9
- /** 点击遮罩是否可以关闭actionsheet */
10
- maskCloseAble: { type: Boolean, default: true },
11
- /** 按钮的文字数组,可以自定义颜色和字体大小,字体单位为rpx */
12
- list: {
13
- type: Array as unknown as PropType<ActionSheetItem[]>,
14
- default: () => []
15
- },
16
- /** 顶部的提示文字 */
17
- tips: {
18
- type: Object as unknown as PropType<ActionSheetTips>,
19
- default: () => ({ text: '', color: '', fontSize: '26' })
20
- },
21
- /** 底部的取消按钮 */
22
- cancelBtn: { type: Boolean, default: true },
23
- /** 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距 */
24
- safeAreaInsetBottom: { type: Boolean, default: false },
25
- /** 通过双向绑定控制组件的弹出与收起 */
26
- modelValue: { type: Boolean, default: false },
27
- /** 弹出的顶部圆角值 */
28
- borderRadius: { type: [String, Number], default: 0 },
29
- /** 弹出的z-index值 */
30
- zIndex: { type: [String, Number], default: 0 },
31
- /** 取消按钮的文字提示 */
32
- cancelText: { type: String, default: '取消' }
33
- };
34
-
35
- export type ActionSheetProps = ExtractPropTypes<typeof ActionSheetProps>;
1
+ import { type ExtractPropTypes, type PropType } from 'vue';
2
+ import type { ActionSheetItem, ActionSheetTips } from '../../types/global';
3
+
4
+ /**
5
+ * actionSheet 操作菜单
6
+ * @description 本组件用于从底部弹出一个操作菜单,供用户选择并返回结果。本组件功能类似于uni的uni.showActionSheetAPI,配置更加灵活,所有平台都表现一致。
7
+ */
8
+ export const ActionSheetProps = {
9
+ /** 点击遮罩是否可以关闭actionsheet */
10
+ maskCloseAble: { type: Boolean, default: true },
11
+ /** 按钮的文字数组,可以自定义颜色和字体大小,字体单位为rpx */
12
+ list: {
13
+ type: Array as unknown as PropType<ActionSheetItem[]>,
14
+ default: () => []
15
+ },
16
+ /** 顶部的提示文字 */
17
+ tips: {
18
+ type: Object as unknown as PropType<ActionSheetTips>,
19
+ default: () => ({ text: '', color: '', fontSize: '26' })
20
+ },
21
+ /** 底部的取消按钮 */
22
+ cancelBtn: { type: Boolean, default: true },
23
+ /** 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距 */
24
+ safeAreaInsetBottom: { type: Boolean, default: false },
25
+ /** 通过双向绑定控制组件的弹出与收起 */
26
+ modelValue: { type: Boolean, default: false },
27
+ /** 弹出的顶部圆角值 */
28
+ borderRadius: { type: [String, Number], default: 0 },
29
+ /** 弹出的z-index值 */
30
+ zIndex: { type: [String, Number], default: 0 },
31
+ /** 取消按钮的文字提示 */
32
+ cancelText: { type: String, default: '取消' }
33
+ };
34
+
35
+ export type ActionSheetProps = ExtractPropTypes<typeof ActionSheetProps>;