@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.
Files changed (49) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/GitLeaksReport.json +1 -0
  3. package/dist/ej2-calendars.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js +2 -2
  5. package/dist/ej2-calendars.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-calendars.es2015.js +9 -4
  7. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  8. package/dist/es6/ej2-calendars.es5.js +9 -4
  9. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  10. package/dist/global/ej2-calendars.min.js +2 -2
  11. package/dist/global/ej2-calendars.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/gitleaks-ci/gitleaks +0 -0
  14. package/gitleaks-ci.tar.gz +0 -0
  15. package/package.json +10 -10
  16. package/src/calendar/calendar.js +1 -1
  17. package/src/datepicker/datepicker.js +7 -2
  18. package/src/datetimepicker/datetimepicker.js +1 -1
  19. package/styles/bootstrap-dark.css +1 -0
  20. package/styles/bootstrap.css +1 -0
  21. package/styles/bootstrap4.css +1 -0
  22. package/styles/bootstrap5-dark.css +1 -0
  23. package/styles/bootstrap5.css +1 -0
  24. package/styles/daterangepicker/_layout.scss +1 -0
  25. package/styles/daterangepicker/bootstrap-dark.css +1 -0
  26. package/styles/daterangepicker/bootstrap.css +1 -0
  27. package/styles/daterangepicker/bootstrap4.css +1 -0
  28. package/styles/daterangepicker/bootstrap5-dark.css +1 -0
  29. package/styles/daterangepicker/bootstrap5.css +1 -0
  30. package/styles/daterangepicker/fabric-dark.css +1 -0
  31. package/styles/daterangepicker/fabric.css +1 -0
  32. package/styles/daterangepicker/fluent-dark.css +1 -0
  33. package/styles/daterangepicker/fluent.css +1 -0
  34. package/styles/daterangepicker/highcontrast-light.css +1 -0
  35. package/styles/daterangepicker/highcontrast.css +1 -0
  36. package/styles/daterangepicker/material-dark.css +1 -0
  37. package/styles/daterangepicker/material.css +1 -0
  38. package/styles/daterangepicker/tailwind-dark.css +1 -0
  39. package/styles/daterangepicker/tailwind.css +1 -0
  40. package/styles/fabric-dark.css +1 -0
  41. package/styles/fabric.css +1 -0
  42. package/styles/fluent-dark.css +1 -0
  43. package/styles/fluent.css +1 -0
  44. package/styles/highcontrast-light.css +1 -0
  45. package/styles/highcontrast.css +1 -0
  46. package/styles/material-dark.css +1 -0
  47. package/styles/material.css +1 -0
  48. package/styles/tailwind-dark.css +1 -0
  49. package/styles/tailwind.css +1 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.48
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.44",
3
+ "_id": "@syncfusion/ej2-calendars@20.4.51",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-lPyLD/lhi38bHc+9j4Gxo3NT8UHOVrdv/Ia9Ta7wDIHKjp2Wgm1TO/yUOatKJ99F8H24jtdqhVyvrOU1NjjWTw==",
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.44.tgz",
36
- "_shasum": "edb94ca0fd4fb86a6c64accd05e956ad9761afd2",
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",
48
- "@syncfusion/ej2-buttons": "~20.4.48",
49
- "@syncfusion/ej2-inputs": "~20.4.48",
50
- "@syncfusion/ej2-lists": "~20.4.48",
51
- "@syncfusion/ej2-popups": "~20.4.48"
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.48",
84
+ "version": "20.4.52",
85
85
  "sideEffects": false
86
86
  }
@@ -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) && +new Date(this.value.toDateString()) !== +new Date(this.previousDate.toDateString()) || this.previousDate == null
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 (((this.previousDate && this.previousDate.valueOf()) !== (this.value && this.value.valueOf()))) {
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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -218,6 +218,7 @@
218
218
  overflow: $range-visibility-hidden;
219
219
  padding: $range-list-item-padding;
220
220
  white-space: $range-text-nowrap;
221
+ text-overflow: $range-text-overflow;
221
222
  }
222
223
  #{if(&, '&', '*')} .e-list-parent {
223
224
  margin: $range-value-zero;
@@ -268,6 +268,7 @@
268
268
  overflow: hidden;
269
269
  padding: 0 20px;
270
270
  white-space: nowrap;
271
+ text-overflow: ellipsis;
271
272
  }
272
273
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
273
274
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -269,6 +269,7 @@
269
269
  overflow: hidden;
270
270
  padding: 0 20px;
271
271
  white-space: nowrap;
272
+ text-overflow: ellipsis;
272
273
  }
273
274
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
274
275
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -276,6 +276,7 @@
276
276
  overflow: hidden;
277
277
  padding: 0 20px;
278
278
  white-space: nowrap;
279
+ text-overflow: ellipsis;
279
280
  }
280
281
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
281
282
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -276,6 +276,7 @@
276
276
  overflow: hidden;
277
277
  padding: 0 24px;
278
278
  white-space: nowrap;
279
+ text-overflow: ellipsis;
279
280
  }
280
281
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
281
282
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -276,6 +276,7 @@
276
276
  overflow: hidden;
277
277
  padding: 0 24px;
278
278
  white-space: nowrap;
279
+ text-overflow: ellipsis;
279
280
  }
280
281
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
281
282
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -268,6 +268,7 @@
268
268
  overflow: hidden;
269
269
  padding: 0 10px;
270
270
  white-space: nowrap;
271
+ text-overflow: ellipsis;
271
272
  }
272
273
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
273
274
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -269,6 +269,7 @@
269
269
  overflow: hidden;
270
270
  padding: 0 10px;
271
271
  white-space: nowrap;
272
+ text-overflow: ellipsis;
272
273
  }
273
274
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
274
275
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -261,6 +261,7 @@
261
261
  overflow: hidden;
262
262
  padding: 0 24px;
263
263
  white-space: nowrap;
264
+ text-overflow: ellipsis;
264
265
  }
265
266
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
266
267
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -261,6 +261,7 @@
261
261
  overflow: hidden;
262
262
  padding: 0 24px;
263
263
  white-space: nowrap;
264
+ text-overflow: ellipsis;
264
265
  }
265
266
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
266
267
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -268,6 +268,7 @@
268
268
  overflow: hidden;
269
269
  padding: 0 10px;
270
270
  white-space: nowrap;
271
+ text-overflow: ellipsis;
271
272
  }
272
273
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
273
274
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -269,6 +269,7 @@
269
269
  overflow: hidden;
270
270
  padding: 0 10px;
271
271
  white-space: nowrap;
272
+ text-overflow: ellipsis;
272
273
  }
273
274
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
274
275
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -307,6 +307,7 @@
307
307
  overflow: hidden;
308
308
  padding: 0 24px;
309
309
  white-space: nowrap;
310
+ text-overflow: ellipsis;
310
311
  }
311
312
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
312
313
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -316,6 +316,7 @@
316
316
  overflow: hidden;
317
317
  padding: 0 24px;
318
318
  white-space: nowrap;
319
+ text-overflow: ellipsis;
319
320
  }
320
321
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
321
322
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -280,6 +280,7 @@
280
280
  overflow: hidden;
281
281
  padding: 0 24px;
282
282
  white-space: nowrap;
283
+ text-overflow: ellipsis;
283
284
  }
284
285
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
285
286
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -280,6 +280,7 @@
280
280
  overflow: hidden;
281
281
  padding: 0 24px;
282
282
  white-space: nowrap;
283
+ text-overflow: ellipsis;
283
284
  }
284
285
  .e-daterangepicker.e-popup .e-presets .e-list-parent,
285
286
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-list-parent {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {