@syncfusion/ej2-calendars 25.1.35 → 25.1.39

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 (51) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/ej2-calendars.min.js +2 -2
  3. package/dist/ej2-calendars.umd.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +9 -4
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +9 -4
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/dist/global/ej2-calendars.min.js +2 -2
  10. package/dist/global/ej2-calendars.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +9 -9
  13. package/src/datepicker/datepicker.js +1 -1
  14. package/src/daterangepicker/daterangepicker.js +1 -1
  15. package/src/datetimepicker/datetimepicker.js +4 -1
  16. package/src/maskbase/masked-date-time.js +3 -1
  17. package/styles/bootstrap-dark.css +1 -1
  18. package/styles/bootstrap.css +1 -1
  19. package/styles/bootstrap4.css +1 -1
  20. package/styles/bootstrap5-dark.css +1 -1
  21. package/styles/bootstrap5.css +1 -1
  22. package/styles/calendar/_theme.scss +1 -1
  23. package/styles/calendar/bootstrap-dark.css +1 -1
  24. package/styles/calendar/bootstrap.css +1 -1
  25. package/styles/calendar/bootstrap4.css +1 -1
  26. package/styles/calendar/bootstrap5-dark.css +1 -1
  27. package/styles/calendar/bootstrap5.css +1 -1
  28. package/styles/calendar/fabric-dark.css +1 -1
  29. package/styles/calendar/fabric.css +1 -1
  30. package/styles/calendar/fluent-dark.css +1 -1
  31. package/styles/calendar/fluent.css +1 -1
  32. package/styles/calendar/highcontrast-light.css +1 -1
  33. package/styles/calendar/highcontrast.css +1 -1
  34. package/styles/calendar/material-dark.css +1 -1
  35. package/styles/calendar/material.css +1 -1
  36. package/styles/calendar/material3-dark.css +1 -1
  37. package/styles/calendar/material3.css +1 -1
  38. package/styles/calendar/tailwind-dark.css +1 -1
  39. package/styles/calendar/tailwind.css +1 -1
  40. package/styles/fabric-dark.css +1 -1
  41. package/styles/fabric.css +1 -1
  42. package/styles/fluent-dark.css +1 -1
  43. package/styles/fluent.css +1 -1
  44. package/styles/highcontrast-light.css +1 -1
  45. package/styles/highcontrast.css +1 -1
  46. package/styles/material-dark.css +1 -1
  47. package/styles/material.css +1 -1
  48. package/styles/material3-dark.css +1 -1
  49. package/styles/material3.css +1 -1
  50. package/styles/tailwind-dark.css +1 -1
  51. package/styles/tailwind.css +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 25.1.35
3
+ * version : 25.1.39
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@18.32.5",
3
+ "_id": "@syncfusion/ej2-calendars@25.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-y3sv2xeSYao+h+mTZ2QkD2YRP+4xMWn2rEz7D+69J7FQn+awbjZ3ZTpofc8vpYuWKXzzFw3VEa3lcyfBM2Bi/A==",
5
+ "_integrity": "sha512-ECppuwmUKGO6NtFOGvWq7xNT681Ga85Ht1bxtGMer0fpIPm8nuYymW9Z8mu/Dw8exaO4ZGALba9QzhonO7zX/Q==",
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-release/@syncfusion/ej2-calendars/-/ej2-calendars-18.32.5.tgz",
35
- "_shasum": "ded180d700088564059c7a8ed0a9f095c581cf06",
34
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-25.1.37.tgz",
35
+ "_shasum": "33fb43bfb19ddd2c568b6a5ad4fa557710aefdcb",
36
36
  "_spec": "@syncfusion/ej2-calendars@*",
37
37
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
38
38
  "author": {
@@ -44,10 +44,10 @@
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
46
  "@syncfusion/ej2-base": "~25.1.35",
47
- "@syncfusion/ej2-buttons": "~25.1.35",
48
- "@syncfusion/ej2-inputs": "~25.1.35",
49
- "@syncfusion/ej2-lists": "~25.1.35",
50
- "@syncfusion/ej2-popups": "~25.1.35"
47
+ "@syncfusion/ej2-buttons": "~25.1.39",
48
+ "@syncfusion/ej2-inputs": "~25.1.38",
49
+ "@syncfusion/ej2-lists": "~25.1.39",
50
+ "@syncfusion/ej2-popups": "~25.1.39"
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": "25.1.35",
83
+ "version": "25.1.39",
84
84
  "sideEffects": false
85
85
  }
