@acorex/components 20.2.0-next.3 → 20.2.0-next.5
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/fesm2022/acorex-components-calendar.mjs +20 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +4 -4
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +2 -2
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +1 -1
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/package.json +1 -1
- package/scheduler/index.d.ts +1 -1
@@ -92,25 +92,31 @@ class MXCalendarBaseComponent extends MXBaseComponent {
|
|
92
92
|
return this._minValue;
|
93
93
|
}
|
94
94
|
set minValue(v) {
|
95
|
-
this.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
95
|
+
if (this.calendarService.isValidDate(v)) {
|
96
|
+
const value = this.calendarService.create(v);
|
97
|
+
this.setOption({
|
98
|
+
name: 'minValue',
|
99
|
+
value,
|
100
|
+
afterCallback: () => {
|
101
|
+
this.render();
|
102
|
+
},
|
103
|
+
});
|
104
|
+
}
|
102
105
|
}
|
103
106
|
get maxValue() {
|
104
107
|
return this._maxValue;
|
105
108
|
}
|
106
109
|
set maxValue(v) {
|
107
|
-
this.
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
110
|
+
if (this.calendarService.isValidDate(v)) {
|
111
|
+
const value = this.calendarService.create(v);
|
112
|
+
this.setOption({
|
113
|
+
name: 'maxValue',
|
114
|
+
value,
|
115
|
+
afterCallback: () => {
|
116
|
+
this.render();
|
117
|
+
},
|
118
|
+
});
|
119
|
+
}
|
114
120
|
}
|
115
121
|
get disabledDates() {
|
116
122
|
return this._disabledDates;
|