zartui 1.0.21 → 1.0.23
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/es/calendar/components/Header.js +6 -0
- package/es/calendar/index.js +5 -0
- package/es/index.js +4 -3
- package/es/radio-picker/PickerColumn.js +421 -0
- package/es/radio-picker/index.css +1 -0
- package/es/radio-picker/index.js +477 -0
- package/es/radio-picker/index.less +152 -0
- package/es/radio-picker/shared.js +36 -0
- package/es/radio-picker/style/index.js +13 -0
- package/es/radio-picker/style/less.js +13 -0
- package/es/style/var.less +3 -0
- package/lib/calendar/components/Header.js +6 -0
- package/lib/calendar/index.js +5 -0
- package/lib/index.css +1 -1
- package/lib/index.js +6 -2
- package/lib/index.less +1 -0
- package/lib/radio-picker/PickerColumn.js +441 -0
- package/lib/radio-picker/index.css +1 -0
- package/lib/radio-picker/index.js +495 -0
- package/lib/radio-picker/index.less +152 -0
- package/lib/radio-picker/shared.js +42 -0
- package/lib/radio-picker/style/index.js +13 -0
- package/lib/radio-picker/style/less.js +13 -0
- package/lib/style/var.less +3 -0
- package/lib/zart.js +1356 -406
- package/lib/zart.min.js +4 -4
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ var _default = createComponent({
|
|
|
17
17
|
subtitle: String,
|
|
18
18
|
showTitle: Boolean,
|
|
19
19
|
showSubtitle: Boolean,
|
|
20
|
+
showWeekDays: Boolean,
|
|
20
21
|
firstDayOfWeek: Number
|
|
21
22
|
},
|
|
22
23
|
methods: {
|
|
@@ -46,6 +47,11 @@ var _default = createComponent({
|
|
|
46
47
|
},
|
|
47
48
|
genWeekDays: function genWeekDays() {
|
|
48
49
|
var h = this.$createElement;
|
|
50
|
+
|
|
51
|
+
if (!this.showWeekDays) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
|
|
49
55
|
var weekdays = (0, _utils2.t)('weekdays'); // console.log(" weekdays " + JSON.stringify(weekdays));
|
|
50
56
|
|
|
51
57
|
var firstDayOfWeek = this.firstDayOfWeek;
|
package/lib/calendar/index.js
CHANGED
|
@@ -79,6 +79,10 @@ var _default2 = (0, _utils.createComponent)({
|
|
|
79
79
|
type: Boolean,
|
|
80
80
|
default: true
|
|
81
81
|
},
|
|
82
|
+
showWeekDays: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: true
|
|
85
|
+
},
|
|
82
86
|
closeOnPopstate: {
|
|
83
87
|
type: Boolean,
|
|
84
88
|
default: true
|
|
@@ -448,6 +452,7 @@ var _default2 = (0, _utils.createComponent)({
|
|
|
448
452
|
"lazyRender": this.lazyRender,
|
|
449
453
|
"currentDate": this.currentDate,
|
|
450
454
|
"showSubtitle": this.showSubtitle,
|
|
455
|
+
"showWeekDays": this.showWeekDays,
|
|
451
456
|
"allowSameDay": this.allowSameDay,
|
|
452
457
|
"showMonthTitle": showMonthTitle,
|
|
453
458
|
"firstDayOfWeek": this.dayOffset
|