@@ -99,7 +99,7 @@ var DatePicker = /** @class */ (function (_super) {
99
99
  DatePicker.prototype.render = function () {
100
100
  this.initialize();
101
101
  this.bindEvents();
102
- if (this.floatLabelType === 'Auto') {
102
+ if (this.floatLabelType !== 'Never') {
103
103
  Input.calculateWidth(this.inputElement, this.inputWrapper.container);
104
104
  }
105
105
  if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
@@ -165,7 +165,7 @@ var DateRangePicker = /** @class */ (function (_super) {
165
165
  if (this.element.hasAttribute('data-val')) {
166
166
  this.element.setAttribute('data-val', 'false');
167
167
  }
168
- if (this.floatLabelType === 'Auto') {
168
+ if (this.floatLabelType !== 'Never') {
169
169
  Input.calculateWidth(this.inputElement, this.inputWrapper.container);
170
170
  }
171
171
  if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
@@ -244,7 +244,7 @@ var DateTimePicker = /** @class */ (function (_super) {
244
244
  this.inputElement.tabIndex = -1;
245
245
  }
246
246
  }
247
- if (this.floatLabelType === 'Auto') {
247
+ if (this.floatLabelType !== 'Never') {
248
248
  Input.calculateWidth(this.inputElement, this.inputWrapper.container);
249
249
  }
250
250
  if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
@@ -515,6 +515,9 @@ var DateTimePicker = /** @class */ (function (_super) {
515
515
  var dateObject;
516
516
  if (this.calendarMode === 'Gregorian') {
517
517
  this.cldrDateTimeFormat().replace(this.formatRegex, this.TimePopupFormat());
518
+ if (this.dateFormatString === '') {
519
+ this.dateFormatString = this.cldrDateTimeFormat();
520
+ }
518
521
  dateObject = this.globalize.parseDate(this.inputElement.value, {
519
522
  format: this.dateFormatString, type: 'datetime'
520
523
  });
@@ -35,7 +35,7 @@ var MaskedDateTime = /** @class */ (function () {
35
35
  this.isNavigate = false;
36
36
  this.navigated = false;
37
37
  this.isBlur = false;
38
- this.formatRegex = /EEEEE|EEEE|EEE|EE|E|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|HH|H|hh|h|mm|m|fff|ff|f|aa|a|ss|s|zzzz|zzz|zz|z|'[^']*'|'[^']*'/g;
38
+ this.formatRegex = /EEEEE|EEEE|EEE|EE|E|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|HH|H|hh|h|mm|m|fff|ff|f|aa|a|ss|s|zzzz|zzz|zz|z|'[^']*'|'[^']*'/g;
39
39
  this.isDeletion = false;
40
40
  this.isShortYear = false;
41
41
  this.isDeleteKey = false;
@@ -346,6 +346,7 @@ var MaskedDateTime = /** @class */ (function () {
346
346
  var year = (this.isYearPart && (newDateValue.getFullYear().toString().length < 4
347
347
  && !this.isShortYear) ? newDateValue.getFullYear() * 10 : 0) + parseInt(newVal[start - 1], 10);
348
348
  var yearValue = (this.dateformat.match(/y/g) || []).length;
349
+ yearValue = yearValue !== 2 ? 4 : yearValue;
349
350
  this.isShortYear = false;
350
351
  this.isYearZero = (newVal[start - 1] === '0');
351
352
  if (isNaN(year)) {
@@ -536,6 +537,7 @@ var MaskedDateTime = /** @class */ (function () {
536
537
  result = proxy.zeroCheck(proxy.isYearZero, proxy.isYearPart, result);
537
538
  break;
538
539
  case 'y':
540
+ case 'yyy':
539
541
  case 'yyyy':
540
542
  result = proxy.isYearPart ? proxy.roundOff(proxy.maskDateValue.getFullYear(), 4) : proxy.defaultConstant['year'].toString();
541
543
  result = proxy.zeroCheck(proxy.isYearZero, proxy.isYearPart, result);
@@ -830,7 +830,7 @@ ejs-calendar {
830
830
  color: #f0f0f0;
831
831
  }
832
832
 
833
- .e-zoomin {
833
+ .e-calendar .e-zoomin {
834
834
  animation: animatezoom 0.3s;
835
835
  }
836
836
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #333;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #212529;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -868,7 +868,7 @@ ejs-calendar {
868
868
  color: #e9ecef;
869
869
  }
870
870
 
871
- .e-zoomin {
871
+ .e-calendar .e-zoomin {
872
872
  animation: animatezoom 0.3s;
873
873
  }
874
874
 
@@ -868,7 +868,7 @@ ejs-calendar {
868
868
  color: #343a40;
869
869
  }
870
870
 
871
- .e-zoomin {
871
+ .e-calendar .e-zoomin {
872
872
  animation: animatezoom 0.3s;
873
873
  }
874
874
 
@@ -475,7 +475,7 @@
475
475
  }
476
476
  }
477
477
 
478
- .e-zoomin {
478
+ .e-calendar .e-zoomin {
479
479
  animation: animatezoom .3s;
480
480
  }
481
481
 
@@ -830,7 +830,7 @@ ejs-calendar {
830
830
  color: #f0f0f0;
831
831
  }
832
832
 
833
- .e-zoomin {
833
+ .e-calendar .e-zoomin {
834
834
  animation: animatezoom 0.3s;
835
835
  }
836
836
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #333;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #212529;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -868,7 +868,7 @@ ejs-calendar {
868
868
  color: #e9ecef;
869
869
  }
870
870
 
871
- .e-zoomin {
871
+ .e-calendar .e-zoomin {
872
872
  animation: animatezoom 0.3s;
873
873
  }
874
874
 
@@ -868,7 +868,7 @@ ejs-calendar {
868
868
  color: #343a40;
869
869
  }
870
870
 
871
- .e-zoomin {
871
+ .e-calendar .e-zoomin {
872
872
  animation: animatezoom 0.3s;
873
873
  }
874
874
 
@@ -836,7 +836,7 @@ ejs-calendar {
836
836
  color: #dadada;
837
837
  }
838
838
 
839
- .e-zoomin {
839
+ .e-calendar .e-zoomin {
840
840
  animation: animatezoom 0.3s;
841
841
  }
842
842
 
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: #0078d6;
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -963,7 +963,7 @@ ejs-calendar {
963
963
  color: #f3f2f1;
964
964
  }
965
965
 
966
- .e-zoomin {
966
+ .e-calendar .e-zoomin {
967
967
  animation: animatezoom 0.3s;
968
968
  }
969
969
 
@@ -963,7 +963,7 @@ ejs-calendar {
963
963
  color: #201f1e;
964
964
  }
965
965
 
966
- .e-zoomin {
966
+ .e-calendar .e-zoomin {
967
967
  animation: animatezoom 0.3s;
968
968
  }
969
969
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #400074;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: #ffd939;
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -840,7 +840,7 @@ ejs-calendar {
840
840
  color: #fff;
841
841
  }
842
842
 
843
- .e-zoomin {
843
+ .e-calendar .e-zoomin {
844
844
  animation: animatezoom 0.3s;
845
845
  }
846
846
 
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: rgba(0, 0, 0, 0.87);
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -900,7 +900,7 @@ ejs-calendar {
900
900
  color: rgba(var(--color-sf-on-surface));
901
901
  }
902
902
 
903
- .e-zoomin {
903
+ .e-calendar .e-zoomin {
904
904
  animation: animatezoom 0.3s;
905
905
  }
906
906
 
@@ -956,7 +956,7 @@ ejs-calendar {
956
956
  color: rgba(var(--color-sf-on-surface));
957
957
  }
958
958
 
959
- .e-zoomin {
959
+ .e-calendar .e-zoomin {
960
960
  animation: animatezoom 0.3s;
961
961
  }
962
962
 
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #000;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939
 
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #fff;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939
 
@@ -836,7 +836,7 @@ ejs-calendar {
836
836
  color: #dadada;
837
837
  }
838
838
 
839
- .e-zoomin {
839
+ .e-calendar .e-zoomin {
840
840
  animation: animatezoom 0.3s;
841
841
  }
842
842
 
package/styles/fabric.css CHANGED
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: #0078d6;
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -963,7 +963,7 @@ ejs-calendar {
963
963
  color: #f3f2f1;
964
964
  }
965
965
 
966
- .e-zoomin {
966
+ .e-calendar .e-zoomin {
967
967
  animation: animatezoom 0.3s;
968
968
  }
969
969
 
package/styles/fluent.css CHANGED
@@ -963,7 +963,7 @@ ejs-calendar {
963
963
  color: #201f1e;
964
964
  }
965
965
 
966
- .e-zoomin {
966
+ .e-calendar .e-zoomin {
967
967
  animation: animatezoom 0.3s;
968
968
  }
969
969
 
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #400074;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: #ffd939;
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -840,7 +840,7 @@ ejs-calendar {
840
840
  color: #fff;
841
841
  }
842
842
 
843
- .e-zoomin {
843
+ .e-calendar .e-zoomin {
844
844
  animation: animatezoom 0.3s;
845
845
  }
846
846
 
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: rgba(0, 0, 0, 0.87);
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -900,7 +900,7 @@ ejs-calendar {
900
900
  color: rgba(var(--color-sf-on-surface));
901
901
  }
902
902
 
903
- .e-zoomin {
903
+ .e-calendar .e-zoomin {
904
904
  animation: animatezoom 0.3s;
905
905
  }
906
906
 
@@ -956,7 +956,7 @@ ejs-calendar {
956
956
  color: rgba(var(--color-sf-on-surface));
957
957
  }
958
958
 
959
- .e-zoomin {
959
+ .e-calendar .e-zoomin {
960
960
  animation: animatezoom 0.3s;
961
961
  }
962
962
 
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #000;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939
 
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #fff;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939