@syncfusion/ej2-calendars 26.2.10 → 26.2.11
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 +12 -11
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +12 -11
- 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 +8 -8
- package/src/daterangepicker/daterangepicker.js +5 -2
- package/src/datetimepicker/datetimepicker.d.ts +1 -0
- package/src/datetimepicker/datetimepicker.js +7 -9
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.11
|
|
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@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@26.2.10",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-wN7zqhweAP3NbCHYtSTvBL3hy9leNRnqxbwVPNOK8Z/hUUwat5Ec/AZdbbj5VOz51nqWhu00TAItN1O+R4drkA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"/@syncfusion/ej2-schedule",
|
|
32
32
|
"/@syncfusion/ej2-vue-calendars"
|
|
33
33
|
],
|
|
34
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-26.2.
|
|
35
|
-
"_shasum": "
|
|
34
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-26.2.10.tgz",
|
|
35
|
+
"_shasum": "1ab9bf50a93d12e92345c8eb81d1d7afeb524954",
|
|
36
36
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
37
37
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
38
38
|
"author": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@syncfusion/ej2-base": "~26.2.10",
|
|
47
47
|
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
48
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
49
|
-
"@syncfusion/ej2-lists": "~26.2.
|
|
50
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
48
|
+
"@syncfusion/ej2-inputs": "~26.2.11",
|
|
49
|
+
"@syncfusion/ej2-lists": "~26.2.11",
|
|
50
|
+
"@syncfusion/ej2-popups": "~26.2.11"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"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.",
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
81
81
|
},
|
|
82
82
|
"typings": "index.d.ts",
|
|
83
|
-
"version": "26.2.
|
|
83
|
+
"version": "26.2.11",
|
|
84
84
|
"sideEffects": false
|
|
85
85
|
}
|
|
@@ -1059,12 +1059,15 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
1059
1059
|
if (this.depth === 'Month') {
|
|
1060
1060
|
return this.globalize.parseDate(range[isEnd ? 1 : 0].trim(), dateOptions);
|
|
1061
1061
|
}
|
|
1062
|
-
else if (this.depth === 'Year') {
|
|
1062
|
+
else if (this.depth === 'Year' && !isNullOrUndefined(date)) {
|
|
1063
1063
|
return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
|
|
1064
1064
|
}
|
|
1065
|
-
else {
|
|
1065
|
+
else if (!isNullOrUndefined(date)) {
|
|
1066
1066
|
return new Date(date.getFullYear(), isEnd ? 11 : 0, isEnd ? 31 : 1);
|
|
1067
1067
|
}
|
|
1068
|
+
else {
|
|
1069
|
+
return null;
|
|
1070
|
+
}
|
|
1068
1071
|
};
|
|
1069
1072
|
DateRangePicker.prototype.clearRange = function () {
|
|
1070
1073
|
this.previousStartValue = this.previousEndValue = null;
|
|
@@ -33,6 +33,7 @@ export declare class DateTimePicker extends DatePicker {
|
|
|
33
33
|
private containerStyle;
|
|
34
34
|
private popupObject;
|
|
35
35
|
protected timeModal: HTMLElement;
|
|
36
|
+
protected modelWrapper: HTMLElement;
|
|
36
37
|
private isNavigate;
|
|
37
38
|
protected isPreventBlur: boolean;
|
|
38
39
|
private timeValue;
|
|
@@ -578,11 +578,6 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
578
578
|
if (Browser.isDevice && this.fullScreenMode) {
|
|
579
579
|
this.dateTimeWrapper.style.left = '0px';
|
|
580
580
|
}
|
|
581
|
-
if (Browser.isDevice) {
|
|
582
|
-
var dlgOverlay = this.createElement('div', { className: 'e-dlg-overlay' });
|
|
583
|
-
dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
|
|
584
|
-
this.timeModal.appendChild(dlgOverlay);
|
|
585
|
-
}
|
|
586
581
|
}
|
|
587
582
|
}
|
|
588
583
|
};
|
|
@@ -652,12 +647,12 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
652
647
|
document.body.appendChild(this.timeModal);
|
|
653
648
|
}
|
|
654
649
|
if (Browser.isDevice) {
|
|
655
|
-
|
|
656
|
-
modelWrapper.appendChild(this.dateTimeWrapper);
|
|
650
|
+
this.modelWrapper = createElement('div', { className: 'e-datetime-mob-popup-wrap' });
|
|
651
|
+
this.modelWrapper.appendChild(this.dateTimeWrapper);
|
|
657
652
|
var dlgOverlay = createElement('div', { className: 'e-dlg-overlay' });
|
|
658
653
|
dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
|
|
659
|
-
modelWrapper.appendChild(dlgOverlay);
|
|
660
|
-
document.body.appendChild(modelWrapper);
|
|
654
|
+
this.modelWrapper.appendChild(dlgOverlay);
|
|
655
|
+
document.body.appendChild(this.modelWrapper);
|
|
661
656
|
}
|
|
662
657
|
var offset = 4;
|
|
663
658
|
this.popupObject = new Popup(this.dateTimeWrapper, {
|
|
@@ -687,6 +682,9 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
687
682
|
remove(_this.popupObject.element);
|
|
688
683
|
_this.popupObject.destroy();
|
|
689
684
|
_this.dateTimeWrapper.innerHTML = '';
|
|
685
|
+
if (_this.modelWrapper) {
|
|
686
|
+
remove(_this.modelWrapper);
|
|
687
|
+
}
|
|
690
688
|
_this.listWrapper = _this.dateTimeWrapper = undefined;
|
|
691
689
|
if (_this.inputEvent) {
|
|
692
690
|
_this.inputEvent.destroy();
|