uview-pro 0.0.10 → 0.0.11

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 CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.0.11(2025-08-26)
2
+
3
+ ### ♻️ Code Refactoring | 代码重构
4
+
5
+ - 取消 async-validator ts 检查 ([772a729](https://gitee.com/anyup/uView-Pro/commit/772a729164f2cb268a886b6749e4a58846ebb3dc))
6
+ - 移除 u-tr 未使用的类型导入和属性定义 ([46ce459](https://gitee.com/anyup/uView-Pro/commit/46ce4590166a30a0eb048110efc046095a87f6e8))
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ - 修复 u-count-down 倒计时符号显示逻辑 ([a4c9498](https://gitee.com/anyup/uView-Pro/commit/a4c94986b020c5ac0fdf92bde3c7b79cdfbedbe8))
11
+
1
12
  ## 0.0.10(2025-08-26)
2
13
 
3
14
  ### ✨ 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 }">
@@ -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++) {
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 基于Vue3+TS全面重构的70+精选UI组件库",
5
- "version": "0.0.10",
4
+ "displayName": "【Vue3重构版】uView Pro|基于Vue3+TS全面重构的70+精选UI组件库",
5
+ "version": "0.0.11",
6
6
  "description": "uView Pro,是全面支持Vue3的uni-app生态框架,70+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
7
7
  "main": "index.ts",
8
8
  "module": "index.ts",