@syncfusion/ej2-calendars 20.3.59 → 20.4.40
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/.eslintrc.json +16 -1
- package/CHANGELOG.md +0 -26
- 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 +181 -75
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +180 -74
- 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 +11 -11
- package/src/calendar/calendar.js +37 -19
- package/src/calendar/islamic.js +29 -7
- package/src/datepicker/datepicker.js +24 -14
- package/src/daterangepicker/daterangepicker.d.ts +0 -1
- package/src/daterangepicker/daterangepicker.js +43 -24
- package/src/datetimepicker/datetimepicker.js +10 -2
- package/src/maskbase/masked-date-time.js +24 -0
- package/src/timepicker/timepicker.js +13 -8
- package/styles/bootstrap-dark.css +7 -0
- package/styles/bootstrap.css +7 -0
- package/styles/bootstrap4.css +7 -0
- package/styles/bootstrap5-dark.css +8 -1
- package/styles/bootstrap5.css +7 -0
- package/styles/calendar/_fluent-definition.scss +1 -1
- package/styles/calendar/_material-definition.scss +3 -3
- package/styles/calendar/_theme.scss +1 -1
- package/styles/calendar/bootstrap5-dark.css +1 -1
- package/styles/calendar/fabric-dark.css +1 -1
- package/styles/calendar/fabric.css +1 -1
- package/styles/calendar/fluent-dark.css +3 -3
- package/styles/calendar/fluent.css +2 -2
- package/styles/calendar/material.css +3 -3
- package/styles/daterangepicker/_bootstrap-dark-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap4-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap5-definition.scss +1 -0
- package/styles/daterangepicker/_fabric-dark-definition.scss +1 -0
- package/styles/daterangepicker/_fabric-definition.scss +1 -0
- package/styles/daterangepicker/_fluent-definition.scss +6 -0
- package/styles/daterangepicker/_fusionnew-definition.scss +1 -0
- package/styles/daterangepicker/_highcontrast-definition.scss +1 -0
- package/styles/daterangepicker/_highcontrast-light-definition.scss +1 -0
- package/styles/daterangepicker/_layout.scss +6 -0
- package/styles/daterangepicker/_material-dark-definition.scss +1 -0
- package/styles/daterangepicker/_material-definition.scss +1 -0
- package/styles/daterangepicker/_material3-definition.scss +1 -0
- package/styles/daterangepicker/_tailwind-definition.scss +1 -0
- package/styles/daterangepicker/_theme.scss +33 -0
- package/styles/daterangepicker/bootstrap-dark.css +7 -0
- package/styles/daterangepicker/bootstrap.css +7 -0
- package/styles/daterangepicker/bootstrap4.css +7 -0
- package/styles/daterangepicker/bootstrap5-dark.css +7 -0
- package/styles/daterangepicker/bootstrap5.css +7 -0
- package/styles/daterangepicker/fabric-dark.css +7 -0
- package/styles/daterangepicker/fabric.css +7 -0
- package/styles/daterangepicker/fluent-dark.css +30 -0
- package/styles/daterangepicker/fluent.css +30 -0
- package/styles/daterangepicker/highcontrast-light.css +7 -0
- package/styles/daterangepicker/highcontrast.css +7 -0
- package/styles/daterangepicker/material-dark.css +7 -0
- package/styles/daterangepicker/material.css +5 -0
- package/styles/daterangepicker/tailwind-dark.css +7 -0
- package/styles/daterangepicker/tailwind.css +7 -0
- package/styles/fabric-dark.css +8 -1
- package/styles/fabric.css +8 -1
- package/styles/fluent-dark.css +33 -3
- package/styles/fluent.css +32 -2
- package/styles/highcontrast-light.css +7 -0
- package/styles/highcontrast.css +7 -0
- package/styles/material-dark.css +7 -0
- package/styles/material.css +8 -3
- package/styles/tailwind-dark.css +7 -0
- package/styles/tailwind.css +7 -0
|
@@ -487,6 +487,11 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
487
487
|
if (this.formElement) {
|
|
488
488
|
EventHandler.remove(this.formElement, 'reset', this.formResetHandler);
|
|
489
489
|
}
|
|
490
|
+
this.rippleFn = null;
|
|
491
|
+
this.openPopupEventArgs = null;
|
|
492
|
+
this.selectedElement = null;
|
|
493
|
+
this.listTag = null;
|
|
494
|
+
this.liCollections = null;
|
|
490
495
|
};
|
|
491
496
|
TimePicker.prototype.ensureInputAttribute = function () {
|
|
492
497
|
var propertyList = [];
|
|
@@ -600,19 +605,19 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
600
605
|
var key = _a[_i];
|
|
601
606
|
if (wrapperAttributes.indexOf(key) > -1) {
|
|
602
607
|
if (key === 'class') {
|
|
603
|
-
var updatedClassesValue = (this.htmlAttributes[key].replace(/\s+/g, ' ')).trim();
|
|
608
|
+
var updatedClassesValue = (this.htmlAttributes["" + key].replace(/\s+/g, ' ')).trim();
|
|
604
609
|
if (updatedClassesValue !== '') {
|
|
605
610
|
addClass([this.inputWrapper.container], updatedClassesValue.split(' '));
|
|
606
611
|
}
|
|
607
612
|
}
|
|
608
613
|
else if (key === 'style') {
|
|
609
614
|
var timeStyle = this.inputWrapper.container.getAttribute(key);
|
|
610
|
-
timeStyle = !isNullOrUndefined(timeStyle) ? (timeStyle + this.htmlAttributes[key]) :
|
|
611
|
-
this.htmlAttributes[key];
|
|
615
|
+
timeStyle = !isNullOrUndefined(timeStyle) ? (timeStyle + this.htmlAttributes["" + key]) :
|
|
616
|
+
this.htmlAttributes["" + key];
|
|
612
617
|
this.inputWrapper.container.setAttribute(key, timeStyle);
|
|
613
618
|
}
|
|
614
619
|
else {
|
|
615
|
-
this.inputWrapper.container.setAttribute(key, this.htmlAttributes[key]);
|
|
620
|
+
this.inputWrapper.container.setAttribute(key, this.htmlAttributes["" + key]);
|
|
616
621
|
}
|
|
617
622
|
}
|
|
618
623
|
}
|
|
@@ -623,7 +628,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
623
628
|
for (var _i = 0, _a = Object.keys(this.htmlAttributes); _i < _a.length; _i++) {
|
|
624
629
|
var key = _a[_i];
|
|
625
630
|
if (wrapperAttributes.indexOf(key) < 0) {
|
|
626
|
-
this.inputElement.setAttribute(key, this.htmlAttributes[key]);
|
|
631
|
+
this.inputElement.setAttribute(key, this.htmlAttributes["" + key]);
|
|
627
632
|
}
|
|
628
633
|
}
|
|
629
634
|
}
|
|
@@ -1337,7 +1342,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1337
1342
|
this.inputEvent.destroy();
|
|
1338
1343
|
}
|
|
1339
1344
|
EventHandler.remove(this.inputElement, 'mousedown touchstart', this.mouseDownHandler);
|
|
1340
|
-
if (this.showClearButton && !isNullOrUndefined(this.inputWrapper.clearButton)) {
|
|
1345
|
+
if (this.showClearButton && !isNullOrUndefined(this.inputWrapper) && !isNullOrUndefined(this.inputWrapper.clearButton)) {
|
|
1341
1346
|
EventHandler.remove(this.inputWrapper.clearButton, 'mousedown touchstart', this.clearHandler);
|
|
1342
1347
|
}
|
|
1343
1348
|
if (this.formElement) {
|
|
@@ -1700,7 +1705,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1700
1705
|
return elementIndex;
|
|
1701
1706
|
};
|
|
1702
1707
|
TimePicker.prototype.keyHandler = function (event) {
|
|
1703
|
-
if (isNullOrUndefined(this.step) || this.step <= 0 || this.inputWrapper.buttons[0].classList.contains(DISABLED)) {
|
|
1708
|
+
if (isNullOrUndefined(this.step) || this.step <= 0 || !isNullOrUndefined(this.inputWrapper) && this.inputWrapper.buttons[0].classList.contains(DISABLED)) {
|
|
1704
1709
|
return;
|
|
1705
1710
|
}
|
|
1706
1711
|
var count = this.timeCollections.length;
|
|
@@ -1948,7 +1953,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1948
1953
|
};
|
|
1949
1954
|
TimePicker.prototype.documentClickHandler = function (event) {
|
|
1950
1955
|
var target = event.target;
|
|
1951
|
-
if ((!isNullOrUndefined(this.popupObj) && (this.inputWrapper.container.contains(target) && event.type !== 'mousedown' ||
|
|
1956
|
+
if ((!isNullOrUndefined(this.popupObj) && !isNullOrUndefined(this.inputWrapper) && (this.inputWrapper.container.contains(target) && event.type !== 'mousedown' ||
|
|
1952
1957
|
(this.popupObj.element && this.popupObj.element.contains(target)))) && event.type !== 'touchstart') {
|
|
1953
1958
|
event.preventDefault();
|
|
1954
1959
|
}
|
|
@@ -1833,6 +1833,13 @@ ejs-calendar {
|
|
|
1833
1833
|
min-height: 40px;
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
|
+
@media screen and (orientation: landscape) {
|
|
1837
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
1838
|
+
display: inline-block;
|
|
1839
|
+
height: 150px;
|
|
1840
|
+
overflow: auto;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1836
1843
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
1837
1844
|
width: calc(100% - 80px);
|
|
1838
1845
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -1836,6 +1836,13 @@ ejs-calendar {
|
|
|
1836
1836
|
min-height: 40px;
|
|
1837
1837
|
}
|
|
1838
1838
|
|
|
1839
|
+
@media screen and (orientation: landscape) {
|
|
1840
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
1841
|
+
display: inline-block;
|
|
1842
|
+
height: 150px;
|
|
1843
|
+
overflow: auto;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1839
1846
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
1840
1847
|
width: calc(100% - 80px);
|
|
1841
1848
|
}
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1864,6 +1864,13 @@ ejs-calendar {
|
|
|
1864
1864
|
min-height: 40px;
|
|
1865
1865
|
}
|
|
1866
1866
|
|
|
1867
|
+
@media screen and (orientation: landscape) {
|
|
1868
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
1869
|
+
display: inline-block;
|
|
1870
|
+
height: 150px;
|
|
1871
|
+
overflow: auto;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1867
1874
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
1868
1875
|
width: calc(100% - 80px);
|
|
1869
1876
|
}
|
|
@@ -686,7 +686,7 @@ ejs-calendar {
|
|
|
686
686
|
.e-calendar .e-content.e-year td:hover span.e-day, .e-calendar .e-content.e-decade td:hover span.e-day,
|
|
687
687
|
.e-bigger.e-small .e-calendar .e-content.e-year td:hover span.e-day,
|
|
688
688
|
.e-bigger.e-small .e-calendar .e-content.e-decade td:hover span.e-day {
|
|
689
|
-
background-color: #
|
|
689
|
+
background-color: #444c54;
|
|
690
690
|
}
|
|
691
691
|
.e-calendar .e-content.e-year td.e-selected:hover span.e-day, .e-calendar .e-content.e-decade td.e-selected:hover span.e-day,
|
|
692
692
|
.e-bigger.e-small .e-calendar .e-content.e-year td.e-selected:hover span.e-day,
|
|
@@ -1932,6 +1932,13 @@ ejs-calendar {
|
|
|
1932
1932
|
min-height: 40px;
|
|
1933
1933
|
}
|
|
1934
1934
|
|
|
1935
|
+
@media screen and (orientation: landscape) {
|
|
1936
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
1937
|
+
display: inline-block;
|
|
1938
|
+
height: 130px;
|
|
1939
|
+
overflow: auto;
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1935
1942
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
1936
1943
|
width: calc(100% - 80px);
|
|
1937
1944
|
}
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1932,6 +1932,13 @@ ejs-calendar {
|
|
|
1932
1932
|
min-height: 40px;
|
|
1933
1933
|
}
|
|
1934
1934
|
|
|
1935
|
+
@media screen and (orientation: landscape) {
|
|
1936
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
1937
|
+
display: inline-block;
|
|
1938
|
+
height: 130px;
|
|
1939
|
+
overflow: auto;
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1935
1942
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
1936
1943
|
width: calc(100% - 80px);
|
|
1937
1944
|
}
|
|
@@ -162,7 +162,7 @@ $calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
|
|
|
162
162
|
|
|
163
163
|
//popup styles
|
|
164
164
|
$calendar-border-style: 1px solid $border-light !default;
|
|
165
|
-
$calendar-bg-color: $
|
|
165
|
+
$calendar-bg-color: $flyout-bg-color !default;
|
|
166
166
|
$calendar-week-number-bg-color: $content-bg-color-alt1 !default;
|
|
167
167
|
$calendar-week-number-font-weight: 400 !default;
|
|
168
168
|
$calendar-box-shadow: none !default;
|
|
@@ -61,7 +61,7 @@ $calendar-small-min-width: $calendar-normal-min-width !default;
|
|
|
61
61
|
$calendar-weeknumber-min-width: 262px !default;
|
|
62
62
|
$calendar-weeknumber-bigger-width: 320px !default;
|
|
63
63
|
$calendar-normal-month-view-height: 30px !default;
|
|
64
|
-
$calendar-normal-month-view-line-height:
|
|
64
|
+
$calendar-normal-month-view-line-height: 28px !default;
|
|
65
65
|
$calendar-normal-day-header-height: $calendar-normal-month-view-height !default;
|
|
66
66
|
$calendar-normal-day-header-text: none !default;
|
|
67
67
|
$calendar-normal-year-decade-height: 45px !default;
|
|
@@ -140,7 +140,7 @@ $calendar-week-normal-min-width: $calendar-normal-min-width !default;
|
|
|
140
140
|
$calendar-week-bigger-max-width: $calendar-bigger-max-width !default;
|
|
141
141
|
$calendar-week-bigger-min-width: $calendar-bigger-min-width !default;
|
|
142
142
|
$calendar-bigger-month-view-width: $calendar-bigger-month-view-height !default;
|
|
143
|
-
$calendar-bigger-month-view-line-height:
|
|
143
|
+
$calendar-bigger-month-view-line-height: 34px !default;
|
|
144
144
|
$calendar-bigger-year-decade-width: $calendar-bigger-year-decade-height !default;
|
|
145
145
|
$calendar-today-bg-hover-color: $grey-200 !default;
|
|
146
146
|
$calendar-disable-font-color: $calendar-light-font !default;
|
|
@@ -177,7 +177,7 @@ $calendar-small-icon-padding: 6px !default;
|
|
|
177
177
|
$calendar-small-header-height: 32px !default;
|
|
178
178
|
$calendar-small-day-header-height: 24px !default;
|
|
179
179
|
$calendar-small-month-view-height: 24px !default;
|
|
180
|
-
$calendar-small-month-view-line-height:
|
|
180
|
+
$calendar-small-month-view-line-height: 22px !default;
|
|
181
181
|
$calendar-small-date-font-size: 12px !default;
|
|
182
182
|
$calendar-small-month-view-width: 24px !default;
|
|
183
183
|
$calendar-small-popup-padding: 0 !default;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
#{if(&, '&', '*')}.e-year td:hover span.e-day,
|
|
83
83
|
#{if(&, '&', '*')}.e-decade td:hover span.e-day {
|
|
84
|
-
background-color: $calendar-
|
|
84
|
+
background-color: $calendar-hover-color;
|
|
85
85
|
}
|
|
86
86
|
#{if(&, '&', '*')}.e-year td.e-selected:hover span.e-day,
|
|
87
87
|
#{if(&, '&', '*')}.e-decade td.e-selected:hover span.e-day {
|
|
@@ -686,7 +686,7 @@ ejs-calendar {
|
|
|
686
686
|
.e-calendar .e-content.e-year td:hover span.e-day, .e-calendar .e-content.e-decade td:hover span.e-day,
|
|
687
687
|
.e-bigger.e-small .e-calendar .e-content.e-year td:hover span.e-day,
|
|
688
688
|
.e-bigger.e-small .e-calendar .e-content.e-decade td:hover span.e-day {
|
|
689
|
-
background-color: #
|
|
689
|
+
background-color: #444c54;
|
|
690
690
|
}
|
|
691
691
|
.e-calendar .e-content.e-year td.e-selected:hover span.e-day, .e-calendar .e-content.e-decade td.e-selected:hover span.e-day,
|
|
692
692
|
.e-bigger.e-small .e-calendar .e-content.e-year td.e-selected:hover span.e-day,
|
|
@@ -649,7 +649,7 @@ ejs-calendar {
|
|
|
649
649
|
.e-calendar .e-content.e-year td:hover span.e-day, .e-calendar .e-content.e-decade td:hover span.e-day,
|
|
650
650
|
.e-bigger.e-small .e-calendar .e-content.e-year td:hover span.e-day,
|
|
651
651
|
.e-bigger.e-small .e-calendar .e-content.e-decade td:hover span.e-day {
|
|
652
|
-
background-color: #
|
|
652
|
+
background-color: #414040;
|
|
653
653
|
}
|
|
654
654
|
.e-calendar .e-content.e-year td.e-selected:hover span.e-day, .e-calendar .e-content.e-decade td.e-selected:hover span.e-day,
|
|
655
655
|
.e-bigger.e-small .e-calendar .e-content.e-year td.e-selected:hover span.e-day,
|
|
@@ -650,7 +650,7 @@ ejs-calendar {
|
|
|
650
650
|
.e-calendar .e-content.e-year td:hover span.e-day, .e-calendar .e-content.e-decade td:hover span.e-day,
|
|
651
651
|
.e-bigger.e-small .e-calendar .e-content.e-year td:hover span.e-day,
|
|
652
652
|
.e-bigger.e-small .e-calendar .e-content.e-decade td:hover span.e-day {
|
|
653
|
-
background-color: #
|
|
653
|
+
background-color: #eaeaea;
|
|
654
654
|
}
|
|
655
655
|
.e-calendar .e-content.e-year td.e-selected:hover span.e-day, .e-calendar .e-content.e-decade td.e-selected:hover span.e-day,
|
|
656
656
|
.e-bigger.e-small .e-calendar .e-content.e-year td.e-selected:hover span.e-day,
|
|
@@ -188,7 +188,7 @@ ejs-calendar {
|
|
|
188
188
|
.e-calendar .e-content td.e-week-number:hover span.e-day, .e-calendar .e-content td.e-week-number:hover,
|
|
189
189
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover span.e-day,
|
|
190
190
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover {
|
|
191
|
-
background-color:
|
|
191
|
+
background-color: #252423;
|
|
192
192
|
cursor: default;
|
|
193
193
|
background-color: #201f1e;
|
|
194
194
|
}
|
|
@@ -568,7 +568,7 @@ ejs-calendar {
|
|
|
568
568
|
|
|
569
569
|
.e-calendar,
|
|
570
570
|
.e-bigger.e-small .e-calendar {
|
|
571
|
-
background-color:
|
|
571
|
+
background-color: #252423;
|
|
572
572
|
border: 1px solid #292827;
|
|
573
573
|
box-shadow: none;
|
|
574
574
|
}
|
|
@@ -660,7 +660,7 @@ ejs-calendar {
|
|
|
660
660
|
.e-calendar .e-content.e-year td:hover span.e-day, .e-calendar .e-content.e-decade td:hover span.e-day,
|
|
661
661
|
.e-bigger.e-small .e-calendar .e-content.e-year td:hover span.e-day,
|
|
662
662
|
.e-bigger.e-small .e-calendar .e-content.e-decade td:hover span.e-day {
|
|
663
|
-
background-color: #
|
|
663
|
+
background-color: #323130;
|
|
664
664
|
}
|
|
665
665
|
.e-calendar .e-content.e-year td.e-selected:hover span.e-day, .e-calendar .e-content.e-decade td.e-selected:hover span.e-day,
|
|
666
666
|
.e-bigger.e-small .e-calendar .e-content.e-year td.e-selected:hover span.e-day,
|
|
@@ -188,7 +188,7 @@ ejs-calendar {
|
|
|
188
188
|
.e-calendar .e-content td.e-week-number:hover span.e-day, .e-calendar .e-content td.e-week-number:hover,
|
|
189
189
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover span.e-day,
|
|
190
190
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover {
|
|
191
|
-
background-color:
|
|
191
|
+
background-color: #fff;
|
|
192
192
|
cursor: default;
|
|
193
193
|
background-color: #faf9f8;
|
|
194
194
|
}
|
|
@@ -568,7 +568,7 @@ ejs-calendar {
|
|
|
568
568
|
|
|
569
569
|
.e-calendar,
|
|
570
570
|
.e-bigger.e-small .e-calendar {
|
|
571
|
-
background-color:
|
|
571
|
+
background-color: #fff;
|
|
572
572
|
border: 1px solid #edebe9;
|
|
573
573
|
box-shadow: none;
|
|
574
574
|
}
|
|
@@ -306,7 +306,7 @@ ejs-calendar {
|
|
|
306
306
|
}
|
|
307
307
|
.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
308
308
|
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
309
|
-
line-height:
|
|
309
|
+
line-height: 28px;
|
|
310
310
|
}
|
|
311
311
|
.e-calendar .e-content.e-year table, .e-calendar .e-content.e-decade table,
|
|
312
312
|
.e-bigger.e-small .e-calendar .e-content.e-year table,
|
|
@@ -451,7 +451,7 @@ ejs-calendar {
|
|
|
451
451
|
}
|
|
452
452
|
.e-bigger.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
453
453
|
*.e-bigger .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
454
|
-
line-height:
|
|
454
|
+
line-height: 34px;
|
|
455
455
|
}
|
|
456
456
|
.e-bigger.e-calendar .e-content.e-month td,
|
|
457
457
|
*.e-bigger .e-calendar .e-content.e-month td {
|
|
@@ -502,7 +502,7 @@ ejs-calendar {
|
|
|
502
502
|
}
|
|
503
503
|
.e-small.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
504
504
|
.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
505
|
-
line-height:
|
|
505
|
+
line-height: 22px;
|
|
506
506
|
}
|
|
507
507
|
.e-small.e-calendar .e-content.e-month td,
|
|
508
508
|
.e-small .e-calendar .e-content.e-month td {
|
|
@@ -135,6 +135,7 @@ $range-icon-bottom-right-radius: 3px !default;
|
|
|
135
135
|
$range-icon-top-right-radius: 3px !default;
|
|
136
136
|
$range-icon-margin: 0 !default;
|
|
137
137
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
138
|
+
$range-calendar-landscape-height: 150px !default;
|
|
138
139
|
|
|
139
140
|
// fabric theme variable
|
|
140
141
|
$range-icon-font-size: 16px !default;
|
|
@@ -135,6 +135,7 @@ $range-icon-top-right-radius: 3px !default;
|
|
|
135
135
|
$range-icon-margin: 0 !default;
|
|
136
136
|
$range-icon-bigger-margin: 0 !default;
|
|
137
137
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
138
|
+
$range-calendar-landscape-height: 150px !default;
|
|
138
139
|
|
|
139
140
|
// fabric theme variable
|
|
140
141
|
$range-icon-font-size: 16px !default;
|
|
@@ -145,6 +145,7 @@ $range-bigger-icon-container-min-width: 33px !default;
|
|
|
145
145
|
$range-icon-margin: 0 !default;
|
|
146
146
|
$range-icon-bigger-margin: 0 !default;
|
|
147
147
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
148
|
+
$range-calendar-landscape-height: 150px !default;
|
|
148
149
|
|
|
149
150
|
// fabric theme variable
|
|
150
151
|
$range-icon-font-size: 14px !default;
|
|
@@ -101,6 +101,7 @@ $range-icon-normal-padding: 0 !default;
|
|
|
101
101
|
$range-preset-normal-list-height: 36px !default;
|
|
102
102
|
$range-preset-bigger-list-height: 48px !default;
|
|
103
103
|
$range-calendar-bigger-max: 296px !default;
|
|
104
|
+
$range-calendar-landscape-height: 130px !default;
|
|
104
105
|
|
|
105
106
|
// new variable
|
|
106
107
|
$range-icon: '\e245' !default;
|
|
@@ -135,6 +135,7 @@ $range-icon-bottom-right-radius: 0 !default;
|
|
|
135
135
|
$range-icon-top-right-radius: 0 !default;
|
|
136
136
|
$range-icon-margin: 0 !default;
|
|
137
137
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
138
|
+
$range-calendar-landscape-height: 150px !default;
|
|
138
139
|
|
|
139
140
|
// fabric theme variable
|
|
140
141
|
$range-icon-font-size: 16px !default;
|
|
@@ -134,6 +134,7 @@ $range-icon-top-right-radius: 0 !default;
|
|
|
134
134
|
$range-icon-margin: 0 !default;
|
|
135
135
|
$range-icon-bigger-margin: 0 !default;
|
|
136
136
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
137
|
+
$range-calendar-landscape-height: 150px !default;
|
|
137
138
|
|
|
138
139
|
// fabric theme variable
|
|
139
140
|
$range-icon-font-size: 16px !default;
|
|
@@ -77,6 +77,11 @@ $range-presets-width: 160px !default;
|
|
|
77
77
|
$range-hover-start-radius: 0 !default;
|
|
78
78
|
$range-hover-end-radius: 0 !default;
|
|
79
79
|
$range-selected-hover-radius: 50% !default;
|
|
80
|
+
$range-today-hover-line-height: 26px !default;
|
|
81
|
+
$range-other-hover-line-height: 28px !default;
|
|
82
|
+
$range-small-today-hover-line-height: 24px !default;
|
|
83
|
+
$range-bigger-today-hover-line-height: 30px !default;
|
|
84
|
+
$range-bigger-other-hover-line-height: 32px !default;
|
|
80
85
|
$range-btn-height: 36px !default;
|
|
81
86
|
$range-device-btn-line-height: 34px !default;
|
|
82
87
|
$range-icon-hover-color: $content-bg-color-hover !default;
|
|
@@ -104,6 +109,7 @@ $range-icon-normal-padding: 0 !default;
|
|
|
104
109
|
$range-preset-normal-list-height: 36px !default;
|
|
105
110
|
$range-preset-bigger-list-height: 48px !default;
|
|
106
111
|
$range-calendar-bigger-max: 296px !default;
|
|
112
|
+
$range-calendar-landscape-height: 130px !default;
|
|
107
113
|
|
|
108
114
|
// new variable
|
|
109
115
|
$range-icon: '\e245' !default;
|
|
@@ -101,6 +101,7 @@ $range-icon-normal-padding: 0 !default;
|
|
|
101
101
|
$range-preset-normal-list-height: 36px !default;
|
|
102
102
|
$range-preset-bigger-list-height: 48px !default;
|
|
103
103
|
$range-calendar-bigger-max: 296px !default;
|
|
104
|
+
$range-calendar-landscape-height: 130px !default;
|
|
104
105
|
|
|
105
106
|
// new variable
|
|
106
107
|
$range-icon: '\e245' !default;
|
|
@@ -133,6 +133,7 @@ $range-icon-top-right-radius: 0 !default;
|
|
|
133
133
|
$range-icon-margin: 0 !default;
|
|
134
134
|
$range-icon-bigger-margin: 0 !default;
|
|
135
135
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
136
|
+
$range-calendar-landscape-height: 150px !default;
|
|
136
137
|
|
|
137
138
|
// highcontrast theme variable
|
|
138
139
|
$range-icon-font-size: 16px !default;
|
|
@@ -134,6 +134,7 @@ $range-icon-bottom-right-radius: 0 !default;
|
|
|
134
134
|
$range-icon-top-right-radius: 0 !default;
|
|
135
135
|
$range-icon-margin: 0 !default;
|
|
136
136
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
137
|
+
$range-calendar-landscape-height: 150px !default;
|
|
137
138
|
|
|
138
139
|
// highcontrast theme variable
|
|
139
140
|
$range-icon-font-size: 16px !default;
|
|
@@ -652,6 +652,12 @@
|
|
|
652
652
|
|
|
653
653
|
|
|
654
654
|
@media screen and (orientation: landscape) {
|
|
655
|
+
.e-daterangepicker .e-calendar.e-device .e-month table{
|
|
656
|
+
display: inline-block;
|
|
657
|
+
height: $range-calendar-landscape-height;
|
|
658
|
+
overflow: auto;
|
|
659
|
+
}
|
|
660
|
+
|
|
655
661
|
.e-daterangepick-mob-popup-wrap {
|
|
656
662
|
@if $skin-name == 'material' {
|
|
657
663
|
#{if( &, '&', '*')} .e-daterangepicker.e-popup.e-popup-expand {
|
|
@@ -139,6 +139,7 @@ $range-bigger-icon-container-min-height: 24px !default;
|
|
|
139
139
|
$range-bigger-icon-container-min-width: 24px !default;
|
|
140
140
|
$range-icon-margin: 0 0 4px 0 !default;
|
|
141
141
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
142
|
+
$range-calendar-landscape-height: 130px !default;
|
|
142
143
|
|
|
143
144
|
// new variable
|
|
144
145
|
$range-icon: '\e245' !default;
|
|
@@ -140,6 +140,7 @@ $range-bigger-icon-container-min-width: 24px !default;
|
|
|
140
140
|
$range-icon-margin: 0 0 4px 0 !default;
|
|
141
141
|
$range-icon-bigger-margin: 0 0 2px 0 !default;
|
|
142
142
|
$range-sart-end-btn-padding: 1px 6px !default;
|
|
143
|
+
$range-calendar-landscape-height: 130px !default;
|
|
143
144
|
|
|
144
145
|
// new variable
|
|
145
146
|
$range-icon: '\e245' !default;
|
|
@@ -101,6 +101,7 @@ $range-icon-normal-padding: 0 !default;
|
|
|
101
101
|
$range-preset-normal-list-height: 36px !default;
|
|
102
102
|
$range-preset-bigger-list-height: 48px !default;
|
|
103
103
|
$range-calendar-bigger-max: 296px !default;
|
|
104
|
+
$range-calendar-landscape-height: 130px !default;
|
|
104
105
|
|
|
105
106
|
// new variable
|
|
106
107
|
$range-icon: '\e245' !default;
|
|
@@ -109,6 +109,7 @@ $range-small-header-label-size: $text-base !default;
|
|
|
109
109
|
$range-bigger-indicator-label-size: $text-sm !default;
|
|
110
110
|
$range-bigger-change-icon-size: 20px !default;
|
|
111
111
|
$range-control-bigger-header-margin: 12px 0 !default;
|
|
112
|
+
$range-calendar-landscape-height: 130px !default;
|
|
112
113
|
|
|
113
114
|
// new variable
|
|
114
115
|
$range-icon: '\e245' !default;
|
|
@@ -322,3 +322,36 @@
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
+
|
|
326
|
+
.e-daterangepicker.e-popup .e-calendar .e-content.e-month .e-today.e-range-hover span,
|
|
327
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day {
|
|
328
|
+
@if $skin-name == 'FluentUI' {
|
|
329
|
+
line-height: $range-today-hover-line-height;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.e-daterangepicker.e-popup .e-calendar .e-content .e-other-month.e-today.e-range-hover span,
|
|
334
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today.e-other-month.e-range-hover span.e-day {
|
|
335
|
+
@if $skin-name == 'FluentUI' {
|
|
336
|
+
line-height: $range-other-hover-line-height;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.e-small .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day,
|
|
341
|
+
.e-small .e-calendar .e-content.e-month td.e-other-month.e-today.e-range-hover span.e-day {
|
|
342
|
+
@if $skin-name == 'FluentUI' {
|
|
343
|
+
line-height: $range-small-today-hover-line-height;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.e-bigger .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day {
|
|
348
|
+
@if $skin-name == 'FluentUI' {
|
|
349
|
+
line-height: $range-bigger-today-hover-line-height;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.e-bigger .e-calendar .e-content.e-month td.e-other-month.e-today.e-range-hover span.e-day {
|
|
354
|
+
@if $skin-name == 'FluentUI' {
|
|
355
|
+
line-height: $range-bigger-other-hover-line-height;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
@@ -636,6 +636,13 @@
|
|
|
636
636
|
min-height: 40px;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
+
@media screen and (orientation: landscape) {
|
|
640
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
641
|
+
display: inline-block;
|
|
642
|
+
height: 150px;
|
|
643
|
+
overflow: auto;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
639
646
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
640
647
|
width: calc(100% - 80px);
|
|
641
648
|
}
|
|
@@ -637,6 +637,13 @@
|
|
|
637
637
|
min-height: 40px;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
+
@media screen and (orientation: landscape) {
|
|
641
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
642
|
+
display: inline-block;
|
|
643
|
+
height: 150px;
|
|
644
|
+
overflow: auto;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
640
647
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
641
648
|
width: calc(100% - 80px);
|
|
642
649
|
}
|
|
@@ -650,6 +650,13 @@
|
|
|
650
650
|
min-height: 40px;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
+
@media screen and (orientation: landscape) {
|
|
654
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
655
|
+
display: inline-block;
|
|
656
|
+
height: 150px;
|
|
657
|
+
overflow: auto;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
653
660
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
654
661
|
width: calc(100% - 80px);
|
|
655
662
|
}
|
|
@@ -650,6 +650,13 @@
|
|
|
650
650
|
min-height: 40px;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
+
@media screen and (orientation: landscape) {
|
|
654
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
655
|
+
display: inline-block;
|
|
656
|
+
height: 130px;
|
|
657
|
+
overflow: auto;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
653
660
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
654
661
|
width: calc(100% - 80px);
|
|
655
662
|
}
|
|
@@ -650,6 +650,13 @@
|
|
|
650
650
|
min-height: 40px;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
+
@media screen and (orientation: landscape) {
|
|
654
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
655
|
+
display: inline-block;
|
|
656
|
+
height: 130px;
|
|
657
|
+
overflow: auto;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
653
660
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
654
661
|
width: calc(100% - 80px);
|
|
655
662
|
}
|
|
@@ -636,6 +636,13 @@
|
|
|
636
636
|
min-height: 40px;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
+
@media screen and (orientation: landscape) {
|
|
640
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
641
|
+
display: inline-block;
|
|
642
|
+
height: 150px;
|
|
643
|
+
overflow: auto;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
639
646
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
640
647
|
width: calc(100% - 80px);
|
|
641
648
|
}
|
|
@@ -637,6 +637,13 @@
|
|
|
637
637
|
min-height: 40px;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
+
@media screen and (orientation: landscape) {
|
|
641
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
642
|
+
display: inline-block;
|
|
643
|
+
height: 150px;
|
|
644
|
+
overflow: auto;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
640
647
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
641
648
|
width: calc(100% - 80px);
|
|
642
649
|
}
|
|
@@ -619,6 +619,13 @@
|
|
|
619
619
|
min-height: 40px;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
+
@media screen and (orientation: landscape) {
|
|
623
|
+
.e-daterangepicker .e-calendar.e-device .e-month table {
|
|
624
|
+
display: inline-block;
|
|
625
|
+
height: 130px;
|
|
626
|
+
overflow: auto;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
622
629
|
.e-outline.e-float-input.e-control-wrapper label.e-float-text.e-label-bottom span.e-float-text-content.e-float-text-overflow.e-date-time-icon {
|
|
623
630
|
width: calc(100% - 80px);
|
|
624
631
|
}
|
|
@@ -909,4 +916,27 @@
|
|
|
909
916
|
background-color: #252423;
|
|
910
917
|
border-color: #323130;
|
|
911
918
|
color: #3b3a39;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.e-daterangepicker.e-popup .e-calendar .e-content.e-month .e-today.e-range-hover span,
|
|
922
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day {
|
|
923
|
+
line-height: 26px;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.e-daterangepicker.e-popup .e-calendar .e-content .e-other-month.e-today.e-range-hover span,
|
|
927
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today.e-other-month.e-range-hover span.e-day {
|
|
928
|
+
line-height: 28px;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.e-small .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day,
|
|
932
|
+
.e-small .e-calendar .e-content.e-month td.e-other-month.e-today.e-range-hover span.e-day {
|
|
933
|
+
line-height: 24px;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.e-bigger .e-calendar .e-content.e-month td.e-today.e-range-hover span.e-day {
|
|
937
|
+
line-height: 30px;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.e-bigger .e-calendar .e-content.e-month td.e-other-month.e-today.e-range-hover span.e-day {
|
|
941
|
+
line-height: 32px;
|
|
912
942
|
}
|