@syncfusion/ej2-calendars 20.4.48 → 20.4.52
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/CHANGELOG.md +2 -0
- package/GitLeaksReport.json +1 -0
- 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 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +9 -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/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/package.json +10 -10
- package/src/calendar/calendar.js +1 -1
- package/src/datepicker/datepicker.js +7 -2
- package/src/datetimepicker/datetimepicker.js +1 -1
- package/styles/bootstrap-dark.css +1 -0
- package/styles/bootstrap.css +1 -0
- package/styles/bootstrap4.css +1 -0
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/daterangepicker/_layout.scss +1 -0
- package/styles/daterangepicker/bootstrap-dark.css +1 -0
- package/styles/daterangepicker/bootstrap.css +1 -0
- package/styles/daterangepicker/bootstrap4.css +1 -0
- package/styles/daterangepicker/bootstrap5-dark.css +1 -0
- package/styles/daterangepicker/bootstrap5.css +1 -0
- package/styles/daterangepicker/fabric-dark.css +1 -0
- package/styles/daterangepicker/fabric.css +1 -0
- package/styles/daterangepicker/fluent-dark.css +1 -0
- package/styles/daterangepicker/fluent.css +1 -0
- package/styles/daterangepicker/highcontrast-light.css +1 -0
- package/styles/daterangepicker/highcontrast.css +1 -0
- package/styles/daterangepicker/material-dark.css +1 -0
- package/styles/daterangepicker/material.css +1 -0
- package/styles/daterangepicker/tailwind-dark.css +1 -0
- package/styles/daterangepicker/tailwind.css +1 -0
- package/styles/fabric-dark.css +1 -0
- package/styles/fabric.css +1 -0
- package/styles/fluent-dark.css +1 -0
- package/styles/fluent.css +1 -0
- package/styles/highcontrast-light.css +1 -0
- package/styles/highcontrast.css +1 -0
- package/styles/material-dark.css +1 -0
- package/styles/material.css +1 -0
- package/styles/tailwind-dark.css +1 -0
- package/styles/tailwind.css +1 -0
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.52
|
|
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
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-calendars@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-calendars@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@20.4.51",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-YZN6Ig9gf7ZAi0oJxCSDitYvyPicAlijPZeBluFiQHbd7eaPdzf1eK1d0KXiZsc+GbTMA1WLtVND26Qz5SJm5g==",
|
|
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-20.4.
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-20.4.51.tgz",
|
|
36
|
+
"_shasum": "aaa25aca4b2c755ab6a746fbd3bfb6451a6ad3a3",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,11 +44,11 @@
|
|
|
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.51",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~20.4.50",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~20.4.52",
|
|
50
|
+
"@syncfusion/ej2-lists": "~20.4.50",
|
|
51
|
+
"@syncfusion/ej2-popups": "~20.4.52"
|
|
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.",
|
|
@@ -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.52",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -2570,7 +2570,7 @@ var Calendar = /** @class */ (function (_super) {
|
|
|
2570
2570
|
if (!isNullOrUndefined(this.value)) {
|
|
2571
2571
|
this.setProperties({ value: this.value }, true);
|
|
2572
2572
|
}
|
|
2573
|
-
if (!this.isMultiSelection && +this.value !== Number.NaN && (!isNullOrUndefined(this.value) && !isNullOrUndefined(this.previousDate)
|
|
2573
|
+
if (!this.isMultiSelection && +this.value !== Number.NaN && (!isNullOrUndefined(this.value) && !isNullOrUndefined(this.previousDate) || this.previousDate == null
|
|
2574
2574
|
&& !isNaN(+this.value))) {
|
|
2575
2575
|
this.changeEvent(e);
|
|
2576
2576
|
}
|
|
@@ -1085,8 +1085,10 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1085
1085
|
this.trigger('navigated', this.navigatedArgs);
|
|
1086
1086
|
};
|
|
1087
1087
|
DatePicker.prototype.changeEvent = function (event) {
|
|
1088
|
-
if (
|
|
1088
|
+
if (!this.isIconClicked) {
|
|
1089
1089
|
this.selectCalendar(event);
|
|
1090
|
+
}
|
|
1091
|
+
if (((this.previousDate && this.previousDate.valueOf()) !== (this.value && this.value.valueOf()))) {
|
|
1090
1092
|
this.changedArgs.event = event ? event : null;
|
|
1091
1093
|
this.changedArgs.element = this.element;
|
|
1092
1094
|
this.changedArgs.isInteracted = this.isInteracted;
|
|
@@ -1100,6 +1102,9 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1100
1102
|
this.previousElementValue = this.inputElement.value;
|
|
1101
1103
|
this.errorClass();
|
|
1102
1104
|
}
|
|
1105
|
+
else if (event) {
|
|
1106
|
+
this.hide(event);
|
|
1107
|
+
}
|
|
1103
1108
|
};
|
|
1104
1109
|
DatePicker.prototype.requiredModules = function () {
|
|
1105
1110
|
var modules = [];
|
|
@@ -1188,7 +1193,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1188
1193
|
else {
|
|
1189
1194
|
var prevent_1 = true;
|
|
1190
1195
|
var outOfRange = void 0;
|
|
1191
|
-
if (!isNullOrUndefined(this.value) && !(+this.value >= +this.min && +this.value <= +this.max)) {
|
|
1196
|
+
if (!isNullOrUndefined(this.value) && !(+this.value >= +new Date(this.checkValue(this.min)) && +this.value <= +new Date(this.checkValue(this.max)))) {
|
|
1192
1197
|
outOfRange = new Date(this.checkValue(this.value));
|
|
1193
1198
|
this.setProperties({ 'value': null }, true);
|
|
1194
1199
|
}
|
|
@@ -717,8 +717,8 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
717
717
|
return popupHeight > height ? height : popupHeight;
|
|
718
718
|
};
|
|
719
719
|
DateTimePicker.prototype.changeEvent = function (e) {
|
|
720
|
+
_super.prototype.changeEvent.call(this, e);
|
|
720
721
|
if ((this.value && this.value.valueOf()) !== (this.previousDateTime && +this.previousDateTime.valueOf())) {
|
|
721
|
-
_super.prototype.changeEvent.call(this, e);
|
|
722
722
|
this.valueWithMinutes = this.value;
|
|
723
723
|
this.setInputValue('date');
|
|
724
724
|
this.previousDateTime = this.value && new Date(+this.value);
|
|
@@ -1465,6 +1465,7 @@ ejs-calendar {
|
|
|
1465
1465
|
overflow: hidden;
|
|
1466
1466
|
padding: 0 20px;
|
|
1467
1467
|
white-space: nowrap;
|
|
1468
|
+
text-overflow: ellipsis;
|
|
1468
1469
|
}
|
|
1469
1470
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1470
1471
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/bootstrap.css
CHANGED
|
@@ -1468,6 +1468,7 @@ ejs-calendar {
|
|
|
1468
1468
|
overflow: hidden;
|
|
1469
1469
|
padding: 0 20px;
|
|
1470
1470
|
white-space: nowrap;
|
|
1471
|
+
text-overflow: ellipsis;
|
|
1471
1472
|
}
|
|
1472
1473
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1473
1474
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1490,6 +1490,7 @@ ejs-calendar {
|
|
|
1490
1490
|
overflow: hidden;
|
|
1491
1491
|
padding: 0 20px;
|
|
1492
1492
|
white-space: nowrap;
|
|
1493
|
+
text-overflow: ellipsis;
|
|
1493
1494
|
}
|
|
1494
1495
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1495
1496
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
|
@@ -1558,6 +1558,7 @@ ejs-calendar {
|
|
|
1558
1558
|
overflow: hidden;
|
|
1559
1559
|
padding: 0 24px;
|
|
1560
1560
|
white-space: nowrap;
|
|
1561
|
+
text-overflow: ellipsis;
|
|
1561
1562
|
}
|
|
1562
1563
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1563
1564
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1558,6 +1558,7 @@ ejs-calendar {
|
|
|
1558
1558
|
overflow: hidden;
|
|
1559
1559
|
padding: 0 24px;
|
|
1560
1560
|
white-space: nowrap;
|
|
1561
|
+
text-overflow: ellipsis;
|
|
1561
1562
|
}
|
|
1562
1563
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1563
1564
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/fabric-dark.css
CHANGED
|
@@ -1462,6 +1462,7 @@ ejs-calendar {
|
|
|
1462
1462
|
overflow: hidden;
|
|
1463
1463
|
padding: 0 10px;
|
|
1464
1464
|
white-space: nowrap;
|
|
1465
|
+
text-overflow: ellipsis;
|
|
1465
1466
|
}
|
|
1466
1467
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1467
1468
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/fabric.css
CHANGED
|
@@ -1469,6 +1469,7 @@ ejs-calendar {
|
|
|
1469
1469
|
overflow: hidden;
|
|
1470
1470
|
padding: 0 10px;
|
|
1471
1471
|
white-space: nowrap;
|
|
1472
|
+
text-overflow: ellipsis;
|
|
1472
1473
|
}
|
|
1473
1474
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1474
1475
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/fluent-dark.css
CHANGED
|
@@ -1626,6 +1626,7 @@ ejs-calendar {
|
|
|
1626
1626
|
overflow: hidden;
|
|
1627
1627
|
padding: 0 24px;
|
|
1628
1628
|
white-space: nowrap;
|
|
1629
|
+
text-overflow: ellipsis;
|
|
1629
1630
|
}
|
|
1630
1631
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1631
1632
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/fluent.css
CHANGED
|
@@ -1626,6 +1626,7 @@ ejs-calendar {
|
|
|
1626
1626
|
overflow: hidden;
|
|
1627
1627
|
padding: 0 24px;
|
|
1628
1628
|
white-space: nowrap;
|
|
1629
|
+
text-overflow: ellipsis;
|
|
1629
1630
|
}
|
|
1630
1631
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1631
1632
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
|
@@ -1473,6 +1473,7 @@ ejs-calendar {
|
|
|
1473
1473
|
overflow: hidden;
|
|
1474
1474
|
padding: 0 10px;
|
|
1475
1475
|
white-space: nowrap;
|
|
1476
|
+
text-overflow: ellipsis;
|
|
1476
1477
|
}
|
|
1477
1478
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1478
1479
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/highcontrast.css
CHANGED
|
@@ -1476,6 +1476,7 @@ ejs-calendar {
|
|
|
1476
1476
|
overflow: hidden;
|
|
1477
1477
|
padding: 0 10px;
|
|
1478
1478
|
white-space: nowrap;
|
|
1479
|
+
text-overflow: ellipsis;
|
|
1479
1480
|
}
|
|
1480
1481
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1481
1482
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/material-dark.css
CHANGED
|
@@ -1592,6 +1592,7 @@ ejs-calendar {
|
|
|
1592
1592
|
overflow: hidden;
|
|
1593
1593
|
padding: 0 24px;
|
|
1594
1594
|
white-space: nowrap;
|
|
1595
|
+
text-overflow: ellipsis;
|
|
1595
1596
|
}
|
|
1596
1597
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1597
1598
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/material.css
CHANGED
|
@@ -1702,6 +1702,7 @@ ejs-calendar {
|
|
|
1702
1702
|
overflow: hidden;
|
|
1703
1703
|
padding: 0 24px;
|
|
1704
1704
|
white-space: nowrap;
|
|
1705
|
+
text-overflow: ellipsis;
|
|
1705
1706
|
}
|
|
1706
1707
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1707
1708
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -1602,6 +1602,7 @@ ejs-calendar {
|
|
|
1602
1602
|
overflow: hidden;
|
|
1603
1603
|
padding: 0 24px;
|
|
1604
1604
|
white-space: nowrap;
|
|
1605
|
+
text-overflow: ellipsis;
|
|
1605
1606
|
}
|
|
1606
1607
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1607
1608
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|
package/styles/tailwind.css
CHANGED
|
@@ -1602,6 +1602,7 @@ ejs-calendar {
|
|
|
1602
1602
|
overflow: hidden;
|
|
1603
1603
|
padding: 0 24px;
|
|
1604
1604
|
white-space: nowrap;
|
|
1605
|
+
text-overflow: ellipsis;
|
|
1605
1606
|
}
|
|
1606
1607
|
.e-daterangepicker.e-popup .e-presets .e-list-parent,
|
|
1607
1608
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
|