@syncfusion/ej2-calendars 33.2.4 → 33.2.6

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 33.2.4
3
+ * version : 33.2.6
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-calendars",
3
- "version": "33.2.4",
3
+ "version": "33.2.6",
4
4
  "description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -9,10 +9,10 @@
9
9
  "es2015": "./dist/es6/ej2-calendars.es5.js",
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~33.2.3",
12
- "@syncfusion/ej2-buttons": "~33.2.3",
13
- "@syncfusion/ej2-inputs": "~33.2.4",
12
+ "@syncfusion/ej2-buttons": "~33.2.5",
13
+ "@syncfusion/ej2-inputs": "~33.2.5",
14
14
  "@syncfusion/ej2-lists": "~33.2.3",
15
- "@syncfusion/ej2-popups": "~33.2.3"
15
+ "@syncfusion/ej2-popups": "~33.2.5"
16
16
  },
17
17
  "devDependencies": {},
18
18
  "keywords": [
@@ -174,6 +174,7 @@ export declare class DateRangePicker extends CalendarBase {
174
174
  protected touchRangeStart: boolean;
175
175
  protected iconRangeRight: string;
176
176
  protected clearButton: HTMLElement;
177
+ private isIconClick;
177
178
  /**
178
179
  * Gets or sets the start and end date of the Calendar.
179
180
  * {% codeBlock src='daterangepicker/value/index.md' %}{% endcodeBlock %}
@@ -146,6 +146,7 @@ var DateRangePicker = /** @class */ (function (_super) {
146
146
  _this.preventFocus = false;
147
147
  _this.invalidValueString = null;
148
148
  _this.preventChange = false;
149
+ _this.isIconClick = false;
149
150
  _this.dateRangeOptions = options;
150
151
  return _this;
151
152
  }
@@ -1003,6 +1004,9 @@ var DateRangePicker = /** @class */ (function (_super) {
1003
1004
  }
1004
1005
  };
1005
1006
  DateRangePicker.prototype.inputBlurHandler = function (e) {
1007
+ if (this.isIconClick) {
1008
+ e.stopImmediatePropagation();
1009
+ }
1006
1010
  this.updateFloatLabelOverflowWidth();
1007
1011
  if (!this.enabled) {
1008
1012
  return;
@@ -2932,6 +2936,9 @@ var DateRangePicker = /** @class */ (function (_super) {
2932
2936
  });
2933
2937
  }
2934
2938
  }
2939
+ if (this.isRangeIconClicked && this.openOnFocus) {
2940
+ this.isRangeIconClicked = false;
2941
+ }
2935
2942
  };
2936
2943
  DateRangePicker.prototype.onMouseClick = function (event, item) {
2937
2944
  if (event.type === 'touchstart') {
@@ -3328,7 +3335,9 @@ var DateRangePicker = /** @class */ (function (_super) {
3328
3335
  }
3329
3336
  else {
3330
3337
  this.preventBlur = true;
3338
+ this.isIconClick = true;
3331
3339
  this.leftCalendar.children[1].firstElementChild.focus();
3340
+ this.isIconClick = false;
3332
3341
  }
3333
3342
  }
3334
3343
  };