@syncfusion/ej2-calendars 20.4.38 → 20.4.42
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/README.md +1 -1
- 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 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +8 -4
- 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 +11 -11
- package/src/daterangepicker/daterangepicker.js +8 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.42
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@20.4.40",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-dIUZC7yf+bdh19falIrE12r92V+I3kJInBNOzF4J1LLrV+oHfWG8KIRdivjb5FAj0C48vtZR2BxBGk5Lc1+9xQ==",
|
|
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-
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-20.4.40.tgz",
|
|
36
|
+
"_shasum": "c3e55dd97a1ae5b1c564063fb714aa1102a48b34",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~20.4.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~20.4.
|
|
50
|
-
"@syncfusion/ej2-lists": "~20.4.
|
|
51
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
47
|
+
"@syncfusion/ej2-base": "~20.4.42",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~20.4.42",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~20.4.42",
|
|
50
|
+
"@syncfusion/ej2-lists": "~20.4.42",
|
|
51
|
+
"@syncfusion/ej2-popups": "~20.4.42"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
54
54
|
"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.",
|
|
55
55
|
"devDependencies": {},
|
|
56
56
|
"es2015": "./dist/es6/ej2-calendars.es5.js",
|
|
57
|
-
"homepage": "https://
|
|
57
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
58
58
|
"keywords": [
|
|
59
59
|
"ej2",
|
|
60
60
|
"syncfusion",
|
|
@@ -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": "20.4.
|
|
84
|
+
"version": "20.4.42",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -804,7 +804,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
804
804
|
this.createControl();
|
|
805
805
|
this.bindCalendarEvents();
|
|
806
806
|
this.updateRange((this.isMobile ? [this.calendarElement] : [this.leftCalendar, this.rightCalendar]));
|
|
807
|
-
if (!isNullOrUndefined(this.endValue) && !isNullOrUndefined(this.startValue)) {
|
|
807
|
+
if (!isNullOrUndefined(this.endValue) && !isNullOrUndefined(this.startValue) && !isNullOrUndefined(this.renderDayCell)) {
|
|
808
808
|
this.disabledDateRender();
|
|
809
809
|
}
|
|
810
810
|
this.updateHeader();
|
|
@@ -1808,7 +1808,9 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
1808
1808
|
if (!this.isMobile) {
|
|
1809
1809
|
this.removeClassDisabled();
|
|
1810
1810
|
}
|
|
1811
|
-
this.
|
|
1811
|
+
if (!isNullOrUndefined(this.renderDayCell)) {
|
|
1812
|
+
this.disabledDateRender();
|
|
1813
|
+
}
|
|
1812
1814
|
this.trigger('select', this.rangeArgs(event));
|
|
1813
1815
|
}
|
|
1814
1816
|
else if (+date < +this.startValue) {
|
|
@@ -3384,7 +3386,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3384
3386
|
if (!this.strictMode && (isDisabled)) {
|
|
3385
3387
|
this.clearRange();
|
|
3386
3388
|
}
|
|
3387
|
-
if (!isNullOrUndefined(this.endValue) && !isNullOrUndefined(this.startValue) && !isDisabled) {
|
|
3389
|
+
if (!isNullOrUndefined(this.endValue) && !isNullOrUndefined(this.startValue) && !isDisabled && !isNullOrUndefined(this.renderDayCell)) {
|
|
3388
3390
|
this.disabledDateRender();
|
|
3389
3391
|
}
|
|
3390
3392
|
this.errorClass();
|
|
@@ -3877,7 +3879,9 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3877
3879
|
if (!isNullOrUndefined(this.startValue) && !isNullOrUndefined(this.endValue)) {
|
|
3878
3880
|
range = (Math.round(Math.abs((this.removeTimeValueFromDate(this.startValue).getTime() -
|
|
3879
3881
|
this.removeTimeValueFromDate(this.endValue).getTime()) / (1000 * 60 * 60 * 24))) + 1);
|
|
3880
|
-
this.
|
|
3882
|
+
if (!isNullOrUndefined(this.renderDayCell)) {
|
|
3883
|
+
this.disabledDateRender();
|
|
3884
|
+
}
|
|
3881
3885
|
if (!isNullOrUndefined(this.disabledDayCnt)) {
|
|
3882
3886
|
range = range - this.disabledDayCnt;
|
|
3883
3887
|
this.disabledDayCnt = null;
|