uview-plus 3.8.42 → 3.8.55
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 +88 -0
- package/components/u-calendar/calendar.js +9 -4
- package/components/u-calendar/month.vue +41 -6
- package/components/u-calendar/props.js +25 -0
- package/components/u-calendar/u-calendar.vue +307 -2
- package/components/u-datetime-picker/datetimePicker.js +2 -0
- package/components/u-datetime-picker/props.js +15 -5
- package/components/u-datetime-picker/u-datetime-picker.vue +117 -42
- package/components/u-input/u-input.vue +10 -1
- package/components/u-number-box/u-number-box.vue +8 -5
- package/components/u-picker/u-picker.vue +15 -0
- package/components/u-tabbar-item/u-tabbar-item.vue +2 -2
- package/components/u-table2/u-table2.vue +4 -6
- package/components/u-tooltip/props.js +5 -0
- package/components/u-tooltip/tooltip.js +2 -1
- package/components/u-tooltip/u-tooltip.vue +26 -13
- package/package.json +1 -1
- package/types/comps/calendar.d.ts +24 -0
- package/types/comps/datetimePicker.d.ts +15 -5
|
@@ -23,7 +23,7 @@ declare interface DatetimePickerProps {
|
|
|
23
23
|
* 展示格式
|
|
24
24
|
* @default "datetime"
|
|
25
25
|
*/
|
|
26
|
-
mode?: 'datetime' | 'date' | 'time' | 'year-month'
|
|
26
|
+
mode?: 'datetime' | 'date' | 'time' | 'year-month' | 'datehour' | 'timesecond' | 'datetimesecond'
|
|
27
27
|
/**
|
|
28
28
|
* 可选的最大时间(时间戳毫秒)
|
|
29
29
|
* @default 最大默认值为后10年
|
|
@@ -35,25 +35,35 @@ declare interface DatetimePickerProps {
|
|
|
35
35
|
*/
|
|
36
36
|
minDate?: number
|
|
37
37
|
/**
|
|
38
|
-
* 可选的最小小时,仅mode=time有效
|
|
38
|
+
* 可选的最小小时,仅mode=time/timesecond有效
|
|
39
39
|
* @default 0
|
|
40
40
|
*/
|
|
41
41
|
minHour?: number
|
|
42
42
|
/**
|
|
43
|
-
* 可选的最大小时,仅mode=time有效
|
|
43
|
+
* 可选的最大小时,仅mode=time/timesecond有效
|
|
44
44
|
* @default 23
|
|
45
45
|
*/
|
|
46
46
|
maxHour?: number
|
|
47
47
|
/**
|
|
48
|
-
* 可选的最小分钟,仅mode=time有效
|
|
48
|
+
* 可选的最小分钟,仅mode=time/timesecond有效
|
|
49
49
|
* @default 0
|
|
50
50
|
*/
|
|
51
51
|
minMinute?: number
|
|
52
52
|
/**
|
|
53
|
-
* 可选的最大分钟,仅mode=time有效
|
|
53
|
+
* 可选的最大分钟,仅mode=time/timesecond有效
|
|
54
54
|
* @default 59
|
|
55
55
|
*/
|
|
56
56
|
maxMinute?: number
|
|
57
|
+
/**
|
|
58
|
+
* 可选的最小秒,仅mode=timesecond有效
|
|
59
|
+
* @default 0
|
|
60
|
+
*/
|
|
61
|
+
minSecond?: number
|
|
62
|
+
/**
|
|
63
|
+
* 可选的最大秒,仅mode=timesecond有效
|
|
64
|
+
* @default 59
|
|
65
|
+
*/
|
|
66
|
+
maxSecond?: number
|
|
57
67
|
/**
|
|
58
68
|
* 选项过滤函数
|
|
59
69
|
* @default null
|