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.
- package/changelog.md +236 -217
- package/components/u-action-sheet/types.ts +35 -35
- package/components/u-action-sheet/u-action-sheet.vue +160 -160
- package/components/u-alert-tips/types.ts +39 -39
- package/components/u-alert-tips/u-alert-tips.vue +212 -212
- package/components/u-avatar/types.ts +34 -34
- package/components/u-avatar/u-avatar.vue +193 -193
- package/components/u-avatar-cropper/types.ts +23 -23
- package/components/u-avatar-cropper/u-avatar-cropper.vue +286 -286
- package/components/u-avatar-cropper/weCropper.d.ts +62 -62
- package/components/u-avatar-cropper/weCropper.js +1253 -1253
- package/components/u-avatar-cropper/weCropper.ts +1255 -1255
- package/components/u-back-top/types.ts +39 -39
- package/components/u-back-top/u-back-top.vue +125 -125
- package/components/u-badge/types.ts +36 -36
- package/components/u-badge/u-badge.vue +165 -165
- package/components/u-button/types.ts +66 -66
- package/components/u-button/u-button.vue +554 -554
- package/components/u-calendar/types.ts +63 -63
- package/components/u-calendar/u-calendar.vue +592 -592
- package/components/u-car-keyboard/types.ts +12 -12
- package/components/u-car-keyboard/u-car-keyboard.vue +234 -234
- package/components/u-card/types.ts +59 -59
- package/components/u-card/u-card.vue +194 -194
- package/components/u-cell-group/types.ts +17 -17
- package/components/u-cell-group/u-cell-group.vue +50 -50
- package/components/u-cell-item/types.ts +54 -54
- package/components/u-cell-item/u-cell-item.vue +202 -202
- package/components/u-checkbox/types.ts +31 -31
- package/components/u-checkbox/u-checkbox.vue +265 -265
- package/components/u-checkbox-group/types.ts +32 -32
- package/components/u-checkbox-group/u-checkbox-group.vue +79 -79
- package/components/u-circle-progress/types.ts +52 -52
- package/components/u-circle-progress/u-circle-progress.vue +189 -189
- package/components/u-city-select/types.ts +20 -20
- package/components/u-city-select/u-city-select.vue +236 -236
- package/components/u-col/types.ts +30 -30
- package/components/u-col/u-col.vue +123 -123
- package/components/u-collapse/types.ts +31 -31
- package/components/u-collapse/u-collapse.vue +68 -68
- package/components/u-collapse-item/types.ts +25 -25
- package/components/u-collapse-item/u-collapse-item.vue +176 -176
- package/components/u-column-notice/types.ts +48 -48
- package/components/u-column-notice/u-column-notice.vue +176 -176
- package/components/u-count-down/types.ts +42 -42
- package/components/u-count-down/u-count-down.vue +258 -258
- package/components/u-count-to/types.ts +32 -32
- package/components/u-count-to/u-count-to.vue +241 -241
- package/components/u-divider/types.ts +31 -31
- package/components/u-divider/u-divider.vue +121 -121
- package/components/u-dropdown/types.ts +32 -32
- package/components/u-dropdown/u-dropdown.vue +289 -289
- package/components/u-dropdown-item/types.ts +27 -27
- package/components/u-dropdown-item/u-dropdown-item.vue +123 -123
- package/components/u-empty/types.ts +36 -36
- package/components/u-empty/u-empty.vue +88 -88
- package/components/u-field/types.ts +69 -69
- package/components/u-field/u-field.vue +354 -354
- package/components/u-form/types.ts +6 -4
- package/components/u-form/u-form.vue +19 -5
- package/components/u-form-item/types.ts +2 -2
- package/components/u-form-item/u-form-item.vue +7 -6
- package/components/u-full-screen/types.ts +14 -14
- package/components/u-full-screen/u-full-screen.vue +82 -82
- package/components/u-gap/types.ts +18 -18
- package/components/u-gap/u-gap.vue +40 -40
- package/components/u-grid/types.ts +19 -19
- package/components/u-grid/u-grid.vue +93 -93
- package/components/u-grid-item/types.ts +16 -16
- package/components/u-grid-item/u-grid-item.vue +130 -130
- package/components/u-icon/types.ts +62 -62
- package/components/u-icon/u-icon.vue +274 -274
- package/components/u-image/types.ts +51 -49
- package/components/u-image/u-image.vue +222 -218
- package/components/u-index-anchor/types.ts +16 -16
- package/components/u-index-anchor/u-index-anchor.vue +86 -86
- package/components/u-index-list/types.ts +43 -43
- package/components/u-index-list/u-index-list.vue +355 -355
- package/components/u-input/types.ts +140 -140
- package/components/u-input/u-input.vue +255 -255
- package/components/u-keyboard/types.ts +40 -40
- package/components/u-keyboard/u-keyboard.vue +158 -158
- package/components/u-lazy-load/types.ts +37 -37
- package/components/u-lazy-load/u-lazy-load.vue +233 -233
- package/components/u-line/types.ts +44 -44
- package/components/u-line/u-line.vue +59 -59
- package/components/u-line-progress/types.ts +58 -58
- package/components/u-line-progress/u-line-progress.vue +109 -109
- package/components/u-link/types.ts +43 -43
- package/components/u-link/u-link.vue +75 -75
- package/components/u-loading/types.ts +35 -35
- package/components/u-loading/u-loading.vue +90 -90
- package/components/u-loadmore/types.ts +79 -79
- package/components/u-loadmore/u-loadmore.vue +140 -140
- package/components/u-mask/types.ts +43 -43
- package/components/u-mask/u-mask.vue +106 -106
- package/components/u-message-input/types.ts +74 -74
- package/components/u-message-input/u-message-input.vue +255 -255
- package/components/u-modal/types.ts +118 -118
- package/components/u-modal/u-modal.vue +200 -200
- package/components/u-navbar/types.ts +103 -103
- package/components/u-navbar/u-navbar.vue +226 -226
- package/components/u-no-network/image.ts +2 -2
- package/components/u-no-network/types.ts +28 -28
- package/components/u-no-network/u-no-network.vue +290 -290
- package/components/u-notice-bar/types.ts +111 -111
- package/components/u-notice-bar/u-notice-bar.vue +174 -174
- package/components/u-number-box/types.ts +42 -42
- package/components/u-number-box/u-number-box.vue +312 -312
- package/components/u-number-keyboard/types.ts +26 -26
- package/components/u-number-keyboard/u-number-keyboard.vue +166 -166
- package/components/u-picker/types.ts +111 -111
- package/components/u-picker/u-picker.vue +637 -637
- package/components/u-popup/types.ts +59 -59
- package/components/u-popup/u-popup.vue +359 -359
- package/components/u-radio/types.ts +25 -25
- package/components/u-radio/u-radio.vue +258 -258
- package/components/u-radio-group/types.ts +29 -29
- package/components/u-radio-group/u-radio-group.vue +98 -98
- package/components/u-rate/types.ts +40 -40
- package/components/u-rate/u-rate.vue +234 -234
- package/components/u-read-more/types.ts +35 -35
- package/components/u-read-more/u-read-more.vue +150 -150
- package/components/u-row/types.ts +20 -20
- package/components/u-row/u-row.vue +87 -87
- package/components/u-row-notice/types.ts +39 -39
- package/components/u-row-notice/u-row-notice.vue +213 -213
- package/components/u-search/types.ts +53 -53
- package/components/u-search/u-search.vue +256 -256
- package/components/u-section/types.ts +32 -32
- package/components/u-section/u-section.vue +125 -125
- package/components/u-select/types.ts +43 -43
- package/components/u-select/u-select.vue +361 -345
- package/components/u-skeleton/types.ts +20 -20
- package/components/u-skeleton/u-skeleton.vue +205 -205
- package/components/u-slider/types.ts +32 -32
- package/components/u-slider/u-slider.vue +238 -238
- package/components/u-steps/types.ts +28 -28
- package/components/u-steps/u-steps.vue +160 -160
- package/components/u-sticky/types.ts +22 -22
- package/components/u-sticky/u-sticky.vue +159 -159
- package/components/u-subsection/types.ts +36 -36
- package/components/u-subsection/u-subsection.vue +328 -328
- package/components/u-swipe-action/types.ts +50 -50
- package/components/u-swipe-action/u-swipe-action.vue +253 -252
- package/components/u-swiper/types.ts +47 -47
- package/components/u-swiper/u-swiper.vue +266 -266
- package/components/u-switch/types.ts +28 -28
- package/components/u-switch/u-switch.vue +128 -128
- package/components/u-tabbar/types.ts +36 -36
- package/components/u-tabbar/u-tabbar.vue +280 -280
- package/components/u-table/types.ts +25 -25
- package/components/u-table/u-table.vue +55 -55
- package/components/u-tabs/types.ts +51 -51
- package/components/u-tabs/u-tabs.vue +284 -284
- package/components/u-tabs-swiper/types.ts +53 -53
- package/components/u-tabs-swiper/u-tabs-swiper.vue +379 -379
- package/components/u-tag/types.ts +37 -37
- package/components/u-tag/u-tag.vue +244 -244
- package/components/u-td/types.ts +12 -12
- package/components/u-td/u-td.vue +69 -69
- package/components/u-th/types.ts +12 -12
- package/components/u-th/u-th.vue +63 -63
- package/components/u-time-line/u-time-line.vue +39 -39
- package/components/u-time-line-item/types.ts +14 -14
- package/components/u-time-line-item/u-time-line-item.vue +78 -78
- package/components/u-toast/types.ts +36 -36
- package/components/u-toast/u-toast.vue +233 -233
- package/components/u-top-tips/types.ts +14 -14
- package/components/u-top-tips/u-top-tips.vue +113 -113
- package/components/u-tr/types.ts +8 -8
- package/components/u-tr/u-tr.vue +24 -24
- package/components/u-upload/types.ts +71 -71
- package/components/u-upload/u-upload.vue +545 -545
- package/components/u-verification-code/types.ts +22 -22
- package/components/u-verification-code/u-verification-code.vue +164 -164
- package/components/u-waterfall/types.ts +16 -16
- package/components/u-waterfall/u-waterfall.vue +170 -170
- package/iconfont.css +910 -910
- package/index.scss +22 -22
- package/index.ts +202 -202
- package/libs/config/config.ts +26 -26
- package/libs/config/zIndex.ts +37 -37
- package/libs/css/color.scss +155 -155
- package/libs/css/common.scss +175 -175
- package/libs/css/style.components.scss +6 -6
- package/libs/css/style.h5.scss +8 -8
- package/libs/css/style.mp.scss +72 -72
- package/libs/css/style.nvue.scss +2 -2
- package/libs/css/style.vue.scss +175 -175
- package/libs/function/$parent.ts +22 -22
- package/libs/function/addUnit.ts +13 -13
- package/libs/function/color.ts +36 -36
- package/libs/function/colorGradient.ts +125 -125
- package/libs/function/debounce.ts +28 -28
- package/libs/function/deepClone.ts +39 -39
- package/libs/function/deepMerge.ts +34 -34
- package/libs/function/getParent.ts +58 -58
- package/libs/function/getRect.ts +26 -26
- package/libs/function/guid.ts +42 -42
- package/libs/function/md5.ts +398 -398
- package/libs/function/parent.ts +21 -21
- package/libs/function/queryParams.ts +60 -60
- package/libs/function/random.ts +16 -16
- package/libs/function/randomArray.ts +11 -11
- package/libs/function/route.ts +118 -118
- package/libs/function/sys.ts +15 -15
- package/libs/function/test.ts +229 -229
- package/libs/function/throttle.ts +31 -31
- package/libs/function/timeFormat.ts +54 -54
- package/libs/function/timeFrom.ts +48 -48
- package/libs/function/toast.ts +14 -14
- package/libs/function/trim.ts +21 -21
- package/libs/function/type2icon.ts +36 -36
- package/libs/hooks/useEmitter.ts +77 -77
- package/libs/hooks/useParent.ts +29 -29
- package/libs/request/auto-http.ts +76 -76
- package/libs/request/index.ts +237 -237
- package/libs/request/uni-http.md +156 -156
- package/libs/request/uni-http.ts +434 -434
- package/libs/store/index.ts +88 -88
- package/libs/util/async-validator.d.ts +62 -62
- package/libs/util/async-validator.js +1356 -1356
- package/libs/util/emitter.ts +112 -112
- package/libs/util/mitt.ts +118 -118
- package/libs/util/parent.ts +20 -20
- package/package.json +107 -107
- package/readme.md +231 -236
- package/theme.scss +38 -38
- package/types/components.d.ts +94 -94
- package/types/global.d.ts +221 -208
- package/types/ignore-errors.d.ts +30 -30
- package/types/index.d.ts +90 -90
- package/types/uni-app.d.ts +63 -63
package/changelog.md
CHANGED
|
@@ -1,217 +1,236 @@
|
|
|
1
|
-
## 0.0.
|
|
2
|
-
|
|
3
|
-
###
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
###
|
|
86
|
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
## 0.0.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
###
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
-
|
|
124
|
-
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
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>;
|