@syncfusion/ej2-calendars 24.2.9 → 25.1.35
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 +0 -56
- 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 +39 -7
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +39 -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 +11 -11
- package/src/calendar/calendar.js +3 -3
- package/src/datepicker/datepicker.d.ts +1 -0
- package/src/datepicker/datepicker.js +10 -2
- package/src/daterangepicker/daterangepicker.d.ts +1 -0
- package/src/daterangepicker/daterangepicker.js +8 -0
- package/src/datetimepicker/datetimepicker.js +10 -2
- package/src/timepicker/timepicker.d.ts +1 -0
- package/src/timepicker/timepicker.js +8 -0
- 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/_bds-definition.scss +272 -0
- package/styles/calendar/_bootstrap-definition.scss +1 -1
- package/styles/calendar/_fabric-dark-definition.scss +1 -1
- package/styles/calendar/_fabric-definition.scss +1 -1
- package/styles/calendar/_fluent-definition.scss +2 -2
- package/styles/calendar/_fusionnew-definition.scss +1 -1
- package/styles/calendar/_highcontrast-definition.scss +1 -1
- package/styles/calendar/_material-dark-definition.scss +1 -1
- package/styles/calendar/_tailwind-definition.scss +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 +11 -11
- package/styles/calendar/fluent.css +11 -11
- package/styles/calendar/highcontrast-light.css +1 -1
- package/styles/calendar/highcontrast.css +1 -1
- package/styles/calendar/icons/_bds.scss +13 -0
- 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/datepicker/_bds-definition.scss +105 -0
- package/styles/datepicker/icons/_bds.scss +76 -0
- package/styles/daterangepicker/_bds-definition.scss +294 -0
- package/styles/daterangepicker/icons/_bds.scss +92 -0
- package/styles/datetimepicker/_bds-definition.scss +65 -0
- package/styles/datetimepicker/icons/_bds.scss +11 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +11 -11
- package/styles/fluent.css +11 -11
- 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/styles/timepicker/_bds-definition.scss +84 -0
- package/styles/timepicker/icons/_bds.scss +24 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 25.1.35
|
|
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@18.32.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-y3sv2xeSYao+h+mTZ2QkD2YRP+4xMWn2rEz7D+69J7FQn+awbjZ3ZTpofc8vpYuWKXzzFw3VEa3lcyfBM2Bi/A==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -31,10 +31,10 @@
|
|
|
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-release/@syncfusion/ej2-calendars/-/ej2-calendars-18.32.5.tgz",
|
|
35
|
+
"_shasum": "ded180d700088564059c7a8ed0a9f095c581cf06",
|
|
36
36
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
37
|
-
"_where": "/jenkins/workspace/elease-
|
|
37
|
+
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
38
38
|
"author": {
|
|
39
39
|
"name": "Syncfusion Inc."
|
|
40
40
|
},
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"bundleDependencies": false,
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~
|
|
47
|
-
"@syncfusion/ej2-buttons": "~
|
|
48
|
-
"@syncfusion/ej2-inputs": "~
|
|
49
|
-
"@syncfusion/ej2-lists": "~
|
|
50
|
-
"@syncfusion/ej2-popups": "~
|
|
46
|
+
"@syncfusion/ej2-base": "~25.1.35",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~25.1.35",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~25.1.35",
|
|
49
|
+
"@syncfusion/ej2-lists": "~25.1.35",
|
|
50
|
+
"@syncfusion/ej2-popups": "~25.1.35"
|
|
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": "
|
|
83
|
+
"version": "25.1.35",
|
|
84
84
|
"sideEffects": false
|
|
85
85
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -33,7 +33,7 @@ var DEVICE = 'e-device';
|
|
|
33
33
|
var HEADER = 'e-header';
|
|
34
34
|
var RTL = 'e-rtl';
|
|
35
35
|
var CONTENT = 'e-content';
|
|
36
|
-
var CONTENTTABLE = 'e-
|
|
36
|
+
var CONTENTTABLE = 'e-calendar-content-table';
|
|
37
37
|
var YEAR = 'e-year';
|
|
38
38
|
var MONTH = 'e-month';
|
|
39
39
|
var DECADE = 'e-decade';
|
|
@@ -1243,8 +1243,8 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
1243
1243
|
*/
|
|
1244
1244
|
CalendarBase.prototype.requiredModules = function () {
|
|
1245
1245
|
var modules = [];
|
|
1246
|
-
if (this) {
|
|
1247
|
-
modules.push({ args: [this], member: 'islamic' });
|
|
1246
|
+
if (this.calendarMode === 'Islamic') {
|
|
1247
|
+
modules.push({ args: [this], member: 'islamic', name: 'Islamic' });
|
|
1248
1248
|
}
|
|
1249
1249
|
return modules;
|
|
1250
1250
|
};
|
|
@@ -1201,8 +1201,8 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1201
1201
|
};
|
|
1202
1202
|
DatePicker.prototype.requiredModules = function () {
|
|
1203
1203
|
var modules = [];
|
|
1204
|
-
if (this) {
|
|
1205
|
-
modules.push({ args: [this], member: 'islamic' });
|
|
1204
|
+
if (this.calendarMode === 'Islamic') {
|
|
1205
|
+
modules.push({ args: [this], member: 'islamic', name: 'Islamic' });
|
|
1206
1206
|
}
|
|
1207
1207
|
if (this.enableMask) {
|
|
1208
1208
|
modules.push({ args: [this], member: 'MaskedDateTime' });
|
|
@@ -1478,7 +1478,15 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1478
1478
|
*/
|
|
1479
1479
|
DatePicker.prototype.destroy = function () {
|
|
1480
1480
|
this.unBindEvents();
|
|
1481
|
+
if (this.showClearButton) {
|
|
1482
|
+
this.clearButton = document.getElementsByClassName('e-clear-icon')[0];
|
|
1483
|
+
}
|
|
1481
1484
|
_super.prototype.destroy.call(this);
|
|
1485
|
+
Input.destroy({
|
|
1486
|
+
element: this.inputElement,
|
|
1487
|
+
floatLabelType: this.floatLabelType,
|
|
1488
|
+
properties: this.properties
|
|
1489
|
+
}, this.clearButton);
|
|
1482
1490
|
if (!isNullOrUndefined(this.keyboardModules)) {
|
|
1483
1491
|
this.keyboardModules.destroy();
|
|
1484
1492
|
}
|
|
@@ -173,6 +173,7 @@ export declare class DateRangePicker extends CalendarBase {
|
|
|
173
173
|
protected touchRangeModule: Touch;
|
|
174
174
|
protected touchRangeStart: boolean;
|
|
175
175
|
protected iconRangeRight: string;
|
|
176
|
+
protected clearButton: HTMLElement;
|
|
176
177
|
/**
|
|
177
178
|
* Gets or sets the start and end date of the Calendar.
|
|
178
179
|
* {% codeBlock src='daterangepicker/value/index.md' %}{% endcodeBlock %}
|
|
@@ -3867,6 +3867,9 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3867
3867
|
*/
|
|
3868
3868
|
DateRangePicker.prototype.destroy = function () {
|
|
3869
3869
|
this.unBindEvents();
|
|
3870
|
+
if (this.showClearButton) {
|
|
3871
|
+
this.clearButton = document.getElementsByClassName('e-clear-icon')[0];
|
|
3872
|
+
}
|
|
3870
3873
|
this.hide(null);
|
|
3871
3874
|
var ariaAttrs = {
|
|
3872
3875
|
'tabindex': '0', 'aria-expanded': 'false', 'role': 'combobox',
|
|
@@ -3901,6 +3904,11 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
3901
3904
|
this.clearCalendarEvents();
|
|
3902
3905
|
}
|
|
3903
3906
|
}
|
|
3907
|
+
Input.destroy({
|
|
3908
|
+
element: this.inputElement,
|
|
3909
|
+
floatLabelType: this.floatLabelType,
|
|
3910
|
+
properties: this.properties
|
|
3911
|
+
}, this.clearButton);
|
|
3904
3912
|
_super.prototype.destroy.call(this);
|
|
3905
3913
|
this.inputWrapper = this.popupWrapper = this.popupObj = this.cloneElement = this.presetElement = null;
|
|
3906
3914
|
if (this.formElement) {
|
|
@@ -139,6 +139,9 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
139
139
|
* @returns {void}
|
|
140
140
|
*/
|
|
141
141
|
DateTimePicker.prototype.destroy = function () {
|
|
142
|
+
if (this.showClearButton) {
|
|
143
|
+
this.clearButton = document.getElementsByClassName('e-clear-icon')[0];
|
|
144
|
+
}
|
|
142
145
|
if (this.popupObject && this.popupObject.element.classList.contains(POPUP)) {
|
|
143
146
|
this.popupObject.destroy();
|
|
144
147
|
detach(this.dateTimeWrapper);
|
|
@@ -172,6 +175,11 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
172
175
|
this.popupObject = null;
|
|
173
176
|
this.preventArgs = null;
|
|
174
177
|
this.keyboardModule = null;
|
|
178
|
+
Input.destroy({
|
|
179
|
+
element: this.inputElement,
|
|
180
|
+
floatLabelType: this.floatLabelType,
|
|
181
|
+
properties: this.properties
|
|
182
|
+
}, this.clearButton);
|
|
175
183
|
_super.prototype.destroy.call(this);
|
|
176
184
|
};
|
|
177
185
|
/**
|
|
@@ -1195,8 +1203,8 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
1195
1203
|
};
|
|
1196
1204
|
DateTimePicker.prototype.requiredModules = function () {
|
|
1197
1205
|
var modules = [];
|
|
1198
|
-
if (this) {
|
|
1199
|
-
modules.push({ args: [this], member: 'islamic' });
|
|
1206
|
+
if (this.calendarMode === 'Islamic') {
|
|
1207
|
+
modules.push({ args: [this], member: 'islamic', name: 'Islamic' });
|
|
1200
1208
|
}
|
|
1201
1209
|
if (this.enableMask) {
|
|
1202
1210
|
modules.push(this.maskedDateModule());
|
|
@@ -187,6 +187,7 @@ export declare class TimePicker extends Component<HTMLElement> implements IInput
|
|
|
187
187
|
protected preventChange: boolean;
|
|
188
188
|
protected maskedDateValue: string;
|
|
189
189
|
protected moduleName: string;
|
|
190
|
+
protected clearButton: HTMLElement;
|
|
190
191
|
/**
|
|
191
192
|
* Gets or sets the width of the TimePicker component. The width of the popup is based on the width of the component.
|
|
192
193
|
*
|
|
@@ -470,6 +470,9 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
470
470
|
// destroy function
|
|
471
471
|
TimePicker.prototype.destroy = function () {
|
|
472
472
|
this.hide();
|
|
473
|
+
if (this.showClearButton) {
|
|
474
|
+
this.clearButton = document.getElementsByClassName('e-clear-icon')[0];
|
|
475
|
+
}
|
|
473
476
|
this.unBindEvents();
|
|
474
477
|
var ariaAttribute = {
|
|
475
478
|
'aria-autocomplete': 'list', 'tabindex': '0',
|
|
@@ -503,6 +506,11 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
503
506
|
if (!isNullOrUndefined(this.rippleFn)) {
|
|
504
507
|
this.rippleFn();
|
|
505
508
|
}
|
|
509
|
+
Input.destroy({
|
|
510
|
+
element: this.inputElement,
|
|
511
|
+
floatLabelType: this.floatLabelType,
|
|
512
|
+
properties: this.properties
|
|
513
|
+
}, this.clearButton);
|
|
506
514
|
_super.prototype.destroy.call(this);
|
|
507
515
|
if (this.formElement) {
|
|
508
516
|
EventHandler.remove(this.formElement, 'reset', this.formResetHandler);
|
|
@@ -842,7 +842,7 @@ ejs-calendar {
|
|
|
842
842
|
transform: scale(1);
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
845
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
846
846
|
box-shadow: 0 0 0 1px #fff;
|
|
847
847
|
border-radius: 4px;
|
|
848
848
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -843,7 +843,7 @@ ejs-calendar {
|
|
|
843
843
|
transform: scale(1);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
846
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
847
847
|
box-shadow: 0 0 0 1px #000;
|
|
848
848
|
border-radius: 4px;
|
|
849
849
|
}
|
package/styles/bootstrap4.css
CHANGED
|
@@ -843,7 +843,7 @@ ejs-calendar {
|
|
|
843
843
|
transform: scale(1);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
846
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
847
847
|
box-shadow: 0 0 0 1px #212529;
|
|
848
848
|
border-radius: 4px;
|
|
849
849
|
}
|
|
@@ -913,7 +913,7 @@ ejs-calendar {
|
|
|
913
913
|
color: rgba(255, 255, 255, 0.65);
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
916
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
917
917
|
box-shadow: 0 0 0 1px #7b848d;
|
|
918
918
|
border-radius: 4px;
|
|
919
919
|
}
|
package/styles/bootstrap5.css
CHANGED
|
@@ -913,7 +913,7 @@ ejs-calendar {
|
|
|
913
913
|
color: rgba(255, 255, 255, 0.65);
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
916
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
917
917
|
box-shadow: 0 0 0 1px #6c757d;
|
|
918
918
|
border-radius: 4px;
|
|
919
919
|
}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
/*! calendar theme variables */
|
|
2
|
+
//month view
|
|
3
|
+
$calendar-normal-month-view-height: 32px !default;
|
|
4
|
+
$calendar-normal-month-view-line-height: $calendar-normal-month-view-height !default;
|
|
5
|
+
$calendar-bigger-small-month-view-height: 36px !default;
|
|
6
|
+
$calendar-bigger-small-month-view-width: 36px !default;
|
|
7
|
+
$calendar-bigger-small-month-view-line-height: $calendar-bigger-small-month-view-height !default;
|
|
8
|
+
$calendar-normal-month-view-width: 32px !default;
|
|
9
|
+
$calendar-normal-month-cell-padding: 0 !default;
|
|
10
|
+
$calendar-bigger-table-month-padding: 0 4px 6px 4px !default;
|
|
11
|
+
$calendar-bigger-month-font-size: $text-sm !default;
|
|
12
|
+
$calendar-bigger-month-view-padding: 0 !default;
|
|
13
|
+
$calendar-bigger-month-view-height: 40px !default;
|
|
14
|
+
$calendar-bigger-month-view-line-height: $calendar-bigger-month-view-height !default;
|
|
15
|
+
$calendar-bigger-month-view-width: 40px !default;
|
|
16
|
+
|
|
17
|
+
//header dimension
|
|
18
|
+
$calendar-header-font-size: $text-xs !default;
|
|
19
|
+
$calendar-header-title-padding: 0 5px !default;
|
|
20
|
+
|
|
21
|
+
$calendar-bigger-day-header-height: $calendar-bigger-month-view-height !default;
|
|
22
|
+
$calendar-bigger-header-height: 28px !default;
|
|
23
|
+
|
|
24
|
+
$calendar-normal-day-header-height: $calendar-normal-month-view-height !default;
|
|
25
|
+
$calendar-bigger-small-day-header-height: $calendar-bigger-small-month-view-height !default;
|
|
26
|
+
$calendar-normal-day-header-text: uppercase !default;
|
|
27
|
+
$calendar-normal-header-height: 24px !default;
|
|
28
|
+
$calendar-bigger-header-font-size: $text-base !default;
|
|
29
|
+
$calendar-normal-day-header-font-weight: $font-weight-medium !default;
|
|
30
|
+
$calendar-title-font-size: $text-base !default;
|
|
31
|
+
$calendar-title-margin-left-style: 0 !default;
|
|
32
|
+
$calendar-title-font-weight-style: $font-weight-medium !default;
|
|
33
|
+
$calendar-title-decoration-style: none !default;
|
|
34
|
+
|
|
35
|
+
$calendar-normal-header-padding: 8px 12px 6px 16px !default;
|
|
36
|
+
$calendar-bigger-header-padding: 16px 16px 8px 24px !default;
|
|
37
|
+
$calendar-small-header-padding: 8px 8px 6px 12px !default;
|
|
38
|
+
$calendar-bigger-small-header-padding: 8px 12px 6px 20px !default;
|
|
39
|
+
|
|
40
|
+
// common size properties
|
|
41
|
+
$calendar-wrapper-border-radius: 8px !default;
|
|
42
|
+
$calendar-full-width: 100% !default;
|
|
43
|
+
$calendar-lg-day-header-format-max-width: 100% !default;
|
|
44
|
+
$calendar-lg-day-header-format-min-width: 540px !default;
|
|
45
|
+
$calendar-icon-padding-top: 0 !default;
|
|
46
|
+
$calendar-zero-value: 0 !default;
|
|
47
|
+
$calendar-disable-opacity: 1 !default;
|
|
48
|
+
|
|
49
|
+
//popup styles
|
|
50
|
+
$calendar-small-max-width: 212px !default;
|
|
51
|
+
$calendar-small-min-width: 212px !default;
|
|
52
|
+
$calendar-normal-max-width: 230px !default;
|
|
53
|
+
$calendar-normal-min-width: 230px !default;
|
|
54
|
+
$calendar-bigger-max-width: 312px !default;
|
|
55
|
+
$calendar-bigger-min-width: 312px !default;
|
|
56
|
+
$calendar-bigger-small-max-width: 276px !default;
|
|
57
|
+
$calendar-bigger-small-min-width: 276px !default;
|
|
58
|
+
$calendar-weeknumber-min-width: 262px !default;
|
|
59
|
+
$calendar-weeknumber-bigger-width: 328px !default;
|
|
60
|
+
$calendar-popup-padding: 0 !default;
|
|
61
|
+
$calendar-popup-bigger-padding: 0 !default;
|
|
62
|
+
|
|
63
|
+
// today button
|
|
64
|
+
$calendar-bigger-today-button-height: 40px !default;
|
|
65
|
+
$calendar-normal-today-button-height: 32px !default;
|
|
66
|
+
|
|
67
|
+
// year decade view
|
|
68
|
+
//dimension
|
|
69
|
+
$calendar-normal-year-decade-height: 50px !default;
|
|
70
|
+
$calendar-normal-year-decade-width: 50px !default;
|
|
71
|
+
$calendar-small-year-decade-height: 42px !default;
|
|
72
|
+
$calendar-small-year-decade-width: 42px !default;
|
|
73
|
+
$calendar-normal-year-decade-padding: 0 !default;
|
|
74
|
+
$calendar-yeardeacde-span-padding: 0 !default;
|
|
75
|
+
$calendar-yeardecade-padding: 0 8px 8px 8px !default;
|
|
76
|
+
$calendar-bigger-year-decade-padding: 0 !default;
|
|
77
|
+
$calendar-bigger-yeardecade-font-size: $calendar-bigger-month-font-size !default;
|
|
78
|
+
$calendar-bigger-table-yeardecade-padding: 0 16px 16px !default;
|
|
79
|
+
$calendar-bigger-yeardecade-font-weight: $font-weight-normal !default;
|
|
80
|
+
$calendar-yeardecade-font-weight: $font-weight-normal !default;
|
|
81
|
+
$calendar-bigger-year-decade-height: 60px !default;
|
|
82
|
+
$calendar-bigger-year-decade-width: 60px !default;
|
|
83
|
+
$calendar-yeardecade-header-padding: 8px 12px 6px 16px !default;
|
|
84
|
+
$calendar-bigger-yeardecade-header-padding: 16px 16px 8px 24px !default;
|
|
85
|
+
$calendar-decade-title-left-margin-style: 0 !default;
|
|
86
|
+
|
|
87
|
+
// table related styles
|
|
88
|
+
$calendar-table-padding: 0 8px 8px 8px !default;
|
|
89
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
90
|
+
|
|
91
|
+
//font icons
|
|
92
|
+
$calendar-prev-icon: '\e910' !default;
|
|
93
|
+
$calendar-next-icon: '\e916' !default;
|
|
94
|
+
$calendar-next-prev-icon-size: 14px !default;
|
|
95
|
+
$calendar-icon-line-height: 16px !default;
|
|
96
|
+
$calendar-bigger-icon-size: 28px !default;
|
|
97
|
+
$calendar-normal-icon-size: 24px !default;
|
|
98
|
+
$calendar-spanicon-font-weight-style: $font-weight-normal !default;
|
|
99
|
+
|
|
100
|
+
$calendar-normal-down-icon-margin: 0 8px !default;
|
|
101
|
+
$calendar-bigger-down-icon-margin: 0 12px !default;
|
|
102
|
+
$calendar-bigger-small-down-icon-margin: 0 10px !default;
|
|
103
|
+
$calendar-small-down-icon-margin: 0 8px !default;
|
|
104
|
+
|
|
105
|
+
//pending
|
|
106
|
+
$calendar-icon-font-size-style: $font-icon-20 !default;
|
|
107
|
+
$calendar-bigger-icon-font-size: $font-icon-24 !default;
|
|
108
|
+
$calendar-footer-container-padding: 8px 8px !default;
|
|
109
|
+
$calendar-bigger-footer-container-padding: 12px 16px !default;
|
|
110
|
+
$calendar-small-footer-container-padding: 4px !default;
|
|
111
|
+
$calendar-bigger-small-footer-container-padding: 10px 12px !default;
|
|
112
|
+
|
|
113
|
+
// small size
|
|
114
|
+
$calendar-small-icon-size: 24px !default;
|
|
115
|
+
$calendar-small-icon-font-size-style: $font-icon-18 !default;
|
|
116
|
+
$calendar-small-title-font-size: $text-sm !default;
|
|
117
|
+
$calendar-small-icon-padding: 0 !default;
|
|
118
|
+
$calendar-small-header-height: 24px !default;
|
|
119
|
+
$calendar-small-day-header-height: 24px !default;
|
|
120
|
+
$calendar-small-month-view-height: 26px !default;
|
|
121
|
+
$calendar-small-month-view-line-height: $calendar-small-month-view-height !default;
|
|
122
|
+
$calendar-small-date-font-size: $text-xs !default;
|
|
123
|
+
$calendar-small-month-view-width: 26px !default;
|
|
124
|
+
$calendar-small-popup-padding: 0 !default;
|
|
125
|
+
$calendar-small-table-padding: 0 4px 4px 4px !default;
|
|
126
|
+
$calendar-bigger-small-table-padding: 0 12px 12px 12px !default;
|
|
127
|
+
$calendar-bigger-small-yeardecade-font-size: 14px !default;
|
|
128
|
+
$calendar-small-font-size: $text-xs !default;
|
|
129
|
+
|
|
130
|
+
//week number
|
|
131
|
+
$calendar-week-number-font-size-style: $text-sm !default;
|
|
132
|
+
$calendar-week-normal-max-width: 294px !default;
|
|
133
|
+
$calendar-week-normal-min-width: 288px !default;
|
|
134
|
+
$calendar-week-bigger-max-width: 344px !default;
|
|
135
|
+
$calendar-week-bigger-min-width: 312px !default;
|
|
136
|
+
$calendar-icon-padding: 0 !default;
|
|
137
|
+
$calendar-icon-button-margin: 0 !default;
|
|
138
|
+
$calendar-bigger-icon-padding: 0 !default;
|
|
139
|
+
$calendar-bigger-icon-margin: 0 !default;
|
|
140
|
+
|
|
141
|
+
//thead style
|
|
142
|
+
$calendar-thead-padding: 0 0 6px !default;
|
|
143
|
+
|
|
144
|
+
// common styles
|
|
145
|
+
$calendar-none-style: none !default;
|
|
146
|
+
$calendar-cursor-default-style: default !default;
|
|
147
|
+
$calendar-cursor-pointer-style: pointer !default;
|
|
148
|
+
$calendar-block-style: block !default;
|
|
149
|
+
$calendar-inline-block-style: inline-block !default;
|
|
150
|
+
$calendar-display-style: flex !default;
|
|
151
|
+
$calendar-pointer-events: initial !default;
|
|
152
|
+
$calendar-float-right-style: right !default;
|
|
153
|
+
$calendar-float-left-style: left !default;
|
|
154
|
+
$calendar-other-month-display-style: inline-block !default;
|
|
155
|
+
$calendar-other-month-row-display-style: none !default;
|
|
156
|
+
$calendar-footer-border: none !default;
|
|
157
|
+
$calendar-bigger-footer-border: none !default;
|
|
158
|
+
$calendar-week-number-font-style: italic !default;
|
|
159
|
+
|
|
160
|
+
//dimension
|
|
161
|
+
$calendar-date-font-size: $text-sm !default;
|
|
162
|
+
$calendar-bigger-day-font-size: $text-sm !default;
|
|
163
|
+
$calendar-link-font-weight-style: $font-weight-normal !default;
|
|
164
|
+
$calendar-disable-font-weight-style: $font-weight-normal !default;
|
|
165
|
+
$calendar-border-radius: 30px !default;
|
|
166
|
+
|
|
167
|
+
//week header font size
|
|
168
|
+
$calendar-bigger-week-header-font-size: $text-sm !default;
|
|
169
|
+
|
|
170
|
+
//header color
|
|
171
|
+
$calendar-header-font-color: $content-text-color-alt1 !default;
|
|
172
|
+
$calendar-header-icon-color: $icon-color !default;
|
|
173
|
+
$calendar-title-font-color: $content-text-color-alt1 !default;
|
|
174
|
+
$calendar-icon-font-color: $content-text-color-alt1 !default;
|
|
175
|
+
$calendar-active-icon-color: $icon-color-pressed !default;
|
|
176
|
+
$calendar-title-hover-color: $content-text-color !default;
|
|
177
|
+
$calendar-icon-hover-color: $content-text-color-alt1 !default;
|
|
178
|
+
$calendar-icon-hover-bg-color: transparent !default;
|
|
179
|
+
$calendar-default-border-color: none !default;
|
|
180
|
+
$calendar-icon-hover-border-color: $content-bg-color-hover !default;
|
|
181
|
+
$calendar-device-icon-hover-bg-color: none !default;
|
|
182
|
+
$calendar-active-state-icon-bg-color: transparent !default;
|
|
183
|
+
|
|
184
|
+
//popup styles
|
|
185
|
+
$calendar-border-style: 1px solid $border-light !default;
|
|
186
|
+
$calendar-bg-color: $flyout-bg-color !default;
|
|
187
|
+
$calendar-box-shadow: $shadow-sm !default;
|
|
188
|
+
|
|
189
|
+
// year decade view
|
|
190
|
+
//color
|
|
191
|
+
$calendar-yeardecade-bg-color: none !default;
|
|
192
|
+
$calendar-yeardecade-hover-bg: $content-bg-color-hover !default;
|
|
193
|
+
$calendar-yeardecade-selected-hover-bg: $content-bg-color-hover !default;
|
|
194
|
+
|
|
195
|
+
//decade view color
|
|
196
|
+
$calendar-other-decade-cell-color: $content-text-color-alt2 !default;
|
|
197
|
+
|
|
198
|
+
// end year decade
|
|
199
|
+
//other months
|
|
200
|
+
$calendar-other-month-date: $content-text-color-alt2 !default;
|
|
201
|
+
$calendar-other-month-date-hover-bg: $calendar-other-month-date !default;
|
|
202
|
+
|
|
203
|
+
// td styles
|
|
204
|
+
//color
|
|
205
|
+
$calendar-light-font: $content-text-color-alt1 !default;
|
|
206
|
+
$calendar-active-font-color: $primary-text-color !default;
|
|
207
|
+
$calendar-active-hover-font-color: $primary !default;
|
|
208
|
+
$calendar-active-today-font-color: $primary !default;
|
|
209
|
+
$calendar-active-today-hover-font-color: $primary !default;
|
|
210
|
+
$calendar-active-bg-color: $primary-bg-color !default;
|
|
211
|
+
$calendar-active-bg-box-shadow: inset 1px 0 $primary-bg-color, inset 0 1px $primary-bg-color, inset -1px 0 $primary-bg-color, inset 0 -1px $primary-bg-color !default;
|
|
212
|
+
$calendar-active-bg-border-color: none !default;
|
|
213
|
+
$calendar-active-hover-bg-color: $content-bg-color-selected !default;
|
|
214
|
+
$calendar-hover-color: $content-bg-color-hover !default;
|
|
215
|
+
$calendar-text-color: $content-text-color-alt1 !default;
|
|
216
|
+
$calendar-hover-text: $calendar-text-color !default;
|
|
217
|
+
$calendar-focus-bg-color: $content-bg-color-hover !default;
|
|
218
|
+
$calendar-focused-today-bg-style: $content-bg-color-hover !default;
|
|
219
|
+
$calendar-focused-today-box-shadow: inset 1px 0 $primary-bg-color, inset 0 1px $primary-bg-color, inset -1px 0 $primary-bg-color, inset 0 -1px $primary-bg-color !default;
|
|
220
|
+
$calendar-focused-today-border-style: none !default;
|
|
221
|
+
$calendar-focus-box-shadow: none !default;
|
|
222
|
+
$calendar-focus-border-color: none !default;
|
|
223
|
+
$calendar-hover-border-color: none !default;
|
|
224
|
+
$calendar-disable-font-color: $content-text-color-disabled !default;
|
|
225
|
+
$calendar-focused-date-bg-style: $content-bg-color-pressed !default;
|
|
226
|
+
$calendar-small-title-font-color: $content-text-color-alt1 !default;
|
|
227
|
+
$calendar-title-border-radius: 4px !default;
|
|
228
|
+
$calendar-title-focus-box-shadow: 0 0 0 1px $content-text-color-alt3 !default;
|
|
229
|
+
$calendar-title-focus-background: none !default;
|
|
230
|
+
$calendar-title-active-background: none !default;
|
|
231
|
+
$calendar-icon-focus-box-shadow: 0 0 0 1px $content-text-color-alt3 !default;
|
|
232
|
+
$calendar-title-border-radius: 4px !default;
|
|
233
|
+
$calendar-title-hover-bg-color: none !default;
|
|
234
|
+
$calendar-focused-cell-box-shadow: 0 0 0 1px $content-text-color-alt3 !default;
|
|
235
|
+
|
|
236
|
+
// end td styles
|
|
237
|
+
|
|
238
|
+
//today date
|
|
239
|
+
$calendar-today-bg-style: none !default;
|
|
240
|
+
$calendar-today-bg-hover-color: $content-bg-color-alt1 !default;
|
|
241
|
+
$calendar-today-box-shadow: inset 1px 0 $primary-bg-color, inset 0 1px $primary-bg-color, inset -1px 0 $primary-bg-color, inset 0 -1px $primary-bg-color !default;
|
|
242
|
+
$calendar-today-border-color: none !default;
|
|
243
|
+
$calendar-selected-border-color: none !default;
|
|
244
|
+
|
|
245
|
+
//pending
|
|
246
|
+
$calendar-today-color: $primary !default;
|
|
247
|
+
$calendar-today-focused-font-color: $content-text-color-alt1 !default;
|
|
248
|
+
$calendar-today-focus-color: $content-text-color-alt1 !default;
|
|
249
|
+
|
|
250
|
+
//week header
|
|
251
|
+
$calendar-week-header-font-color: $content-text-color-alt2 !default;
|
|
252
|
+
$calendar-week-header-bg-style: none !default;
|
|
253
|
+
|
|
254
|
+
//week number
|
|
255
|
+
$calendar-week-number-color-style: $content-text-color-disabled !default;
|
|
256
|
+
$calendar-week-number-font-color: $calendar-text-color !default;
|
|
257
|
+
|
|
258
|
+
//today button
|
|
259
|
+
$calendar-footer-background: $content-bg-color-alt1 !default;
|
|
260
|
+
$calendar-today-disabled-background-style: $content-bg-color-alt1 !default;
|
|
261
|
+
$calendar-today-disabled-border-style: $content-text-color-disabled !default;
|
|
262
|
+
$calendar-today-disabled-box-shadow: none !default;
|
|
263
|
+
$calendar-today-disabled-color: $content-text-color-disabled !default;
|
|
264
|
+
$calendar-week-number-font-weight: $font-weight-medium !default;
|
|
265
|
+
|
|
266
|
+
// Today primary button custom styling
|
|
267
|
+
$calendar-today-btn-primary-bgcolor: $primary-bg-color !default;
|
|
268
|
+
$calendar-today-btn-primary-border-color: $primary-border-color !default;
|
|
269
|
+
$calendar-today-btn-primary-color: $primary-text-color !default;
|
|
270
|
+
$calendar-today-btn-primary-disabled-bgcolor: $primary-bg-color-disabled !default;
|
|
271
|
+
$calendar-today-btn-primary-disabled-color: $primary-text-disabled !default;
|
|
272
|
+
$calendar-today-btn-primary-disabled-border-color: $primary-border-color-disabled !default;
|
|
@@ -29,7 +29,7 @@ $calendar-title-font-weight-style: 600 !default;
|
|
|
29
29
|
$calendar-title-decoration-style: none !default;
|
|
30
30
|
$calendar-header-title-padding: 0 5px !default;
|
|
31
31
|
|
|
32
|
-
//
|
|
32
|
+
//Focus related styles
|
|
33
33
|
$calendar-title-focus-box-shadow: 0 0 0 1px $gray-base !default;
|
|
34
34
|
$calendar-title-focus-background: none !default;
|
|
35
35
|
$calendar-title-active-background: none !default;
|
|
@@ -170,7 +170,7 @@ $calendar-today-disabled-box-shadow: none !default;
|
|
|
170
170
|
$calendar-today-disabled-color: $neutral-tertiary-alt !default;
|
|
171
171
|
$calendar-week-number-font-weight: 500 !default;
|
|
172
172
|
|
|
173
|
-
//
|
|
173
|
+
//Focus related styles
|
|
174
174
|
$calendar-title-focus-box-shadow: 0 0 0 1px $neutral-lighter !default;
|
|
175
175
|
$calendar-title-focus-background: none !default;
|
|
176
176
|
$calendar-title-active-background: none !default;
|
|
@@ -159,7 +159,7 @@ $calendar-bigger-icon-margin: 0 !default;
|
|
|
159
159
|
$calendar-selected-border-color: none !default;
|
|
160
160
|
$calendar-week-number-font-weight: 500 !default;
|
|
161
161
|
|
|
162
|
-
//
|
|
162
|
+
//Focus related styles
|
|
163
163
|
$calendar-title-focus-box-shadow: 0 0 0 1px $neutral-black !default;
|
|
164
164
|
$calendar-title-focus-background: none !default;
|
|
165
165
|
$calendar-title-active-background: none !default;
|
|
@@ -28,7 +28,7 @@ $calendar-title-font-weight-style: $font-weight-medium !default;
|
|
|
28
28
|
$calendar-title-decoration-style: none !default;
|
|
29
29
|
$calendar-header-title-padding: 0 5px !default;
|
|
30
30
|
|
|
31
|
-
//
|
|
31
|
+
//Focus related styles
|
|
32
32
|
$calendar-title-focus-box-shadow: 0 0 0 1px $content-text-color-alt3 !default;
|
|
33
33
|
$calendar-title-focus-background: none !default;
|
|
34
34
|
$calendar-title-active-background: $secondary-bg-color-hover !default;
|
|
@@ -151,7 +151,7 @@ $calendar-date-font-size: $text-xs !default;
|
|
|
151
151
|
$calendar-bigger-day-font-size: $text-base !default;
|
|
152
152
|
$calendar-link-font-weight-style: $font-weight-normal !default;
|
|
153
153
|
$calendar-disable-font-weight-style: $font-weight-normal !default;
|
|
154
|
-
$calendar-border-radius:
|
|
154
|
+
$calendar-border-radius: 0 !default;
|
|
155
155
|
|
|
156
156
|
//week header font size
|
|
157
157
|
$calendar-bigger-week-header-font-size: $text-sm !default;
|
|
@@ -28,7 +28,7 @@ $calendar-title-font-weight-style: 600 !default;
|
|
|
28
28
|
$calendar-title-decoration-style: none !default;
|
|
29
29
|
$calendar-header-title-padding: 0 5px !default;
|
|
30
30
|
|
|
31
|
-
//
|
|
31
|
+
//Focus related styles
|
|
32
32
|
$calendar-title-focus-box-shadow: 0 0 0 1px $secondary-bg-color-hover !default;
|
|
33
33
|
$calendar-title-focus-background: none !default;
|
|
34
34
|
$calendar-title-active-background: $secondary-bg-color-hover !default;
|
|
@@ -158,7 +158,7 @@ $calendar-selected-border-color: 1px solid $selection-bg !default;
|
|
|
158
158
|
$calendar-week-number-font-weight: 500 !default;
|
|
159
159
|
$calendar-header-title-padding: 0 5px !default;
|
|
160
160
|
|
|
161
|
-
//
|
|
161
|
+
//Focus related styles
|
|
162
162
|
$calendar-title-focus-box-shadow: 0 0 0 1px $bg-base-100 !default;
|
|
163
163
|
$calendar-title-focus-background: none !default;
|
|
164
164
|
$calendar-title-active-background: $calendar-bg-color !default;
|
|
@@ -71,7 +71,7 @@ $calendar-float-right-style: right !default;
|
|
|
71
71
|
$calendar-icon-padding-top: 0 !default;
|
|
72
72
|
$calendar-header-title-padding: 0 5px !default;
|
|
73
73
|
|
|
74
|
-
//
|
|
74
|
+
//Focus related styles
|
|
75
75
|
$calendar-title-focus-box-shadow: 0 0 0 1px $grey-white !default;
|
|
76
76
|
$calendar-title-focus-background: none !default;
|
|
77
77
|
$calendar-title-active-background: none !default;
|
|
@@ -14,7 +14,7 @@ $calendar-bigger-month-view-height: 36px !default;
|
|
|
14
14
|
$calendar-bigger-month-view-line-height: $calendar-bigger-month-view-height !default;
|
|
15
15
|
$calendar-bigger-month-view-width: 36px !default;
|
|
16
16
|
|
|
17
|
-
//
|
|
17
|
+
//Focus related styles
|
|
18
18
|
$calendar-title-focus-box-shadow: 0 0 0 1px $content-text-color-alt3 !default;
|
|
19
19
|
$calendar-title-focus-background: none !default;
|
|
20
20
|
$calendar-title-active-background: none !default;
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
color: $calendar-today-disabled-color;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
551
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
552
552
|
box-shadow: $calendar-focused-cell-box-shadow;
|
|
553
553
|
border-radius: $calendar-border-radius;
|
|
554
554
|
}
|
|
@@ -842,7 +842,7 @@ ejs-calendar {
|
|
|
842
842
|
transform: scale(1);
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
845
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
846
846
|
box-shadow: 0 0 0 1px #fff;
|
|
847
847
|
border-radius: 4px;
|
|
848
848
|
}
|
|
@@ -843,7 +843,7 @@ ejs-calendar {
|
|
|
843
843
|
transform: scale(1);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
.e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
|
|
846
|
+
.e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
|
|
847
847
|
box-shadow: 0 0 0 1px #000;
|
|
848
848
|
border-radius: 4px;
|
|
849
849
|
}
|