@syncfusion/ej2-calendars 26.2.8 → 26.2.10
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/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 +22 -7
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +22 -7
- 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 +10 -10
- package/src/daterangepicker/daterangepicker.js +13 -1
- package/src/datetimepicker/datetimepicker.js +9 -6
- package/styles/bootstrap-dark.css +28 -0
- package/styles/bootstrap.css +28 -0
- package/styles/bootstrap4.css +28 -0
- package/styles/bootstrap5-dark.css +28 -0
- package/styles/bootstrap5.css +28 -0
- package/styles/calendar/fluent2.css +3 -1031
- package/styles/calendar/material3-dark.css +1 -54
- package/styles/calendar/material3.css +2 -109
- package/styles/datepicker/fluent2.css +3 -1031
- package/styles/datepicker/material3-dark.css +1 -54
- package/styles/datepicker/material3.css +2 -109
- package/styles/daterangepicker/fluent2.css +3 -1031
- package/styles/daterangepicker/material3-dark.css +1 -54
- package/styles/daterangepicker/material3.css +2 -109
- package/styles/datetimepicker/_layout.scss +20 -0
- package/styles/datetimepicker/bootstrap-dark.css +28 -0
- package/styles/datetimepicker/bootstrap.css +28 -0
- package/styles/datetimepicker/bootstrap4.css +28 -0
- package/styles/datetimepicker/bootstrap5-dark.css +28 -0
- package/styles/datetimepicker/bootstrap5.css +28 -0
- package/styles/datetimepicker/fabric-dark.css +28 -0
- package/styles/datetimepicker/fabric.css +28 -0
- package/styles/datetimepicker/fluent-dark.css +28 -0
- package/styles/datetimepicker/fluent.css +28 -0
- package/styles/datetimepicker/fluent2.css +31 -1031
- package/styles/datetimepicker/highcontrast-light.css +28 -0
- package/styles/datetimepicker/highcontrast.css +28 -0
- package/styles/datetimepicker/material-dark.css +28 -0
- package/styles/datetimepicker/material.css +28 -0
- package/styles/datetimepicker/material3-dark.css +29 -54
- package/styles/datetimepicker/material3.css +30 -109
- package/styles/datetimepicker/tailwind-dark.css +28 -0
- package/styles/datetimepicker/tailwind.css +28 -0
- package/styles/fabric-dark.css +28 -0
- package/styles/fabric.css +28 -0
- package/styles/fluent-dark.css +28 -0
- package/styles/fluent.css +28 -0
- package/styles/fluent2.css +31 -1031
- package/styles/highcontrast-light.css +28 -0
- package/styles/highcontrast.css +28 -0
- package/styles/material-dark.css +28 -0
- package/styles/material.css +28 -0
- package/styles/material3-dark.css +29 -54
- package/styles/material3.css +31 -110
- package/styles/tailwind-dark.css +28 -0
- package/styles/tailwind.css +28 -0
- package/styles/timepicker/fluent2.css +3 -1031
- package/styles/timepicker/material3-dark.css +1 -54
- package/styles/timepicker/material3.css +2 -109
- package/hotfix/26.1.35_Vol2.txt +0 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.10
|
|
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@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@26.2.8",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-lSLHdNlcqugm3Gmp7JHlGEj99Msn113iGzsffWVknlK/MjHpeGSDKkkuUsY70Qq5swMRQg/45RQ1awd6C/pvnw==",
|
|
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-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-26.2.
|
|
35
|
-
"_shasum": "
|
|
34
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-26.2.8.tgz",
|
|
35
|
+
"_shasum": "9c2c70ff41080297dd4c5d2769e79a095d129fdc",
|
|
36
36
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
37
37
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
38
38
|
"author": {
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"bundleDependencies": false,
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~26.2.
|
|
47
|
-
"@syncfusion/ej2-buttons": "~26.2.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
49
|
-
"@syncfusion/ej2-lists": "~26.2.
|
|
50
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
46
|
+
"@syncfusion/ej2-base": "~26.2.10",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~26.2.10",
|
|
49
|
+
"@syncfusion/ej2-lists": "~26.2.10",
|
|
50
|
+
"@syncfusion/ej2-popups": "~26.2.10"
|
|
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": "26.2.
|
|
83
|
+
"version": "26.2.10",
|
|
84
84
|
"sideEffects": false
|
|
85
85
|
}
|
|
@@ -1924,7 +1924,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
1924
1924
|
};
|
|
1925
1925
|
DateRangePicker.prototype.updateMinMaxDays = function (calendar) {
|
|
1926
1926
|
if ((!isNullOrUndefined(this.startValue) && isNullOrUndefined(this.endValue)) ||
|
|
1927
|
-
(this.isMobile && this.endButton.element.classList.contains(ACTIVE))) {
|
|
1927
|
+
(this.isMobile && this.endButton && this.endButton.element.classList.contains(ACTIVE))) {
|
|
1928
1928
|
if ((!isNullOrUndefined(this.minDays) && this.minDays > 0) || (!isNullOrUndefined(this.maxDays) && this.maxDays > 0)) {
|
|
1929
1929
|
var startValueSelected = this.removeTimeValueFromDate(this.startValue);
|
|
1930
1930
|
var minDate = new Date(new Date(+startValueSelected).setDate(startValueSelected.getDate() + (this.minDays - 1)));
|
|
@@ -3097,6 +3097,18 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3097
3097
|
if (!isUndefined(_this.presets[0].start && _this.presets[0].end && _this.presets[0].label)) {
|
|
3098
3098
|
_this.unWireListEvents();
|
|
3099
3099
|
}
|
|
3100
|
+
if (_this.applyButton) {
|
|
3101
|
+
_this.applyButton.destroy();
|
|
3102
|
+
}
|
|
3103
|
+
if (_this.cancelButton) {
|
|
3104
|
+
_this.cancelButton.destroy();
|
|
3105
|
+
}
|
|
3106
|
+
if (_this.isMobile && _this.endButton) {
|
|
3107
|
+
_this.endButton.destroy();
|
|
3108
|
+
}
|
|
3109
|
+
if (_this.isMobile && _this.startButton) {
|
|
3110
|
+
_this.startButton.destroy();
|
|
3111
|
+
}
|
|
3100
3112
|
if (!isNullOrUndefined(_this.popupObj)) {
|
|
3101
3113
|
if (!isNullOrUndefined(_this.popupObj.element.parentElement)) {
|
|
3102
3114
|
detach(_this.popupObj.element);
|
|
@@ -651,6 +651,14 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
651
651
|
this.timeModal.style.display = 'block';
|
|
652
652
|
document.body.appendChild(this.timeModal);
|
|
653
653
|
}
|
|
654
|
+
if (Browser.isDevice) {
|
|
655
|
+
var modelWrapper = createElement('div', { className: 'e-datetime-mob-popup-wrap' });
|
|
656
|
+
modelWrapper.appendChild(this.dateTimeWrapper);
|
|
657
|
+
var dlgOverlay = createElement('div', { className: 'e-dlg-overlay' });
|
|
658
|
+
dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
|
|
659
|
+
modelWrapper.appendChild(dlgOverlay);
|
|
660
|
+
document.body.appendChild(modelWrapper);
|
|
661
|
+
}
|
|
654
662
|
var offset = 4;
|
|
655
663
|
this.popupObject = new Popup(this.dateTimeWrapper, {
|
|
656
664
|
width: this.setPopupWidth(),
|
|
@@ -690,7 +698,6 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
690
698
|
}
|
|
691
699
|
});
|
|
692
700
|
if (Browser.isDevice && this.fullScreenMode) {
|
|
693
|
-
this.popupObject.element.style.display = 'flex';
|
|
694
701
|
this.popupObject.element.style.maxHeight = '100%';
|
|
695
702
|
this.popupObject.element.style.width = '100%';
|
|
696
703
|
}
|
|
@@ -698,18 +705,14 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
698
705
|
this.popupObject.element.style.maxHeight = POPUPDIMENSION;
|
|
699
706
|
}
|
|
700
707
|
if (Browser.isDevice && this.fullScreenMode) {
|
|
701
|
-
var modelWrapper = createElement('div', { className: 'e-datetime-mob-popup-wrap' });
|
|
702
708
|
var modelHeader = this.createElement('div', { className: 'e-model-header' });
|
|
703
709
|
var modelTitleSpan = this.createElement('span', { className: 'e-model-title' });
|
|
704
710
|
modelTitleSpan.textContent = 'Select time';
|
|
705
711
|
var modelCloseIcon = this.createElement('span', { className: 'e-popup-close' });
|
|
706
712
|
EventHandler.add(modelCloseIcon, 'mousedown touchstart', this.dateTimeCloseHandler, this);
|
|
707
|
-
var timeContent = this.dateTimeWrapper.querySelector('.e-content');
|
|
708
713
|
modelHeader.appendChild(modelCloseIcon);
|
|
709
714
|
modelHeader.appendChild(modelTitleSpan);
|
|
710
|
-
|
|
711
|
-
modelWrapper.appendChild(timeContent);
|
|
712
|
-
this.dateTimeWrapper.insertBefore(modelWrapper, this.dateTimeWrapper.firstElementChild);
|
|
715
|
+
this.dateTimeWrapper.insertBefore(modelHeader, this.dateTimeWrapper.firstElementChild);
|
|
713
716
|
}
|
|
714
717
|
};
|
|
715
718
|
DateTimePicker.prototype.dateTimeCloseHandler = function (e) {
|
|
@@ -2883,6 +2883,34 @@ ejs-calendar {
|
|
|
2883
2883
|
margin: 0;
|
|
2884
2884
|
}
|
|
2885
2885
|
|
|
2886
|
+
.e-datetime-mob-popup-wrap {
|
|
2887
|
+
-webkit-box-align: center;
|
|
2888
|
+
-ms-flex-align: center;
|
|
2889
|
+
align-items: center;
|
|
2890
|
+
display: -webkit-box;
|
|
2891
|
+
display: -ms-flexbox;
|
|
2892
|
+
display: flex;
|
|
2893
|
+
-webkit-box-orient: vertical;
|
|
2894
|
+
-webkit-box-direction: normal;
|
|
2895
|
+
-ms-flex-direction: column;
|
|
2896
|
+
flex-direction: column;
|
|
2897
|
+
height: 100%;
|
|
2898
|
+
-webkit-box-pack: center;
|
|
2899
|
+
-ms-flex-pack: center;
|
|
2900
|
+
justify-content: center;
|
|
2901
|
+
left: 0;
|
|
2902
|
+
max-height: 100%;
|
|
2903
|
+
position: fixed;
|
|
2904
|
+
top: 0;
|
|
2905
|
+
width: 100%;
|
|
2906
|
+
z-index: 1002;
|
|
2907
|
+
}
|
|
2908
|
+
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
2909
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2910
|
+
position: relative;
|
|
2911
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2886
2914
|
.e-datetimepicker.e-time-modal {
|
|
2887
2915
|
background-color: rgba(26, 26, 26, 0.6);
|
|
2888
2916
|
height: 100%;
|
package/styles/bootstrap.css
CHANGED
|
@@ -2889,6 +2889,34 @@ ejs-calendar {
|
|
|
2889
2889
|
margin: 0;
|
|
2890
2890
|
}
|
|
2891
2891
|
|
|
2892
|
+
.e-datetime-mob-popup-wrap {
|
|
2893
|
+
-webkit-box-align: center;
|
|
2894
|
+
-ms-flex-align: center;
|
|
2895
|
+
align-items: center;
|
|
2896
|
+
display: -webkit-box;
|
|
2897
|
+
display: -ms-flexbox;
|
|
2898
|
+
display: flex;
|
|
2899
|
+
-webkit-box-orient: vertical;
|
|
2900
|
+
-webkit-box-direction: normal;
|
|
2901
|
+
-ms-flex-direction: column;
|
|
2902
|
+
flex-direction: column;
|
|
2903
|
+
height: 100%;
|
|
2904
|
+
-webkit-box-pack: center;
|
|
2905
|
+
-ms-flex-pack: center;
|
|
2906
|
+
justify-content: center;
|
|
2907
|
+
left: 0;
|
|
2908
|
+
max-height: 100%;
|
|
2909
|
+
position: fixed;
|
|
2910
|
+
top: 0;
|
|
2911
|
+
width: 100%;
|
|
2912
|
+
z-index: 1002;
|
|
2913
|
+
}
|
|
2914
|
+
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
2915
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2916
|
+
position: relative;
|
|
2917
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2892
2920
|
.e-datetimepicker.e-time-modal {
|
|
2893
2921
|
background-color: rgba(0, 0, 0, 0.6);
|
|
2894
2922
|
height: 100%;
|
package/styles/bootstrap4.css
CHANGED
|
@@ -2915,6 +2915,34 @@ ejs-calendar {
|
|
|
2915
2915
|
margin: 0;
|
|
2916
2916
|
}
|
|
2917
2917
|
|
|
2918
|
+
.e-datetime-mob-popup-wrap {
|
|
2919
|
+
-webkit-box-align: center;
|
|
2920
|
+
-ms-flex-align: center;
|
|
2921
|
+
align-items: center;
|
|
2922
|
+
display: -webkit-box;
|
|
2923
|
+
display: -ms-flexbox;
|
|
2924
|
+
display: flex;
|
|
2925
|
+
-webkit-box-orient: vertical;
|
|
2926
|
+
-webkit-box-direction: normal;
|
|
2927
|
+
-ms-flex-direction: column;
|
|
2928
|
+
flex-direction: column;
|
|
2929
|
+
height: 100%;
|
|
2930
|
+
-webkit-box-pack: center;
|
|
2931
|
+
-ms-flex-pack: center;
|
|
2932
|
+
justify-content: center;
|
|
2933
|
+
left: 0;
|
|
2934
|
+
max-height: 100%;
|
|
2935
|
+
position: fixed;
|
|
2936
|
+
top: 0;
|
|
2937
|
+
width: 100%;
|
|
2938
|
+
z-index: 1002;
|
|
2939
|
+
}
|
|
2940
|
+
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
2941
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2942
|
+
position: relative;
|
|
2943
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2918
2946
|
.e-datetimepicker.e-time-modal {
|
|
2919
2947
|
background-color: rgba(0, 0, 0, 0.15);
|
|
2920
2948
|
height: 100%;
|
|
@@ -3046,6 +3046,34 @@ ejs-calendar {
|
|
|
3046
3046
|
margin: 0;
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
|
+
.e-datetime-mob-popup-wrap {
|
|
3050
|
+
-webkit-box-align: center;
|
|
3051
|
+
-ms-flex-align: center;
|
|
3052
|
+
align-items: center;
|
|
3053
|
+
display: -webkit-box;
|
|
3054
|
+
display: -ms-flexbox;
|
|
3055
|
+
display: flex;
|
|
3056
|
+
-webkit-box-orient: vertical;
|
|
3057
|
+
-webkit-box-direction: normal;
|
|
3058
|
+
-ms-flex-direction: column;
|
|
3059
|
+
flex-direction: column;
|
|
3060
|
+
height: 100%;
|
|
3061
|
+
-webkit-box-pack: center;
|
|
3062
|
+
-ms-flex-pack: center;
|
|
3063
|
+
justify-content: center;
|
|
3064
|
+
left: 0;
|
|
3065
|
+
max-height: 100%;
|
|
3066
|
+
position: fixed;
|
|
3067
|
+
top: 0;
|
|
3068
|
+
width: 100%;
|
|
3069
|
+
z-index: 1002;
|
|
3070
|
+
}
|
|
3071
|
+
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
3072
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
3073
|
+
position: relative;
|
|
3074
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3049
3077
|
.e-datetimepicker.e-time-modal {
|
|
3050
3078
|
background-color: #343a40;
|
|
3051
3079
|
height: 100%;
|
package/styles/bootstrap5.css
CHANGED
|
@@ -3046,6 +3046,34 @@ ejs-calendar {
|
|
|
3046
3046
|
margin: 0;
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
|
+
.e-datetime-mob-popup-wrap {
|
|
3050
|
+
-webkit-box-align: center;
|
|
3051
|
+
-ms-flex-align: center;
|
|
3052
|
+
align-items: center;
|
|
3053
|
+
display: -webkit-box;
|
|
3054
|
+
display: -ms-flexbox;
|
|
3055
|
+
display: flex;
|
|
3056
|
+
-webkit-box-orient: vertical;
|
|
3057
|
+
-webkit-box-direction: normal;
|
|
3058
|
+
-ms-flex-direction: column;
|
|
3059
|
+
flex-direction: column;
|
|
3060
|
+
height: 100%;
|
|
3061
|
+
-webkit-box-pack: center;
|
|
3062
|
+
-ms-flex-pack: center;
|
|
3063
|
+
justify-content: center;
|
|
3064
|
+
left: 0;
|
|
3065
|
+
max-height: 100%;
|
|
3066
|
+
position: fixed;
|
|
3067
|
+
top: 0;
|
|
3068
|
+
width: 100%;
|
|
3069
|
+
z-index: 1002;
|
|
3070
|
+
}
|
|
3071
|
+
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
3072
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
3073
|
+
position: relative;
|
|
3074
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3049
3077
|
.e-datetimepicker.e-time-modal {
|
|
3050
3078
|
background-color: #e9ecef;
|
|
3051
3079
|
height: 100%;
|