@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.
- package/CHANGELOG.md +8 -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/package.json +9 -9
- package/src/datepicker/datepicker.js +1 -1
- package/src/daterangepicker/daterangepicker.js +1 -1
- package/src/datetimepicker/datetimepicker.js +4 -1
- package/src/maskbase/masked-date-time.js +3 -1
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/calendar/_theme.scss +1 -1
- package/styles/calendar/bootstrap-dark.css +1 -1
- package/styles/calendar/bootstrap.css +1 -1
- package/styles/calendar/bootstrap4.css +1 -1
- package/styles/calendar/bootstrap5-dark.css +1 -1
- package/styles/calendar/bootstrap5.css +1 -1
- package/styles/calendar/fabric-dark.css +1 -1
- package/styles/calendar/fabric.css +1 -1
- package/styles/calendar/fluent-dark.css +1 -1
- package/styles/calendar/fluent.css +1 -1
- package/styles/calendar/highcontrast-light.css +1 -1
- package/styles/calendar/highcontrast.css +1 -1
- package/styles/calendar/material-dark.css +1 -1
- package/styles/calendar/material.css +1 -1
- package/styles/calendar/material3-dark.css +1 -1
- package/styles/calendar/material3.css +1 -1
- package/styles/calendar/tailwind-dark.css +1 -1
- package/styles/calendar/tailwind.css +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.1.
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@25.1.37",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
35
|
-
"_shasum": "
|
|
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.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~25.1.
|
|
49
|
-
"@syncfusion/ej2-lists": "~25.1.
|
|
50
|
-
"@syncfusion/ej2-popups": "~25.1.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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);
|
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
package/styles/bootstrap5.css
CHANGED
package/styles/fabric-dark.css
CHANGED
package/styles/fabric.css
CHANGED
package/styles/fluent-dark.css
CHANGED
package/styles/fluent.css
CHANGED
package/styles/highcontrast.css
CHANGED
package/styles/material-dark.css
CHANGED
package/styles/material.css
CHANGED
package/styles/material3.css
CHANGED
package/styles/tailwind-dark.css
CHANGED