uview-pro 0.0.14 → 0.0.16

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