uview-pro 0.0.10 → 0.0.12
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 +17 -0
- package/components/u-count-down/u-count-down.vue +3 -3
- package/components/u-tr/u-tr.vue +0 -3
- package/libs/util/async-validator.js +1 -1
- package/package.json +57 -44
- package/readme.md +1 -20
package/changelog.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 0.0.12(2025-08-27)
|
|
2
|
+
|
|
3
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
4
|
+
|
|
5
|
+
- 优化 async-validator 文件多余注释导致的问题 ([f06c80d](https://gitee.com/anyup/uView-Pro/commit/f06c80d57e61e7b75f1384fe89f309b8a0e379fa))
|
|
6
|
+
|
|
7
|
+
## 0.0.11(2025-08-26)
|
|
8
|
+
|
|
9
|
+
### ♻️ Code Refactoring | 代码重构
|
|
10
|
+
|
|
11
|
+
- 取消 async-validator ts 检查 ([772a729](https://gitee.com/anyup/uView-Pro/commit/772a729164f2cb268a886b6749e4a58846ebb3dc))
|
|
12
|
+
- 移除 u-tr 未使用的类型导入和属性定义 ([46ce459](https://gitee.com/anyup/uView-Pro/commit/46ce4590166a30a0eb048110efc046095a87f6e8))
|
|
13
|
+
|
|
14
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
15
|
+
|
|
16
|
+
- 修复 u-count-down 倒计时符号显示逻辑 ([a4c9498](https://gitee.com/anyup/uView-Pro/commit/a4c94986b020c5ac0fdf92bde3c7b79cdfbedbe8))
|
|
17
|
+
|
|
1
18
|
## 0.0.10(2025-08-26)
|
|
2
19
|
|
|
3
20
|
### ✨ Features | 新功能
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:style="{ fontSize: props.separatorSize + 'rpx', color: props.separatorColor, paddingBottom: props.separator == 'colon' ? '4rpx' : 0 }"
|
|
11
11
|
v-if="props.showDays && (props.hideZeroDay || (!props.hideZeroDay && d != '00'))"
|
|
12
12
|
>
|
|
13
|
-
{{ props.separator == 'colon' ? ':' : '天' }}
|
|
13
|
+
{{ props.separator == 'colon' && props.showHours ? ':' : '天' }}
|
|
14
14
|
</view>
|
|
15
15
|
<view class="u-countdown-item" :style="[itemStyle]" v-if="props.showHours">
|
|
16
16
|
<view class="u-countdown-time" :style="{ fontSize: props.fontSize + 'rpx', color: props.color }">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
:style="{ fontSize: props.separatorSize + 'rpx', color: props.separatorColor, paddingBottom: props.separator == 'colon' ? '4rpx' : 0 }"
|
|
23
23
|
v-if="props.showHours"
|
|
24
24
|
>
|
|
25
|
-
{{ props.separator == 'colon' ? ':' : '时' }}
|
|
25
|
+
{{ props.separator == 'colon' && props.showMinutes ? ':' : '时' }}
|
|
26
26
|
</view>
|
|
27
27
|
<view class="u-countdown-item" :style="[itemStyle]" v-if="props.showMinutes">
|
|
28
28
|
<view class="u-countdown-time" :style="{ fontSize: props.fontSize + 'rpx', color: props.color }">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
:style="{ fontSize: props.separatorSize + 'rpx', color: props.separatorColor, paddingBottom: props.separator == 'colon' ? '4rpx' : 0 }"
|
|
35
35
|
v-if="props.showMinutes"
|
|
36
36
|
>
|
|
37
|
-
{{ props.separator == 'colon' ? ':' : '分' }}
|
|
37
|
+
{{ props.separator == 'colon' && props.showSeconds ? ':' : '分' }}
|
|
38
38
|
</view>
|
|
39
39
|
<view class="u-countdown-item" :style="[itemStyle]" v-if="props.showSeconds">
|
|
40
40
|
<view class="u-countdown-time" :style="{ fontSize: props.fontSize + 'rpx', color: props.color }">
|
package/components/u-tr/u-tr.vue
CHANGED
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script setup lang="ts">
|
|
8
|
-
import { TrProps } from './types';
|
|
9
|
-
|
|
10
8
|
defineOptions({ name: 'u-tr' });
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -15,7 +13,6 @@ defineOptions({ name: 'u-tr' });
|
|
|
15
13
|
* @tutorial https://uview-pro.netlify.app/components/table.html
|
|
16
14
|
* @example <u-tr></u-tr>
|
|
17
15
|
*/
|
|
18
|
-
const props = defineProps(TrProps);
|
|
19
16
|
</script>
|
|
20
17
|
|
|
21
18
|
<style lang="scss" scoped>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
function _extends() {
|
|
2
3
|
_extends = Object.assign || function(target) {
|
|
3
4
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -1353,4 +1354,3 @@ Schema.warning = warning;
|
|
|
1353
1354
|
Schema.messages = messages;
|
|
1354
1355
|
|
|
1355
1356
|
export default Schema;
|
|
1356
|
-
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "uview-pro",
|
|
3
3
|
"name": "uview-pro",
|
|
4
|
-
"displayName": "【Vue3重构版】uView Pro
|
|
5
|
-
"version": "0.0.
|
|
4
|
+
"displayName": "【Vue3重构版】uView Pro|基于Vue3+TS全面重构的70+精选UI组件库",
|
|
5
|
+
"version": "0.0.12",
|
|
6
6
|
"description": "uView Pro,是全面支持Vue3的uni-app生态框架,70+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"module": "index.ts",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": "https://github.com/anyup/uview-pro",
|
|
20
20
|
"engines": {
|
|
21
|
-
"HBuilderX": "^4.07"
|
|
21
|
+
"HBuilderX": "^4.07",
|
|
22
|
+
"uni-app": "^4.07",
|
|
23
|
+
"uni-app-x": ""
|
|
22
24
|
},
|
|
23
25
|
"dcloudext": {
|
|
24
26
|
"type": "component-vue",
|
|
@@ -31,62 +33,73 @@
|
|
|
31
33
|
}
|
|
32
34
|
},
|
|
33
35
|
"contact": {
|
|
34
|
-
"qq": ""
|
|
36
|
+
"qq": "491302297"
|
|
35
37
|
},
|
|
36
38
|
"declaration": {
|
|
37
39
|
"ads": "无",
|
|
38
40
|
"data": "无",
|
|
39
41
|
"permissions": "无"
|
|
40
42
|
},
|
|
41
|
-
"npmurl": "https://www.npmjs.com/package/uview-pro"
|
|
43
|
+
"npmurl": "https://www.npmjs.com/package/uview-pro",
|
|
44
|
+
"darkmode": "x",
|
|
45
|
+
"i18n": "x",
|
|
46
|
+
"widescreen": "x"
|
|
42
47
|
},
|
|
43
48
|
"uni_modules": {
|
|
44
49
|
"dependencies": [],
|
|
45
50
|
"encrypt": [],
|
|
46
51
|
"platforms": {
|
|
47
52
|
"cloud": {
|
|
48
|
-
"tcb": "
|
|
49
|
-
"aliyun": "
|
|
50
|
-
"alipay": "
|
|
53
|
+
"tcb": "√",
|
|
54
|
+
"aliyun": "√",
|
|
55
|
+
"alipay": "√"
|
|
51
56
|
},
|
|
52
57
|
"client": {
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
58
|
+
"uni-app": {
|
|
59
|
+
"vue": {
|
|
60
|
+
"vue2": "x",
|
|
61
|
+
"vue3": "√"
|
|
62
|
+
},
|
|
63
|
+
"web": {
|
|
64
|
+
"safari": "√",
|
|
65
|
+
"chrome": "√"
|
|
66
|
+
},
|
|
67
|
+
"app": {
|
|
68
|
+
"vue": "√",
|
|
69
|
+
"nvue": "-",
|
|
70
|
+
"android": "√",
|
|
71
|
+
"ios": "√",
|
|
72
|
+
"harmony": "-"
|
|
73
|
+
},
|
|
74
|
+
"mp": {
|
|
75
|
+
"weixin": "√",
|
|
76
|
+
"alipay": "-",
|
|
77
|
+
"toutiao": "-",
|
|
78
|
+
"baidu": "-",
|
|
79
|
+
"kuaishou": "-",
|
|
80
|
+
"jd": "-",
|
|
81
|
+
"harmony": "-",
|
|
82
|
+
"qq": "-",
|
|
83
|
+
"lark": "-"
|
|
84
|
+
},
|
|
85
|
+
"quickapp": {
|
|
86
|
+
"huawei": "-",
|
|
87
|
+
"union": "-"
|
|
88
|
+
}
|
|
56
89
|
},
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"Chrome": "y",
|
|
71
|
-
"IE": "u",
|
|
72
|
-
"Edge": "y",
|
|
73
|
-
"Firefox": "y",
|
|
74
|
-
"Safari": "y"
|
|
75
|
-
},
|
|
76
|
-
"小程序": {
|
|
77
|
-
"微信": "y",
|
|
78
|
-
"阿里": "u",
|
|
79
|
-
"百度": "u",
|
|
80
|
-
"字节跳动": "u",
|
|
81
|
-
"QQ": "u",
|
|
82
|
-
"钉钉": "u",
|
|
83
|
-
"快手": "u",
|
|
84
|
-
"飞书": "u",
|
|
85
|
-
"京东": "u"
|
|
86
|
-
},
|
|
87
|
-
"快应用": {
|
|
88
|
-
"华为": "u",
|
|
89
|
-
"联盟": "u"
|
|
90
|
+
"uni-app-x": {
|
|
91
|
+
"web": {
|
|
92
|
+
"safari": "-",
|
|
93
|
+
"chrome": "-"
|
|
94
|
+
},
|
|
95
|
+
"app": {
|
|
96
|
+
"android": "-",
|
|
97
|
+
"ios": "-",
|
|
98
|
+
"harmony": "-"
|
|
99
|
+
},
|
|
100
|
+
"mp": {
|
|
101
|
+
"weixin": "-"
|
|
102
|
+
}
|
|
90
103
|
}
|
|
91
104
|
}
|
|
92
105
|
}
|
package/readme.md
CHANGED
|
@@ -84,26 +84,7 @@ uView Pro QQ 交流群: [点击进入](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027
|
|
|
84
84
|
|
|
85
85
|
所以希望在您修复 bug 并提交之前尽可能的去这些平台测试一下兼容性。最好能携带测试截图以方便审核。非常感谢!
|
|
86
86
|
|
|
87
|
-
##
|
|
88
|
-
|
|
89
|
-
#### **npm 安装**
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
# npm 安装
|
|
93
|
-
npm install uview-pro
|
|
94
|
-
|
|
95
|
-
# yarn 安装
|
|
96
|
-
yarn add uview-pro
|
|
97
|
-
|
|
98
|
-
# pnpm 安装
|
|
99
|
-
pnpm add uview-pro
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
#### **插件市场下载**
|
|
103
|
-
|
|
104
|
-
[https://ext.dcloud.net.cn/plugin?id=24633](https://ext.dcloud.net.cn/plugin?id=24633)
|
|
105
|
-
|
|
106
|
-
## 配置
|
|
87
|
+
## 安装配置
|
|
107
88
|
|
|
108
89
|
uView Pro 支持 `npm` 和 `uni_modules` 两种主流安装方式,配置方式高度一致。无论采用哪种方式,均可通过 easycom 实现组件自动引入,极大提升开发效率。以下为统一的配置说明:
|
|
109
90
|
|