@syncfusion/ej2-calendars 23.1.38 → 23.1.40

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 : 23.1.38
3
+ * version : 23.1.40
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
- "_id": "@syncfusion/ej2-calendars@18.30.19",
3
+ "_id": "@syncfusion/ej2-calendars@23.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-r0w9Qb/QlI44UVk7zaxEJ0L4oVz1rt6RB8nF+SZtqP7nC0GLgkSgeHVPsbWQimsjKJijGmsFEuTaRayYIg4vMA==",
5
+ "_integrity": "sha512-jUmTyN6zTDeL1om70MJKiekxOZbY6tXM1fYfH3y6+ZEvgIRxyUWPPHBfdPc4LFT3/v7ptW41xz2hFNRChGpGwA==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -32,8 +32,8 @@
32
32
  "/@syncfusion/ej2-schedule",
33
33
  "/@syncfusion/ej2-vue-calendars"
34
34
  ],
35
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.30.19.tgz",
36
- "_shasum": "17a30c7ae47921638907111c367a6dee5574c42e",
35
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-23.1.38.tgz",
36
+ "_shasum": "90cefe9bd143b98573a2ea79d67eb1890be915ef",
37
37
  "_spec": "@syncfusion/ej2-calendars@*",
38
38
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
39
39
  "author": {
@@ -45,8 +45,8 @@
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
47
  "@syncfusion/ej2-base": "~23.1.38",
48
- "@syncfusion/ej2-buttons": "~23.1.36",
49
- "@syncfusion/ej2-inputs": "~23.1.38",
48
+ "@syncfusion/ej2-buttons": "~23.1.39",
49
+ "@syncfusion/ej2-inputs": "~23.1.40",
50
50
  "@syncfusion/ej2-lists": "~23.1.36",
51
51
  "@syncfusion/ej2-popups": "~23.1.38"
52
52
  },
@@ -81,6 +81,6 @@
81
81
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
82
82
  },
83
83
  "typings": "index.d.ts",
84
- "version": "23.1.38",
84
+ "version": "23.1.40",
85
85
  "sideEffects": false
86
86
  }
@@ -2294,7 +2294,7 @@ var Calendar = /** @class */ (function (_super) {
2294
2294
  this.islamicModule.islamicRenderTemplate(elements, count, classNm, e, this.value);
2295
2295
  }
2296
2296
  this.changedArgs = { value: this.value, values: this.values };
2297
- this.changeHandler();
2297
+ e && e.type === 'click' && e.currentTarget.classList.contains(OTHERMONTH) ? this.changeHandler(e) : this.changeHandler();
2298
2298
  };
2299
2299
  Calendar.prototype.clickHandler = function (e) {
2300
2300
  var eve = e.currentTarget;
@@ -176,7 +176,7 @@ var DatePicker = /** @class */ (function (_super) {
176
176
  var ariaAttrs = {
177
177
  'aria-atomic': 'true', 'aria-expanded': 'false',
178
178
  'role': 'combobox', 'autocomplete': 'off', 'autocorrect': 'off',
179
- 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false'
179
+ 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false', 'aria-label': this.getModuleName()
180
180
  };
181
181
  if (this.getModuleName() === 'datepicker') {
182
182
  var l10nLocale = { placeholder: this.placeholder };
@@ -1475,7 +1475,7 @@ var DatePicker = /** @class */ (function (_super) {
1475
1475
  var ariaAttrs = {
1476
1476
  'aria-atomic': 'true', 'aria-disabled': 'true',
1477
1477
  'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off',
1478
- 'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
1478
+ 'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false', 'aria-label': this.getModuleName()
1479
1479
  };
1480
1480
  if (this.inputElement) {
1481
1481
  Input.removeAttributes(ariaAttrs, this.inputElement);
@@ -198,6 +198,12 @@ var DateTimePicker = /** @class */ (function (_super) {
198
198
  this.cloneElement = this.element.cloneNode(true);
199
199
  this.dateTimeFormat = this.cldrDateTimeFormat();
200
200
  this.initValue = this.value;
201
+ if (typeof (this.min) === 'string') {
202
+ this.min = this.checkDateValue(new Date(this.min));
203
+ }
204
+ if (typeof (this.max) === 'string') {
205
+ this.max = this.checkDateValue(new Date(this.max));
206
+ }
201
207
  if (!isNullOrUndefined(closest(this.element, 'fieldset')) && closest(this.element, 'fieldset').disabled) {
202
208
  this.enabled = false;
203
209
  }