uview-pro 0.0.18 → 0.0.19

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