@syncfusion/ej2-calendars 19.3.55 → 19.4.48
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/README.md +1 -1
- 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 +36 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +36 -3
- 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 +1 -1
- package/src/maskbase/masked-date-time.d.ts +3 -0
- package/src/maskbase/masked-date-time.js +23 -0
- package/src/timepicker/timepicker.js +12 -2
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/calendar/_bootstrap-dark-definition.scss +1 -0
- package/styles/calendar/_bootstrap-definition.scss +1 -0
- package/styles/calendar/_bootstrap4-definition.scss +1 -0
- package/styles/calendar/_bootstrap5-definition.scss +1 -0
- package/styles/calendar/_fabric-dark-definition.scss +1 -0
- package/styles/calendar/_fabric-definition.scss +1 -0
- package/styles/calendar/_fluent-definition.scss +214 -0
- package/styles/calendar/_highcontrast-definition.scss +1 -0
- package/styles/calendar/_highcontrast-light-definition.scss +1 -0
- package/styles/calendar/_material-dark-definition.scss +1 -0
- package/styles/calendar/_material-definition.scss +1 -0
- package/styles/calendar/_tailwind-definition.scss +1 -0
- package/styles/calendar/_theme.scss +1 -1
- package/styles/calendar/bootstrap5-dark.css +1 -1
- package/styles/calendar/bootstrap5.css +1 -1
- package/styles/calendar/icons/_fluent.scss +12 -0
- package/styles/datepicker/_fluent-definition.scss +36 -0
- package/styles/datepicker/_material-dark-definition.scss +1 -0
- package/styles/datepicker/_material-definition.scss +1 -0
- package/styles/datepicker/icons/_fluent.scss +55 -0
- package/styles/daterangepicker/_fluent-definition.scss +222 -0
- package/styles/daterangepicker/_theme.scss +8 -8
- package/styles/daterangepicker/icons/_fluent.scss +67 -0
- package/styles/datetimepicker/_fluent-definition.scss +55 -0
- package/styles/datetimepicker/icons/_fluent.scss +11 -0
- package/styles/timepicker/_fluent-definition.scss +52 -0
- package/styles/timepicker/icons/_fluent.scss +13 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.48
|
|
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-calendars@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-calendars@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@19.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-lFSATAaBv5xWH8wfMtThdR5AUpG14ysGQCU/1BOVVVri0P1w/JW46s5naTrz8b+2O5mpPH/SmunIuyjI+23sTQ==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-calendars/-/ej2-calendars-19.
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-19.4.42.tgz",
|
|
36
|
+
"_shasum": "c8f351417ef708bb4fef7847ee3e431d420511f8",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~19.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~19.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~19.
|
|
50
|
-
"@syncfusion/ej2-lists": "~19.
|
|
51
|
-
"@syncfusion/ej2-popups": "~19.
|
|
47
|
+
"@syncfusion/ej2-base": "~19.4.48",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~19.4.48",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~19.4.48",
|
|
50
|
+
"@syncfusion/ej2-lists": "~19.4.48",
|
|
51
|
+
"@syncfusion/ej2-popups": "~19.4.48"
|
|
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": "19.
|
|
84
|
+
"version": "19.4.48",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -3476,7 +3476,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3476
3476
|
this.disabledDayCnt = null;
|
|
3477
3477
|
var localDate = new Date(+this.startValue);
|
|
3478
3478
|
var count = 0;
|
|
3479
|
-
while (+localDate <= +this.endValue) {
|
|
3479
|
+
while (+localDate <= +this.endValue && +this.endValue <= +this.max) {
|
|
3480
3480
|
this.virtualRenderCellArgs = {
|
|
3481
3481
|
date: localDate,
|
|
3482
3482
|
isDisabled: false
|
|
@@ -35,6 +35,9 @@ export declare class MaskedDateTime {
|
|
|
35
35
|
private isYearZero;
|
|
36
36
|
private dayTypeCount;
|
|
37
37
|
private monthTypeCount;
|
|
38
|
+
private hourTypeCount;
|
|
39
|
+
private minuteTypeCount;
|
|
40
|
+
private secondTypeCount;
|
|
38
41
|
constructor(parent?: IMaskedDateTime);
|
|
39
42
|
getModuleName(): string;
|
|
40
43
|
addEventListener(): void;
|
|
@@ -42,6 +42,9 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
42
42
|
this.isYearZero = false;
|
|
43
43
|
this.dayTypeCount = 0;
|
|
44
44
|
this.monthTypeCount = 0;
|
|
45
|
+
this.hourTypeCount = 0;
|
|
46
|
+
this.minuteTypeCount = 0;
|
|
47
|
+
this.secondTypeCount = 0;
|
|
45
48
|
this.parent = parent;
|
|
46
49
|
this.dateformat = this.getCulturedFormat();
|
|
47
50
|
this.maskDateValue = this.parent.value != null ? new Date(+this.parent.value) : new Date();
|
|
@@ -314,6 +317,7 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
314
317
|
newDateValue.setHours(Math.floor(newDateValue.getHours() / 12) * 12 + (this.hour % 12));
|
|
315
318
|
this.isNavigate = this.hour.toString().length === 2;
|
|
316
319
|
this.isHourPart = true;
|
|
320
|
+
this.hourTypeCount = this.hourTypeCount + 1;
|
|
317
321
|
break;
|
|
318
322
|
case 'H':
|
|
319
323
|
this.hour = (this.isHourPart && newDateValue.getHours().toString().length < 2 ? newDateValue.getHours() * 10 : 0) + parseInt(newVal[start - 1], 10);
|
|
@@ -326,6 +330,7 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
326
330
|
newDateValue.setHours(this.hour);
|
|
327
331
|
this.isNavigate = this.hour.toString().length === 2;
|
|
328
332
|
this.isHourPart = true;
|
|
333
|
+
this.hourTypeCount = this.hourTypeCount + 1;
|
|
329
334
|
break;
|
|
330
335
|
case 'm':
|
|
331
336
|
var minutes = (this.isMinutePart && newDateValue.getMinutes().toString().length < 2 ? newDateValue.getMinutes() * 10 : 0) + parseInt(newVal[start - 1], 10);
|
|
@@ -338,6 +343,7 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
338
343
|
newDateValue.setMinutes(minutes);
|
|
339
344
|
this.isNavigate = minutes.toString().length === 2;
|
|
340
345
|
this.isMinutePart = true;
|
|
346
|
+
this.minuteTypeCount = this.minuteTypeCount + 1;
|
|
341
347
|
break;
|
|
342
348
|
case 's':
|
|
343
349
|
var seconds = (this.isSecondsPart && newDateValue.getSeconds().toString().length < 2 ? newDateValue.getSeconds() * 10 : 0) + parseInt(newVal[start - 1], 10);
|
|
@@ -350,6 +356,7 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
350
356
|
newDateValue.setSeconds(seconds);
|
|
351
357
|
this.isNavigate = seconds.toString().length === 2;
|
|
352
358
|
this.isSecondsPart = true;
|
|
359
|
+
this.secondTypeCount = this.secondTypeCount + 1;
|
|
353
360
|
break;
|
|
354
361
|
case 'a':
|
|
355
362
|
this.periodCharacter += newVal[start - 1].toLowerCase();
|
|
@@ -449,24 +456,40 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
449
456
|
break;
|
|
450
457
|
case 'hh':
|
|
451
458
|
result = proxy.isHourPart ? proxy.roundOff(proxy.maskDateValue.getHours() % 12 || 12, 2) : proxy.defaultConstant['hour'].toString();
|
|
459
|
+
if (proxy.hourTypeCount == 2) {
|
|
460
|
+
proxy.isNavigate = true;
|
|
461
|
+
proxy.hourTypeCount = 0;
|
|
462
|
+
}
|
|
452
463
|
break;
|
|
453
464
|
case 'H':
|
|
454
465
|
result = proxy.isHourPart ? proxy.maskDateValue.getHours().toString() : proxy.defaultConstant['hour'].toString();
|
|
455
466
|
break;
|
|
456
467
|
case 'HH':
|
|
457
468
|
result = proxy.isHourPart ? proxy.roundOff(proxy.maskDateValue.getHours(), 2) : proxy.defaultConstant['hour'].toString();
|
|
469
|
+
if (proxy.hourTypeCount == 2) {
|
|
470
|
+
proxy.isNavigate = true;
|
|
471
|
+
proxy.hourTypeCount = 0;
|
|
472
|
+
}
|
|
458
473
|
break;
|
|
459
474
|
case 'm':
|
|
460
475
|
result = proxy.isMinutePart ? proxy.maskDateValue.getMinutes().toString() : proxy.defaultConstant['minute'].toString();
|
|
461
476
|
break;
|
|
462
477
|
case 'mm':
|
|
463
478
|
result = proxy.isMinutePart ? proxy.roundOff(proxy.maskDateValue.getMinutes(), 2) : proxy.defaultConstant['minute'].toString();
|
|
479
|
+
if (proxy.minuteTypeCount == 2) {
|
|
480
|
+
proxy.isNavigate = true;
|
|
481
|
+
proxy.minuteTypeCount = 0;
|
|
482
|
+
}
|
|
464
483
|
break;
|
|
465
484
|
case 's':
|
|
466
485
|
result = proxy.isSecondsPart ? proxy.maskDateValue.getSeconds().toString() : proxy.defaultConstant['second'].toString();
|
|
467
486
|
break;
|
|
468
487
|
case 'ss':
|
|
469
488
|
result = proxy.isSecondsPart ? proxy.roundOff(proxy.maskDateValue.getSeconds(), 2) : proxy.defaultConstant['second'].toString();
|
|
489
|
+
if (proxy.secondTypeCount == 2) {
|
|
490
|
+
proxy.isNavigate = true;
|
|
491
|
+
proxy.secondTypeCount = 0;
|
|
492
|
+
}
|
|
470
493
|
break;
|
|
471
494
|
case 'f':
|
|
472
495
|
result = Math.floor(proxy.maskDateValue.getMilliseconds() / 100).toString();
|
|
@@ -1483,7 +1483,12 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1483
1483
|
if (!inputVal) {
|
|
1484
1484
|
this.updateInputValue(this.maskedDateValue);
|
|
1485
1485
|
}
|
|
1486
|
-
this.
|
|
1486
|
+
if (isNullOrUndefined(val) && value != this.maskedDateValue) {
|
|
1487
|
+
this.createMask();
|
|
1488
|
+
}
|
|
1489
|
+
if (isNullOrUndefined(val) && value == this.maskedDateValue) {
|
|
1490
|
+
this.updateInputValue(this.maskedDateValue);
|
|
1491
|
+
}
|
|
1487
1492
|
}
|
|
1488
1493
|
}
|
|
1489
1494
|
}
|
|
@@ -1556,7 +1561,12 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1556
1561
|
if (time == '') {
|
|
1557
1562
|
this.updateInputValue(this.maskedDateValue);
|
|
1558
1563
|
}
|
|
1559
|
-
this.
|
|
1564
|
+
if (isNullOrUndefined(time) && value != this.maskedDateValue) {
|
|
1565
|
+
this.createMask();
|
|
1566
|
+
}
|
|
1567
|
+
if (isNullOrUndefined(time) && value == this.maskedDateValue) {
|
|
1568
|
+
this.updateInputValue(this.maskedDateValue);
|
|
1569
|
+
}
|
|
1560
1570
|
}
|
|
1561
1571
|
}
|
|
1562
1572
|
return time;
|
|
@@ -977,7 +977,7 @@ ejs-calendar {
|
|
|
977
977
|
.e-bigger.e-small .e-calendar.e-device .e-next:active,
|
|
978
978
|
.e-bigger.e-small .e-calendar.e-device .e-prev:focus,
|
|
979
979
|
.e-bigger.e-small .e-calendar.e-device .e-next:focus {
|
|
980
|
-
background:
|
|
980
|
+
background: #5c636a;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
.e-calendar.e-device button.e-prev:active span,
|
package/styles/bootstrap5.css
CHANGED
|
@@ -977,7 +977,7 @@ ejs-calendar {
|
|
|
977
977
|
.e-bigger.e-small .e-calendar.e-device .e-next:active,
|
|
978
978
|
.e-bigger.e-small .e-calendar.e-device .e-prev:focus,
|
|
979
979
|
.e-bigger.e-small .e-calendar.e-device .e-next:focus {
|
|
980
|
-
background:
|
|
980
|
+
background: #5c636a;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
.e-calendar.e-device button.e-prev:active span,
|
|
@@ -35,6 +35,7 @@ $calendar-active-icon-color: $calendar-icon-font-color !default;
|
|
|
35
35
|
$calendar-title-hover-color: $grey-light-font !default;
|
|
36
36
|
$calendar-icon-hover-color: $grey-light-font !default;
|
|
37
37
|
$calendar-icon-hover-bg-color: $grey-88 !default;
|
|
38
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
38
39
|
$calendar-default-border-color: none !default;
|
|
39
40
|
$calendar-icon-hover-border-color: $calendar-default-border-color !default;
|
|
40
41
|
$calendar-active-state-icon-bg-color: $grey-8c !default;
|
|
@@ -37,6 +37,7 @@ $calendar-active-icon-color: $calendar-icon-font-color !default;
|
|
|
37
37
|
$calendar-title-hover-color: $grey-light-font !default;
|
|
38
38
|
$calendar-icon-hover-color: $grey-light-font !default;
|
|
39
39
|
$calendar-icon-hover-bg-color: $grey-e6 !default;
|
|
40
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
40
41
|
$calendar-default-border-color: none !default;
|
|
41
42
|
$calendar-icon-hover-border-color: $calendar-default-border-color !default;
|
|
42
43
|
$calendar-active-state-icon-bg-color: $grey-d4 !default;
|
|
@@ -37,6 +37,7 @@ $calendar-active-icon-color: $white !default;
|
|
|
37
37
|
$calendar-title-hover-color: $gray-900 !default;
|
|
38
38
|
$calendar-icon-hover-color: $gray-900 !default;
|
|
39
39
|
$calendar-icon-hover-bg-color: darken($gray-100, 2%) !default;
|
|
40
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
40
41
|
$calendar-default-border-color: none !default;
|
|
41
42
|
$calendar-icon-hover-border-color: $calendar-default-border-color !default;
|
|
42
43
|
$calendar-active-state-icon-bg-color: darken($gray-600, 10%) !default;
|
|
@@ -138,6 +138,7 @@ $calendar-active-icon-color: $secondary-text-color !default;
|
|
|
138
138
|
$calendar-title-hover-color: $content-text-color-alt3 !default;
|
|
139
139
|
$calendar-icon-hover-color: $secondary-text-color !default;
|
|
140
140
|
$calendar-icon-hover-bg-color: $secondary-bg-color-hover !default;
|
|
141
|
+
$calendar-device-icon-hover-bg-color: $secondary-bg-color-hover !default;
|
|
141
142
|
$calendar-default-border-color: none !default;
|
|
142
143
|
$calendar-icon-hover-border-color: $content-bg-color-hover !default;
|
|
143
144
|
$calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
|
|
@@ -18,6 +18,7 @@ $calendar-icon-font-color: $neutral-light-font !default;
|
|
|
18
18
|
$calendar-active-icon-color: $neutral-light-fontalt !default;
|
|
19
19
|
$calendar-active-state-icon-bg-color: none !default;
|
|
20
20
|
$calendar-icon-hover-bg-color: none !default;
|
|
21
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
21
22
|
$calendar-focus-date-color: $neutral-quintenaryalt !default;
|
|
22
23
|
$calendar-other-month-date: $neutral-tertiary-alt !default;
|
|
23
24
|
$calendar-text-color: $neutral-light-font !default;
|
|
@@ -21,6 +21,7 @@ $calendar-icon-font-color: $neutral-light-font !default;
|
|
|
21
21
|
$calendar-active-icon-color: $calendar-icon-font-color !default;
|
|
22
22
|
$calendar-active-state-icon-bg-color: $content-bg-color !default;
|
|
23
23
|
$calendar-icon-hover-bg-color: none !default;
|
|
24
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
24
25
|
$calendar-focus-date-color: $neutral-quintenaryalt !default;
|
|
25
26
|
$calendar-other-month-date: $neutral-tertiary !default;
|
|
26
27
|
$calendar-text-color: $neutral-light-font !default;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/*! calendar bootstrap5 theme variables */
|
|
2
|
+
//month view
|
|
3
|
+
$calendar-normal-month-view-height: 28px !default;
|
|
4
|
+
$calendar-normal-month-view-line-height: 26px !default;
|
|
5
|
+
$calendar-normal-month-view-width: 28px !default;
|
|
6
|
+
$calendar-normal-month-cell-padding: 0 !default;
|
|
7
|
+
$calendar-bigger-table-month-padding: 0 16px 0 16px !default;
|
|
8
|
+
$calendar-bigger-month-font-size: $text-sm !default;
|
|
9
|
+
$calendar-bigger-month-view-padding: 0 !default;
|
|
10
|
+
$calendar-bigger-month-view-height: 32px !default;
|
|
11
|
+
$calendar-bigger-month-view-line-height: 30px !default;
|
|
12
|
+
$calendar-bigger-month-view-width: 32px !default;
|
|
13
|
+
//header dimension
|
|
14
|
+
$calendar-header-font-size: 12px !default;
|
|
15
|
+
$calendar-bigger-header-padding: 16px 16px 8px 16px !default;
|
|
16
|
+
$calendar-bigger-day-header-height: 32px !default;
|
|
17
|
+
$calendar-bigger-header-height: 32px !default;
|
|
18
|
+
$calendar-normal-header-padding: 12px 12px 4px 12px !default;
|
|
19
|
+
$calendar-normal-day-header-height: 28px !default;
|
|
20
|
+
$calendar-normal-day-header-text: none !default;
|
|
21
|
+
$calendar-normal-header-height: 28px !default;
|
|
22
|
+
$calendar-bigger-header-font-size: 16px !default;
|
|
23
|
+
$calendar-normal-day-header-font-weight: normal !default;
|
|
24
|
+
$calendar-title-font-size: 14px !default;
|
|
25
|
+
$calendar-title-margin-left-style: 6px !default;
|
|
26
|
+
$calendar-title-font-weight-style: 600 !default;
|
|
27
|
+
$calendar-title-decoration-style: none !default;
|
|
28
|
+
// common size properties
|
|
29
|
+
$calendar-wrapper-border-radius: 4px !default;
|
|
30
|
+
$calendar-full-width: 100% !default;
|
|
31
|
+
$calendar-lg-day-header-format-max-width: 100% !default;
|
|
32
|
+
$calendar-lg-day-header-format-min-width: 540px !default;
|
|
33
|
+
$calendar-icon-padding-top: 0 !default;
|
|
34
|
+
$calendar-zero-value: 0 !default;
|
|
35
|
+
$calendar-disable-opacity: 1 !default;
|
|
36
|
+
//popup styles
|
|
37
|
+
$calendar-normal-max-width: 220px !default;
|
|
38
|
+
$calendar-normal-min-width: 222px !default;
|
|
39
|
+
$calendar-small-max-width: 198px !default;
|
|
40
|
+
$calendar-small-min-width: 198px !default;
|
|
41
|
+
$calendar-bigger-max-width: 254px !default;
|
|
42
|
+
$calendar-bigger-min-width: 256px !default;
|
|
43
|
+
$calendar-weeknumber-min-width: 300px !default;
|
|
44
|
+
$calendar-weeknumber-bigger-width: 325px !default;
|
|
45
|
+
$calendar-popup-padding: 0 !default;
|
|
46
|
+
$calendar-popup-bigger-padding: 0 !default;
|
|
47
|
+
// today button
|
|
48
|
+
$calendar-bigger-today-button-height: 48px !default;
|
|
49
|
+
$calendar-normal-today-button-height: 36px !default;
|
|
50
|
+
// year decade view
|
|
51
|
+
//dimension
|
|
52
|
+
$calendar-normal-year-decade-height: 40px !default;
|
|
53
|
+
$calendar-normal-year-decade-width: 40px !default;
|
|
54
|
+
$calendar-normal-year-decade-padding: 2px !default;
|
|
55
|
+
$calendar-yeardeacde-span-padding: 0 !default;
|
|
56
|
+
$calendar-yeardecade-padding: 0 8px 0 8px !default;
|
|
57
|
+
$calendar-bigger-year-decade-padding: 0 !default;
|
|
58
|
+
$calendar-bigger-yeardecade-font-size: $calendar-bigger-month-font-size !default;
|
|
59
|
+
$calendar-bigger-table-yeardecade-padding: 0 12px 0 12px !default;
|
|
60
|
+
$calendar-bigger-yeardecade-font-weight: normal !default;
|
|
61
|
+
$calendar-yeardecade-font-weight: normal !default;
|
|
62
|
+
$calendar-bigger-year-decade-height: 44px !default;
|
|
63
|
+
$calendar-bigger-year-decade-width: 44px !default;
|
|
64
|
+
$calendar-yeardecade-header-padding: 14px 12px 4px 12px !default;
|
|
65
|
+
$calendar-bigger-yeardecade-header-padding: 16px 16px 8px 16px !default;
|
|
66
|
+
$calendar-decade-title-left-margin-style: 9px !default;
|
|
67
|
+
// table related styles
|
|
68
|
+
$calendar-table-padding: 0 12px 0 12px !default;
|
|
69
|
+
//font icons
|
|
70
|
+
$calendar-prev-icon: '\e910' !default;
|
|
71
|
+
$calendar-next-icon: '\e916' !default;
|
|
72
|
+
$calendar-next-prev-icon-size: 14px !default;
|
|
73
|
+
$calendar-icon-line-height: 1 !default;
|
|
74
|
+
$calendar-bigger-icon-size: 32px !default;
|
|
75
|
+
$calendar-normal-icon-size: 28px !default;
|
|
76
|
+
$calendar-spanicon-font-weight-style: normal !default;
|
|
77
|
+
//pending
|
|
78
|
+
$calendar-icon-font-size-style: 14px !default;
|
|
79
|
+
$calendar-bigger-icon-font-size: 16px !default;
|
|
80
|
+
$calendar-footer-container-padding: 8px !default;
|
|
81
|
+
$calendar-bigger-footer-container-padding: 16px !default;
|
|
82
|
+
// small size
|
|
83
|
+
$calendar-small-icon-size: 26px !default;
|
|
84
|
+
$calendar-small-icon-font-size-style: 12px !default;
|
|
85
|
+
$calendar-small-title-font-size: 12px !default;
|
|
86
|
+
$calendar-small-icon-padding: 0 !default;
|
|
87
|
+
$calendar-small-header-height: 28px !default;
|
|
88
|
+
$calendar-small-day-header-height: 26px !default;
|
|
89
|
+
$calendar-small-month-view-height: 26px !default;
|
|
90
|
+
$calendar-small-month-view-line-height: 20px !default;
|
|
91
|
+
$calendar-small-date-font-size: 12px !default;
|
|
92
|
+
$calendar-small-month-view-width: 26px !default;
|
|
93
|
+
$calendar-small-popup-padding: 0 !default;
|
|
94
|
+
$calendar-bigger-small-table-padding: 0 12px 0 12px !default;
|
|
95
|
+
$calendar-bigger-small-yeardecade-font-size: 14px !default;
|
|
96
|
+
$calendar-small-font-size: 12px !default;
|
|
97
|
+
//week number
|
|
98
|
+
$calendar-week-number-font-size-style: 14px !default;
|
|
99
|
+
$calendar-week-normal-max-width: 294px !default;
|
|
100
|
+
$calendar-week-normal-min-width: 288px !default;
|
|
101
|
+
$calendar-week-bigger-max-width: 320px !default;
|
|
102
|
+
$calendar-week-bigger-min-width: 314px !default;
|
|
103
|
+
$calendar-icon-padding: 5px !default;
|
|
104
|
+
$calendar-icon-button-margin: 0 !default;
|
|
105
|
+
$calendar-bigger-icon-padding: 0 !default;
|
|
106
|
+
$calendar-bigger-icon-margin: 0 !default;
|
|
107
|
+
//thead style
|
|
108
|
+
$calendar-thead-padding: 0 0 6px !default;
|
|
109
|
+
// common styles
|
|
110
|
+
$calendar-none-style: none !default;
|
|
111
|
+
$calendar-cursor-default-style: default !default;
|
|
112
|
+
$calendar-cursor-pointer-style: pointer !default;
|
|
113
|
+
$calendar-block-style: block !default;
|
|
114
|
+
$calendar-inline-block-style: inline-block !default;
|
|
115
|
+
$calendar-display-style: flex !default;
|
|
116
|
+
$calendar-pointer-events: initial !default;
|
|
117
|
+
$calendar-float-right-style: right !default;
|
|
118
|
+
$calendar-float-left-style: left !default;
|
|
119
|
+
$calendar-other-month-display-style: inline-block !default;
|
|
120
|
+
$calendar-other-month-row-display-style: none !default;
|
|
121
|
+
$calendar-footer-border: 0 solid $border-light !default;
|
|
122
|
+
$calendar-bigger-footer-border: 0 solid $border-light !default;
|
|
123
|
+
$calendar-week-number-font-style: italic !default;
|
|
124
|
+
//dimension
|
|
125
|
+
$calendar-date-font-size: $text-xs !default;
|
|
126
|
+
$calendar-bigger-day-font-size: 15px !default;
|
|
127
|
+
$calendar-link-font-weight-style: normal !default;
|
|
128
|
+
$calendar-disable-font-weight-style: normal !default;
|
|
129
|
+
$calendar-border-radius: 4px !default;
|
|
130
|
+
//week header font size
|
|
131
|
+
$calendar-bigger-week-header-font-size: $text-sm !default;
|
|
132
|
+
//header color
|
|
133
|
+
$calendar-header-font-color: $content-text-color-alt1 !default;
|
|
134
|
+
$calendar-header-icon-color: $icon-color !default;
|
|
135
|
+
$calendar-title-font-color: $content-text-color !default;
|
|
136
|
+
$calendar-icon-font-color: $content-text-color-alt1 !default;
|
|
137
|
+
$calendar-active-icon-color: $secondary-text-color !default;
|
|
138
|
+
$calendar-title-hover-color: $content-text-color !default;
|
|
139
|
+
$calendar-icon-hover-color: $secondary-text-color !default;
|
|
140
|
+
$calendar-icon-hover-bg-color: $secondary-bg-color-hover !default;
|
|
141
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
142
|
+
$calendar-default-border-color: none !default;
|
|
143
|
+
$calendar-icon-hover-border-color: $content-bg-color-hover !default;
|
|
144
|
+
$calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
|
|
145
|
+
//popup styles
|
|
146
|
+
$calendar-border-style: 1px solid $border-light !default;
|
|
147
|
+
$calendar-bg-color: $transparent !default;
|
|
148
|
+
$calendar-box-shadow: none !default;
|
|
149
|
+
// year decade view
|
|
150
|
+
//color
|
|
151
|
+
$calendar-yeardecade-bg-color: none !default;
|
|
152
|
+
$calendar-yeardecade-hover-bg: $content-bg-color-hover !default;
|
|
153
|
+
$calendar-yeardecade-selected-hover-bg: darken($primary-bg-color, 10%) !default;
|
|
154
|
+
//decade view color
|
|
155
|
+
$calendar-other-decade-cell-color: $content-text-color-alt2 !default;
|
|
156
|
+
// end year decade
|
|
157
|
+
//other months
|
|
158
|
+
$calendar-other-month-date: $content-text-color-alt3 !default;
|
|
159
|
+
$calendar-other-month-date-hover-bg: $calendar-other-month-date !default;
|
|
160
|
+
// td styles
|
|
161
|
+
//color
|
|
162
|
+
$calendar-light-font: $content-text-color-alt1 !default;
|
|
163
|
+
$calendar-active-font-color: $flyout-text-color-selected !default;
|
|
164
|
+
$calendar-active-hover-font-color: $flyout-text-color-selected !default;
|
|
165
|
+
$calendar-active-today-font-color: $content-text-color !default;
|
|
166
|
+
$calendar-active-today-hover-font-color: $content-text-color !default;
|
|
167
|
+
$calendar-active-bg-color: $flyout-bg-color-selected !default;
|
|
168
|
+
$calendar-active-bg-border-color: 1px solid $border !default;
|
|
169
|
+
$calendar-active-hover-bg-color: $flyout-bg-color-selected !default;
|
|
170
|
+
$calendar-hover-color: $flyout-bg-color-hover !default;
|
|
171
|
+
$calendar-text-color: $flyout-text-color !default;
|
|
172
|
+
$calendar-hover-text: $calendar-text-color !default;
|
|
173
|
+
$calendar-focus-bg-color: $flyout-bg-color-focus !default;
|
|
174
|
+
$calendar-focused-today-bg-style: $primary !default;
|
|
175
|
+
$calendar-focused-today-border-style: 1px solid $border !default;
|
|
176
|
+
$calendar-focus-border-color: 1px solid $border !default;
|
|
177
|
+
$calendar-hover-border-color: none !default;
|
|
178
|
+
$calendar-disable-font-color: $flyout-text-color-disabled !default;
|
|
179
|
+
$calendar-focused-date-bg-style: $primary-light !default;
|
|
180
|
+
$calendar-small-title-font-color: $content-text-color !default;
|
|
181
|
+
// end td styles
|
|
182
|
+
//today date
|
|
183
|
+
$calendar-today-bg-style: none !default;
|
|
184
|
+
$calendar-today-bg-hover-color: $flyout-bg-color-hover !default;
|
|
185
|
+
$calendar-today-border-color: 1px solid $primary !default;
|
|
186
|
+
$calendar-selected-box-shadow: none !default;
|
|
187
|
+
$calendar-selected-border-color: none !default;
|
|
188
|
+
//pending
|
|
189
|
+
$calendar-today-color: $primary !default;
|
|
190
|
+
$calendar-today-focused-font-color: $primary-text-color !default;
|
|
191
|
+
$calendar-today-focus-color: $content-text-color !default;
|
|
192
|
+
//week header
|
|
193
|
+
$calendar-week-header-font-color: $content-text-color !default;
|
|
194
|
+
$calendar-week-header-bg-style: none !default;
|
|
195
|
+
//week number
|
|
196
|
+
$calendar-week-number-color-style: $content-text-color-disabled !default;
|
|
197
|
+
$calendar-week-number-font-color: $calendar-text-color !default;
|
|
198
|
+
//today button
|
|
199
|
+
$calendar-footer-background: $transparent !default;
|
|
200
|
+
$calendar-today-disabled-background-style: $primary-bg-color-disabled !default;
|
|
201
|
+
$calendar-today-disabled-border-style: $primary-border-color-disabled !default;
|
|
202
|
+
$calendar-today-disabled-box-shadow: none !default;
|
|
203
|
+
$calendar-today-disabled-color: $primary-text-disabled !default;
|
|
204
|
+
//today button flat button override style
|
|
205
|
+
$today-buuton-bg: $primary-bg-color !default;
|
|
206
|
+
$today-buuton-bg-border-color: $primary-border-color !default;
|
|
207
|
+
$today-buuton-text-color: $primary-text-color !default;
|
|
208
|
+
$today-buuton-hover-bg: $primary-bg-color-hover !default;
|
|
209
|
+
$today-buuton-bg-border-hover-color: $primary-border-color-hover !default;
|
|
210
|
+
$today-buuton-text-hover-color: $primary-text-hover !default;
|
|
211
|
+
$today-buuton-active-bg: $primary-bg-color-pressed !default;
|
|
212
|
+
$today-buuton-bg-border-active-color: $primary-border-color-pressed !default;
|
|
213
|
+
$today-buuton-text-active-color: $primary-text-pressed !default;
|
|
214
|
+
|
|
@@ -20,6 +20,7 @@ $calendar-title-decoration-style: underline !default;
|
|
|
20
20
|
$calendar-icon-font-color: $content-font !default;
|
|
21
21
|
$calendar-active-state-icon-bg-color: $selection-bg !default;
|
|
22
22
|
$calendar-icon-hover-bg-color: $hover-bg !default;
|
|
23
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
23
24
|
$calendar-focus-date-color: $content-font !default;
|
|
24
25
|
$calendar-other-month-date: $content-font-alt !default;
|
|
25
26
|
$calendar-text-color: $content-font !default;
|
|
@@ -17,6 +17,7 @@ $calendar-title-decoration-style: underline !default;
|
|
|
17
17
|
$calendar-icon-font-color: $content-font !default;
|
|
18
18
|
$calendar-active-state-icon-bg-color: $selection-bg !default;
|
|
19
19
|
$calendar-icon-hover-bg-color: $hover-bg !default;
|
|
20
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
20
21
|
$calendar-focus-date-color: $content-font !default;
|
|
21
22
|
$calendar-other-month-date: $content-font-alt !default;
|
|
22
23
|
$calendar-text-color: $content-font !default;
|
|
@@ -18,6 +18,7 @@ $calendar-icon-font-color: rgba($calendar-header-icon-color, .75) !default;
|
|
|
18
18
|
$calendar-active-icon-color: $calendar-icon-font-color !default;
|
|
19
19
|
$calendar-active-state-icon-bg-color: rgba($grey-white, .18) !default;
|
|
20
20
|
$calendar-icon-hover-bg-color: none !default;
|
|
21
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
21
22
|
$calendar-focus-date-color: rgba($accent, .12) !default;
|
|
22
23
|
$calendar-other-month-date: rgba($grey-dark-font, .3) !default;
|
|
23
24
|
$calendar-text-color: $grey-dark-font !default;
|
|
@@ -21,6 +21,7 @@ $calendar-icon-font-color: rgba($calendar-header-icon-color, .75) !default;
|
|
|
21
21
|
$calendar-active-icon-color: $calendar-icon-font-color !default;
|
|
22
22
|
$calendar-active-state-icon-bg-color: $grey-white !default;
|
|
23
23
|
$calendar-icon-hover-bg-color: none !default;
|
|
24
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
24
25
|
$calendar-focus-date-color: rgba($accent, .12) !default;
|
|
25
26
|
$calendar-other-month-date: rgba($grey-light-font, .38) !default;
|
|
26
27
|
$calendar-text-color: rgba($grey-light-font, .87) !default;
|
|
@@ -140,6 +140,7 @@ $calendar-icon-hover-color: $content-text-color-alt1 !default;
|
|
|
140
140
|
$calendar-icon-hover-bg-color: transparent !default;
|
|
141
141
|
$calendar-default-border-color: none !default;
|
|
142
142
|
$calendar-icon-hover-border-color: $content-bg-color-hover !default;
|
|
143
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
143
144
|
$calendar-active-state-icon-bg-color: transparent !default;
|
|
144
145
|
//popup styles
|
|
145
146
|
$calendar-border-style: 1px solid $border-light !default;
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
#{if(&, '&', '*')} .e-next:active,
|
|
179
179
|
#{if(&, '&', '*')} .e-prev:focus,
|
|
180
180
|
#{if(&, '&', '*')} .e-next:focus {
|
|
181
|
-
background: $calendar-
|
|
181
|
+
background: $calendar-device-icon-hover-bg-color;
|
|
182
182
|
}#{if(&, '&', '*')} button.e-prev:active span,
|
|
183
183
|
#{if(&, '&', '*')} button.e-next:active span {
|
|
184
184
|
color: $calendar-header-icon-color;
|
|
@@ -977,7 +977,7 @@ ejs-calendar {
|
|
|
977
977
|
.e-bigger.e-small .e-calendar.e-device .e-next:active,
|
|
978
978
|
.e-bigger.e-small .e-calendar.e-device .e-prev:focus,
|
|
979
979
|
.e-bigger.e-small .e-calendar.e-device .e-next:focus {
|
|
980
|
-
background:
|
|
980
|
+
background: #5c636a;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
.e-calendar.e-device button.e-prev:active span,
|
|
@@ -977,7 +977,7 @@ ejs-calendar {
|
|
|
977
977
|
.e-bigger.e-small .e-calendar.e-device .e-next:active,
|
|
978
978
|
.e-bigger.e-small .e-calendar.e-device .e-prev:focus,
|
|
979
979
|
.e-bigger.e-small .e-calendar.e-device .e-next:focus {
|
|
980
|
-
background:
|
|
980
|
+
background: #5c636a;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
.e-calendar.e-device button.e-prev:active span,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@include export-module('calendar-fluent-icons') {
|
|
2
|
+
/*! component icons */
|
|
3
|
+
.e-calendar .e-header {
|
|
4
|
+
#{if(&, '&', '*')} .e-date-icon-prev::before {
|
|
5
|
+
content: '\e788';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#{if(&, '&', '*')} .e-date-icon-next::before {
|
|
9
|
+
content: '\e789';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//default
|
|
2
|
+
$datepicker-icon: '\e901' !default;
|
|
3
|
+
$datepicker-icon-font-size: 18px !default;
|
|
4
|
+
$datepicker-icon-container-min-height: 18px !default;
|
|
5
|
+
$datepicker-icon-container-min-width: 30px !default;
|
|
6
|
+
$datepicker-bigger-icon-container-min-height: 18px !default;
|
|
7
|
+
$datepicker-bigger-icon-container-min-width: 36px !default;
|
|
8
|
+
$datepicker-bigger-icon-font-size: 22px !default;
|
|
9
|
+
$datepicker-icon-normal-margin: 0 !default;
|
|
10
|
+
$datepicker-icon-bigger-margin: 0 !default;
|
|
11
|
+
$datepicker-icon-border-radius: 50% !default;
|
|
12
|
+
$datepicker-popup-border-radius: 6px !default;
|
|
13
|
+
$datepicker-box-sizing: border-box !default;
|
|
14
|
+
$datepicker-modal-header-display: block !default;
|
|
15
|
+
$datepicker-calendar-tbody-landscape-height: 130px !default;
|
|
16
|
+
$datepicker-popup-bigger-margin-top: 8px !default;
|
|
17
|
+
// mouse small icon
|
|
18
|
+
$datepicker-small-icon-font-size: 16px !default;
|
|
19
|
+
// Touch small icon
|
|
20
|
+
$datepicker-bigger-small-icon-font-size: 20px !default;
|
|
21
|
+
// color variables
|
|
22
|
+
$datepicker-popup-border: 0 solid $border-light !default;
|
|
23
|
+
$datepicker-input-border-style: none !default;
|
|
24
|
+
$datepicker-calendar-border-style: none !default;
|
|
25
|
+
$datepicker-icon-color: $icon-color !default;
|
|
26
|
+
$datepicker-active-icon-color: $datepicker-icon-color !default;
|
|
27
|
+
$datepicker-icon-active-bg-color: $content-bg-color-alt4 !default;
|
|
28
|
+
$datepicker-active-border-color: $border !default;
|
|
29
|
+
$datepicker-popup-box-shadow: $shadow-md !default;
|
|
30
|
+
$datepicker-overlay: $overlay-bg-color !default;
|
|
31
|
+
$datepicker-icon-hover-color: $icon-color-hover !default;
|
|
32
|
+
$datepicker-popup-bg-color: $flyout-bg-color !default;
|
|
33
|
+
$datepicker-othermonth-row: none !default;
|
|
34
|
+
$datepicker-modal-header-bg: $flyout-bg-color !default;
|
|
35
|
+
$datepicker-modal-header-color: $flyout-text-color !default;
|
|
36
|
+
//enddefault
|