@syncfusion/ej2-calendars 19.4.38 → 19.4.52

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.
@@ -61,34 +61,6 @@ var PRIMARY = 'e-primary';
61
61
  var DAYHEADERLONG = 'e-calendar-day-header-lg';
62
62
  var dayMilliSeconds = 86400000;
63
63
  var minutesMilliSeconds = 60000;
64
- var MaskPlaceholder = /** @__PURE__ @class */ (function (_super) {
65
- __extends(MaskPlaceholder, _super);
66
- function MaskPlaceholder() {
67
- return _super !== null && _super.apply(this, arguments) || this;
68
- }
69
- __decorate([
70
- Property('day')
71
- ], MaskPlaceholder.prototype, "day", void 0);
72
- __decorate([
73
- Property('month')
74
- ], MaskPlaceholder.prototype, "month", void 0);
75
- __decorate([
76
- Property('year')
77
- ], MaskPlaceholder.prototype, "year", void 0);
78
- __decorate([
79
- Property('hour')
80
- ], MaskPlaceholder.prototype, "hour", void 0);
81
- __decorate([
82
- Property('minute')
83
- ], MaskPlaceholder.prototype, "minute", void 0);
84
- __decorate([
85
- Property('second')
86
- ], MaskPlaceholder.prototype, "second", void 0);
87
- __decorate([
88
- Property('day of the week')
89
- ], MaskPlaceholder.prototype, "dayOfTheWeek", void 0);
90
- return MaskPlaceholder;
91
- }(ChildProperty));
92
64
  /**
93
65
  *
94
66
  * @private
@@ -8443,7 +8415,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
8443
8415
  this.disabledDayCnt = null;
8444
8416
  var localDate = new Date(+this.startValue);
8445
8417
  var count = 0;
8446
- while (+localDate <= +this.endValue) {
8418
+ while (+localDate <= +this.endValue && +this.endValue <= +this.max) {
8447
8419
  this.virtualRenderCellArgs = {
8448
8420
  date: localDate,
8449
8421
  isDisabled: false
@@ -12565,7 +12537,7 @@ var DateTimePicker = /** @__PURE__ @class */ (function (_super) {
12565
12537
  };
12566
12538
  this.addTimeSelection();
12567
12539
  this.trigger('change', this.changedArgs);
12568
- this.previousDateTime = this.value;
12540
+ this.previousDateTime = this.previousDate = this.value;
12569
12541
  }
12570
12542
  };
12571
12543
  DateTimePicker.prototype.setTimeScrollPosition = function () {
@@ -13619,7 +13591,7 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
13619
13591
  var inputValue = this.parent.inputElement.value;
13620
13592
  var previousVal = this.previousValue.substring(0, start + this.previousValue.length - inputValue.length);
13621
13593
  var newVal = inputValue.substring(0, start);
13622
- var newDateValue = this.maskDateValue;
13594
+ var newDateValue = new Date(+this.maskDateValue);
13623
13595
  var maxDate = new Date(newDateValue.getFullYear(), newDateValue.getMonth() + 1, 0).getDate();
13624
13596
  if (previousVal.indexOf(newVal) === 0 && (newVal.length === 0 || this.previousHiddenMask[newVal.length - 1] !== this.previousHiddenMask[newVal.length])) {
13625
13597
  for (var i = newVal.length; i < previousVal.length; i++) {
@@ -14164,5 +14136,5 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14164
14136
  * Calendar all modules
14165
14137
  */
14166
14138
 
14167
- export { MaskPlaceholder, CalendarBase, Calendar, Islamic, DatePicker, Presets, DateRangePicker, TimePickerBase, TimeMaskPlaceholder, TimePicker, DateTimePicker, MaskedDateTime };
14139
+ export { CalendarBase, Calendar, Islamic, DatePicker, Presets, DateRangePicker, TimePickerBase, TimeMaskPlaceholder, TimePicker, DateTimePicker, MaskedDateTime };
14168
14140
  //# sourceMappingURL=ej2-calendars.es5.js.map