@syncfusion/ej2-calendars 31.1.22 → 31.2.2
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 +8 -0
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +9 -0
- 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 +6 -6
- package/src/datepicker/datepicker.js +9 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 31.
|
|
3
|
+
* version : 31.2.2
|
|
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": "31.
|
|
3
|
+
"version": "31.2.2",
|
|
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",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-calendars.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~31.
|
|
12
|
-
"@syncfusion/ej2-buttons": "~31.
|
|
13
|
-
"@syncfusion/ej2-inputs": "~31.
|
|
14
|
-
"@syncfusion/ej2-lists": "~31.
|
|
15
|
-
"@syncfusion/ej2-popups": "~31.
|
|
11
|
+
"@syncfusion/ej2-base": "~31.2.2",
|
|
12
|
+
"@syncfusion/ej2-buttons": "~31.2.2",
|
|
13
|
+
"@syncfusion/ej2-inputs": "~31.2.2",
|
|
14
|
+
"@syncfusion/ej2-lists": "~31.2.2",
|
|
15
|
+
"@syncfusion/ej2-popups": "~31.2.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {},
|
|
18
18
|
"keywords": [
|
|
@@ -1092,6 +1092,9 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1092
1092
|
});
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
|
+
if (Browser.isDevice && _this.allowEdit && !_this.readonly && Browser.isIos) {
|
|
1096
|
+
_this.inputElement.blur();
|
|
1097
|
+
}
|
|
1095
1098
|
}, close: function () {
|
|
1096
1099
|
if (_this.isDateIconClicked) {
|
|
1097
1100
|
_this.inputWrapper.container.children[_this.index].focus();
|
|
@@ -1479,6 +1482,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1479
1482
|
};
|
|
1480
1483
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
1481
1484
|
DatePicker.prototype.closeEventCallback = function (prevent, eventArgs) {
|
|
1485
|
+
var _this = this;
|
|
1482
1486
|
this.preventArgs = eventArgs;
|
|
1483
1487
|
if (this.isCalendar() && (prevent && !this.preventArgs.cancel)) {
|
|
1484
1488
|
this.popupObj.hide();
|
|
@@ -1502,6 +1506,11 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1502
1506
|
EventHandler.remove(document, 'mousedown touchstart', this.documentHandler);
|
|
1503
1507
|
if (Browser.isDevice && this.allowEdit && !this.readonly) {
|
|
1504
1508
|
this.inputElement.removeAttribute('readonly');
|
|
1509
|
+
if (Browser.isIos) {
|
|
1510
|
+
setTimeout(function () {
|
|
1511
|
+
_this.inputElement.focus();
|
|
1512
|
+
}, 1);
|
|
1513
|
+
}
|
|
1505
1514
|
}
|
|
1506
1515
|
this.setAllowEdit();
|
|
1507
1516
|
};
|