@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.
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +9 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +9 -3
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/calendar/calendar.js +1 -1
- package/src/datepicker/datepicker.js +2 -2
- package/src/datetimepicker/datetimepicker.js +6 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.1.
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@23.1.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
36
|
-
"_shasum": "
|
|
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.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~23.1.
|
|
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.
|
|
84
|
+
"version": "23.1.40",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -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
|
}
|