@syncfusion/ej2-calendars 20.3.47 → 20.3.48

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.
@@ -3249,7 +3249,7 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
3249
3249
  };
3250
3250
  DatePicker.prototype.createInput = function () {
3251
3251
  var ariaAttrs = {
3252
- 'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-expanded': 'false',
3252
+ 'aria-live': 'off', 'aria-atomic': 'true', 'aria-expanded': 'false',
3253
3253
  'role': 'combobox', 'autocomplete': 'off', 'autocorrect': 'off',
3254
3254
  'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false'
3255
3255
  };
@@ -4454,7 +4454,7 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
4454
4454
  _super.prototype.destroy.call(this);
4455
4455
  }
4456
4456
  var ariaAttrs = {
4457
- 'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-disabled': 'true',
4457
+ 'aria-live': 'off', 'aria-atomic': 'true', 'aria-disabled': 'true',
4458
4458
  'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off',
4459
4459
  'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
4460
4460
  };
@@ -5839,10 +5839,12 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
5839
5839
  this.updateHeader();
5840
5840
  };
5841
5841
  DateRangePicker.prototype.clearCalendarEvents = function () {
5842
- EventHandler.clearEvents(this.leftCalPrevIcon);
5843
- EventHandler.clearEvents(this.leftCalNextIcon);
5844
- EventHandler.clearEvents(this.rightCalPrevIcon);
5845
- EventHandler.clearEvents(this.rightCalNextIcon);
5842
+ if (this.leftCalPrevIcon && this.leftCalNextIcon && this.rightCalPrevIcon && this.rightCalNextIcon) {
5843
+ EventHandler.clearEvents(this.leftCalPrevIcon);
5844
+ EventHandler.clearEvents(this.leftCalNextIcon);
5845
+ EventHandler.clearEvents(this.rightCalPrevIcon);
5846
+ EventHandler.clearEvents(this.rightCalNextIcon);
5847
+ }
5846
5848
  };
5847
5849
  DateRangePicker.prototype.updateNavIcons = function () {
5848
5850
  _super.prototype.iconHandler.call(this);
@@ -6869,6 +6871,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
6869
6871
  }
6870
6872
  }
6871
6873
  addClass([ele], SELECTED$3);
6874
+ this.calendarIconEvent();
6872
6875
  this.updateHeader();
6873
6876
  this.removeFocusedDate();
6874
6877
  };