ps-toolkit-ui 1.3.81 → 1.3.84
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/bundles/ps-toolkit-ui.umd.js +4 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/date/form.date.component.js +5 -1
- package/fesm2015/ps-toolkit-ui.js +4 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3588,6 +3588,8 @@
|
|
|
3588
3588
|
FormDateComponent.prototype.setInpValue = function (v) {
|
|
3589
3589
|
if (v === null) {
|
|
3590
3590
|
this.inp.clear();
|
|
3591
|
+
this.active = moment__namespace();
|
|
3592
|
+
this.setDate();
|
|
3591
3593
|
return;
|
|
3592
3594
|
}
|
|
3593
3595
|
else if (typeof v === 'string') {
|
|
@@ -3619,6 +3621,7 @@
|
|
|
3619
3621
|
previousDays.push(new DayClass(i, this.isToday(previousMonth, i), false));
|
|
3620
3622
|
}
|
|
3621
3623
|
}
|
|
3624
|
+
console.log(countDayInMonth, 'countDayInMonth');
|
|
3622
3625
|
for (var i = 1; i <= countDayInMonth; i++) {
|
|
3623
3626
|
days.push(new DayClass(i, this.isToday(this.active, i), this.isSelected(this.active, i)));
|
|
3624
3627
|
}
|
|
@@ -3631,6 +3634,7 @@
|
|
|
3631
3634
|
this.previousDays = previousDays;
|
|
3632
3635
|
this.nextDays = nextDays;
|
|
3633
3636
|
this.days = days;
|
|
3637
|
+
console.log(days, 'days');
|
|
3634
3638
|
};
|
|
3635
3639
|
FormDateComponent.prototype.isToday = function (m, d) {
|
|
3636
3640
|
var month = parseInt(m.format('jMM'), 10);
|