@syncfusion/ej2-calendars 20.2.36 → 20.2.43

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.36
3
+ * version : 20.2.43
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@18.29.2",
3
+ "_id": "@syncfusion/ej2-calendars@20.2.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-MuOL7C9+HqtHwhH084J+MsNyH34ido8mHtAQEsIdTZWbwuj/tg5YxhC8PCPszG4z8/YZHhdDMRuFpatB+mGG+g==",
5
+ "_integrity": "sha512-YQI158Ua9My8CuQw3U0/vE1Z3pVjDfdGJUEoGhjVRPLCj5gLF/g79LAjk15tVUwokIvFu5U+5AHJHmfhnEMq0Q==",
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-release/@syncfusion/ej2-calendars/-/ej2-calendars-18.29.2.tgz",
36
- "_shasum": "d6b8c311d201d00f8322939e0acb955093667213",
35
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-20.2.40.tgz",
36
+ "_shasum": "f091606efa7fb03d7527d1e92047f06a209757e7",
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": "~20.2.36",
48
- "@syncfusion/ej2-buttons": "~20.2.36",
49
- "@syncfusion/ej2-inputs": "~20.2.36",
50
- "@syncfusion/ej2-lists": "~20.2.36",
51
- "@syncfusion/ej2-popups": "~20.2.36"
47
+ "@syncfusion/ej2-base": "~20.2.43",
48
+ "@syncfusion/ej2-buttons": "~20.2.43",
49
+ "@syncfusion/ej2-inputs": "~20.2.43",
50
+ "@syncfusion/ej2-lists": "~20.2.43",
51
+ "@syncfusion/ej2-popups": "~20.2.43"
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": "20.2.36",
84
+ "version": "20.2.43",
85
85
  "sideEffects": false
86
86
  }
@@ -44,8 +44,11 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
44
44
  protected navigateNextHandler: Function;
45
45
  protected l10: L10n;
46
46
  protected todayDisabled: boolean;
47
+ protected nextIconClicked: boolean;
48
+ protected previousIconClicked: boolean;
47
49
  protected tabIndex: string;
48
50
  protected todayDate: Date;
51
+ protected islamicPreviousHeader: any;
49
52
  protected calendarElement: HTMLElement;
50
53
  protected isPopupClicked: boolean;
51
54
  protected isDateSelected: boolean;
@@ -1095,6 +1095,7 @@ var CalendarBase = /** @class */ (function (_super) {
1095
1095
  this.currentDate.setFullYear(d.getFullYear());
1096
1096
  }
1097
1097
  else {
1098
+ this.islamicPreviousHeader = this.headerElement.textContent;
1098
1099
  var islamicDate = this.islamicModule.getIslamicDate(d);
1099
1100
  this.currentDate = this.islamicModule.toGregorian(islamicDate.year, islamicDate.month, 1);
1100
1101
  }
@@ -201,6 +201,8 @@ var Islamic = /** @class */ (function () {
201
201
  this.calendarInstance.switchView(view);
202
202
  break;
203
203
  case 'Decade':
204
+ this.calendarInstance.nextIconClicked = true;
205
+ islamicDate.year = islamicDate.year - this.calendarInstance.headerElement.textContent.split('-')[0].trim() === 1 ? islamicDate.year + 1 : islamicDate.year;
204
206
  this.calendarInstance.currentDate = this.toGregorian(islamicDate.year + 10, islamicDate.month, 1);
205
207
  this.calendarInstance.switchView(view);
206
208
  break;
@@ -220,6 +222,7 @@ var Islamic = /** @class */ (function () {
220
222
  this.calendarInstance.switchView(currentView);
221
223
  break;
222
224
  case 'Decade':
225
+ this.calendarInstance.previousIconClicked = true;
223
226
  this.calendarInstance.currentDate = this.toGregorian(islamicDate.year - 10, islamicDate.month - 1, 1);
224
227
  this.calendarInstance.switchView(currentView);
225
228
  break;
@@ -289,43 +292,93 @@ var Islamic = /** @class */ (function () {
289
292
  var endFullYr = endYr.getFullYear();
290
293
  var startHdrYr = this.calendarInstance.globalize.formatDate(startYr, { type: 'dateTime', format: 'y', calendar: 'islamic' });
291
294
  var endHdrYr = this.calendarInstance.globalize.formatDate(endYr, { type: 'dateTime', format: 'y', calendar: 'islamic' });
295
+ if (this.calendarInstance.islamicPreviousHeader) {
296
+ startHdrYr = this.calendarInstance.islamicPreviousHeader.split('-')[0].trim();
297
+ endHdrYr = this.calendarInstance.islamicPreviousHeader.split('-')[1].trim();
298
+ this.calendarInstance.islamicPreviousHeader = null;
299
+ }
300
+ var splityear = this.calendarInstance.headerElement.textContent.split('-');
301
+ if (this.calendarInstance.previousIconClicked) {
302
+ for (var i = 0; i <= splityear.length; i++) {
303
+ endHdrYr = endHdrYr - splityear[i] === 2 || splityear[i] - endHdrYr === 2 ? (parseInt(endHdrYr) + 1).toString() : endHdrYr - splityear[i] === 3 || splityear[i] - endHdrYr === 3 ? (parseInt(endHdrYr) + 2).toString() : endHdrYr - splityear[i] === 4 || splityear[i] - endHdrYr === 4 ? (parseInt(endHdrYr) + 3).toString() : endHdrYr - splityear[i] === 5 || splityear[i] - endHdrYr === 5 ? (parseInt(endHdrYr) + 4).toString() : endHdrYr;
304
+ if (endHdrYr - splityear[i] === 0 || splityear[i] - endHdrYr === 0) {
305
+ endHdrYr = (parseInt(endHdrYr) - 1).toString();
306
+ }
307
+ }
308
+ startHdrYr = endHdrYr - startHdrYr === 10
309
+ ? (parseInt(startHdrYr) + 1).toString() : endHdrYr - startHdrYr === 11
310
+ ? (parseInt(startHdrYr) + 2).toString() : endHdrYr - startHdrYr === 12
311
+ ? (parseInt(startHdrYr) + 3).toString() : startHdrYr;
312
+ startHdrYr = endHdrYr - startHdrYr === 8 ? (parseInt(startHdrYr) - 1).toString() : startHdrYr;
313
+ }
314
+ if (this.calendarInstance.nextIconClicked) {
315
+ for (var i = 0; i <= splityear.length; i++) {
316
+ if (startHdrYr - splityear[i] === 0 || splityear[i] - startHdrYr === 0) {
317
+ startHdrYr = (parseInt(startHdrYr) + 1).toString();
318
+ }
319
+ if (startHdrYr - splityear[i] === 2 && startHdrYr > splityear[i].trim()) {
320
+ startHdrYr = (parseInt(startHdrYr) - 1).toString();
321
+ }
322
+ if (splityear[i] - startHdrYr === 1 && startHdrYr < splityear[i].trim()) {
323
+ startHdrYr = (parseInt(startHdrYr) + 2).toString();
324
+ }
325
+ }
326
+ endHdrYr = endHdrYr - startHdrYr === 10 ? (parseInt(endHdrYr) - 1).toString() : endHdrYr;
327
+ endHdrYr = endHdrYr - startHdrYr === 7
328
+ ? (parseInt(endHdrYr) + 2).toString() : endHdrYr - startHdrYr === 8
329
+ ? (parseInt(endHdrYr) + 1).toString() : endHdrYr;
330
+ }
292
331
  this.calendarInstance.headerTitleElement.textContent = startHdrYr + ' - ' + (endHdrYr);
293
- var start = new Date(localYr - (localYr % 10) - 2, 0, 1);
294
- var startYear = start.getFullYear();
332
+ this.calendarInstance.nextIconClicked = this.calendarInstance.previousIconClicked = false;
333
+ var year = (parseInt(startHdrYr) - 2).toString();
334
+ startFullYr = Math.round(parseInt(startHdrYr) * 0.97 + 622);
335
+ endFullYr = Math.round(parseInt(endHdrYr) * 0.97 + 622);
336
+ var startYear = Math.round(parseInt(year) * 0.97 + 622);
295
337
  for (var rowCount = 1; rowCount <= yearCell; ++rowCount) {
296
- var year = startYear + rowCount;
297
- localDate.setFullYear(year);
338
+ var year_1 = startYear + rowCount;
339
+ localDate.setFullYear(year_1);
298
340
  localDate.setDate(1);
299
341
  localDate.setMonth(0);
300
- var islamicDate_2 = this.getIslamicDate(localDate);
301
- var gregorianObject_2 = HijriParser.toGregorian(islamicDate_2.year, 1, 1);
302
- localDate = gregorianObject_2;
303
- var tdEle = this.islamicDayCell(localDate);
304
- attributes(tdEle, { 'role': 'gridcell' });
305
- var dayLink = this.calendarInstance.createElement('span');
306
- dayLink.textContent = this.calendarInstance.globalize.formatDate(localDate, { type: 'dateTime', format: 'y', calendar: 'islamic' });
307
- if ((year < startFullYr) || (year > endFullYr)) {
308
- addClass([tdEle], OTHERMONTH);
309
- }
310
- else if (year < new Date(this.islamicInValue(this.calendarInstance.min)).getFullYear()
311
- || year > new Date(this.islamicInValue(this.calendarInstance.max)).getFullYear()) {
312
- addClass([tdEle], DISABLED);
313
- }
314
- else if (!isNullOrUndefined(value) &&
315
- (this.getIslamicDate(localDate)).year ===
316
- (this.getIslamicDate(value)).year) {
317
- addClass([tdEle], SELECTED);
342
+ if ((this.getIslamicDate(localDate).year - islamicDate.year) > 1) {
343
+ localDate.setMonth(1);
344
+ rowCount = rowCount - 1;
345
+ localDate.setFullYear(localDate.getFullYear() - 1);
318
346
  }
319
- else {
320
- if (localDate.getFullYear() === this.calendarInstance.currentDate.getFullYear() && !tdEle.classList.contains(DISABLED)) {
321
- addClass([tdEle], FOCUSEDDATE);
347
+ islamicDate = this.getIslamicDate(localDate);
348
+ var gregorianObject_2 = HijriParser.toGregorian(islamicDate.year, 1, 1);
349
+ localDate = gregorianObject_2;
350
+ if (islamicDate.year === parseInt(startHdrYr) - 1 || islamicDate.year >= startHdrYr && islamicDate.year <= endFullYr || islamicDate.year === parseInt(endHdrYr) + 1) {
351
+ var tdEle = this.islamicDayCell(localDate);
352
+ attributes(tdEle, { 'role': 'gridcell' });
353
+ var dayLink = this.calendarInstance.createElement('span');
354
+ dayLink.textContent = this.calendarInstance.globalize.formatDate(localDate, { type: 'dateTime', format: 'y', calendar: 'islamic' });
355
+ if (islamicDate.year === parseInt(startHdrYr) - 1 || (year_1 < startFullYr) || (year_1 > endFullYr) && islamicDate.year !== parseInt(endHdrYr)) {
356
+ addClass([tdEle], OTHERMONTH);
357
+ if (year_1 < new Date(this.islamicInValue(this.calendarInstance.min)).getFullYear()
358
+ || year_1 > new Date(this.islamicInValue(this.calendarInstance.max)).getFullYear()) {
359
+ addClass([tdEle], DISABLED);
360
+ }
322
361
  }
362
+ else if (year_1 < new Date(this.islamicInValue(this.calendarInstance.min)).getFullYear()
363
+ || year_1 > new Date(this.islamicInValue(this.calendarInstance.max)).getFullYear()) {
364
+ addClass([tdEle], DISABLED);
365
+ }
366
+ else if (!isNullOrUndefined(value) &&
367
+ (this.getIslamicDate(localDate)).year ===
368
+ (this.getIslamicDate(value)).year) {
369
+ addClass([tdEle], SELECTED);
370
+ }
371
+ else {
372
+ if (localDate.getFullYear() === this.calendarInstance.currentDate.getFullYear() && !tdEle.classList.contains(DISABLED)) {
373
+ addClass([tdEle], FOCUSEDDATE);
374
+ }
375
+ }
376
+ if (!tdEle.classList.contains(DISABLED)) {
377
+ EventHandler.add(tdEle, 'click', this.calendarInstance.clickHandler, this.calendarInstance);
378
+ }
379
+ tdEle.appendChild(dayLink);
380
+ tdEles.push(tdEle);
323
381
  }
324
- if (!tdEle.classList.contains(DISABLED)) {
325
- EventHandler.add(tdEle, 'click', this.calendarInstance.clickHandler, this.calendarInstance);
326
- }
327
- tdEle.appendChild(dayLink);
328
- tdEles.push(tdEle);
329
382
  }
330
383
  this.islamicRenderTemplate(tdEles, numCells, 'e-decade', e, value);
331
384
  };
@@ -352,7 +405,7 @@ var Islamic = /** @class */ (function () {
352
405
  var otherMonthCell = 6;
353
406
  var row = count;
354
407
  var rowCount = 0;
355
- for (var dayCell = 0; dayCell < elements.length / count; ++dayCell) {
408
+ for (var dayCell = 0; dayCell < Math.round(elements.length / count); ++dayCell) {
356
409
  trEle = this.calendarInstance.createElement('tr', { attrs: { 'role': 'row' } });
357
410
  for (rowCount = 0 + rowCount; rowCount < row; rowCount++) {
358
411
  if (!elements[rowCount].classList.contains('e-week-number') && !isNullOrUndefined(elements[rowCount].children[0])) {
@@ -701,7 +701,7 @@ ejs-calendar {
701
701
  border: none;
702
702
  border-radius: 0;
703
703
  box-shadow: 0 0 0 1px #0078d4;
704
- color: #fff;
704
+ color: #1b1a19;
705
705
  border-radius: 50%;
706
706
  }
707
707
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
@@ -709,7 +709,7 @@ ejs-calendar {
709
709
  background: #0078d4;
710
710
  border: none;
711
711
  box-shadow: none;
712
- color: #fff;
712
+ color: #1b1a19;
713
713
  }
714
714
  .e-calendar .e-content td.e-today:focus span.e-day, .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day,
715
715
  .e-bigger.e-small .e-calendar .e-content td.e-today:focus span.e-day,
@@ -717,7 +717,7 @@ ejs-calendar {
717
717
  background-color: #3b3a39;
718
718
  border: none;
719
719
  border-radius: 0;
720
- color: #fff;
720
+ color: #1b1a19;
721
721
  background-color: #0078d4;
722
722
  border-radius: 50%;
723
723
  }
@@ -727,7 +727,7 @@ ejs-calendar {
727
727
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
728
728
  background-color: #323130;
729
729
  border: none;
730
- color: #fff;
730
+ color: #1b1a19;
731
731
  background-color: #0078d4;
732
732
  border-radius: 50%;
733
733
  }
@@ -746,7 +746,7 @@ ejs-calendar {
746
746
  color: #f3f2f1;
747
747
  background-color: #0078d4;
748
748
  border-radius: 50%;
749
- color: #fff;
749
+ color: #1b1a19;
750
750
  }
751
751
  .e-calendar .e-content span,
752
752
  .e-bigger.e-small .e-calendar .e-content span {
@@ -775,7 +775,7 @@ ejs-calendar {
775
775
  border: none;
776
776
  border-radius: 50%;
777
777
  box-shadow: 0 0 0 1px #0078d4;
778
- color: #fff;
778
+ color: #1b1a19;
779
779
  }
780
780
  .e-calendar .e-content thead,
781
781
  .e-bigger.e-small .e-calendar .e-content thead {
@@ -812,7 +812,7 @@ ejs-calendar {
812
812
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-disabled.e-overlay:focus span.e-day {
813
813
  background-color: #0078d4;
814
814
  border-radius: 50%;
815
- color: #fff;
815
+ color: #1b1a19;
816
816
  }
817
817
  .e-calendar .e-content td.e-selected span.e-day,
818
818
  .e-bigger.e-small .e-calendar .e-content td.e-selected span.e-day {
@@ -835,7 +835,7 @@ ejs-calendar {
835
835
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
836
836
  background-color: #0078d4;
837
837
  border-radius: 50%;
838
- color: #fff;
838
+ color: #1b1a19;
839
839
  }
840
840
  .e-calendar .e-content td.e-today.e-selected.e-focused-date,
841
841
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected.e-focused-date {
@@ -865,7 +865,7 @@ ejs-calendar {
865
865
  }
866
866
  .e-calendar .e-content.e-month td.e-today span.e-day,
867
867
  .e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
868
- color: #fff;
868
+ color: #1b1a19;
869
869
  }
870
870
  .e-calendar .e-content.e-year td.e-selected > span.e-day, .e-calendar .e-content.e-decade td.e-selected > span.e-day, .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,
871
871
  .e-bigger.e-small .e-calendar .e-content.e-year td.e-selected > span.e-day,
@@ -79,7 +79,7 @@
79
79
  }
80
80
  .e-datepicker .e-model-header {
81
81
  background-color: #8a8886;
82
- color: #fff;
82
+ color: #1b1a19;
83
83
  cursor: default;
84
84
  display: block;
85
85
  padding: 10px 10px 10px 15px;
@@ -732,7 +732,7 @@
732
732
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-end-date.e-selected.e-range-hover span.e-day,
733
733
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover span.e-day {
734
734
  background-color: #0078d4;
735
- color: #fff;
735
+ color: #1b1a19;
736
736
  border-radius: 50%;
737
737
  box-shadow: none;
738
738
  }
@@ -744,18 +744,18 @@
744
744
  background-color: #0078d4;
745
745
  border-radius: 50%;
746
746
  box-shadow: none;
747
- color: #fff;
747
+ color: #1b1a19;
748
748
  }
749
749
  .e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day,
750
750
  .e-bigger.e-small .e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day,
751
751
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day {
752
752
  background-color: #0078d4;
753
- color: #fff;
753
+ color: #1b1a19;
754
754
  }
755
755
  .e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span,
756
756
  .e-bigger.e-small .e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span,
757
757
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span {
758
- color: #fff;
758
+ color: #1b1a19;
759
759
  }
760
760
  .e-daterangepicker.e-popup .e-presets,
761
761
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets,
@@ -834,21 +834,21 @@
834
834
  *.e-device.e-daterangepicker .e-start-btn.e-active:hover,
835
835
  *.e-device.e-daterangepicker .e-end-btn.e-active:hover {
836
836
  background: #0078d4;
837
- color: #fff;
837
+ color: #1b1a19;
838
838
  }
839
839
 
840
840
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary,
841
841
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary {
842
842
  background-color: #0078d4;
843
843
  border-color: #0078d4;
844
- color: #fff;
844
+ color: #1b1a19;
845
845
  }
846
846
 
847
847
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:hover,
848
848
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:hover {
849
849
  background-color: #006cbf;
850
850
  border-color: #006cbf;
851
- color: #fff;
851
+ color: #1b1a19;
852
852
  }
853
853
 
854
854
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:active,
@@ -857,7 +857,7 @@
857
857
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary.e-active {
858
858
  background-color: #0060aa;
859
859
  border-color: #0060aa;
860
- color: #fff;
860
+ color: #1b1a19;
861
861
  }
862
862
 
863
863
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:disabled,
@@ -701,7 +701,7 @@ ejs-calendar {
701
701
  border: none;
702
702
  border-radius: 0;
703
703
  box-shadow: 0 0 0 1px #0078d4;
704
- color: #fff;
704
+ color: #1b1a19;
705
705
  border-radius: 50%;
706
706
  }
707
707
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
@@ -709,7 +709,7 @@ ejs-calendar {
709
709
  background: #0078d4;
710
710
  border: none;
711
711
  box-shadow: none;
712
- color: #fff;
712
+ color: #1b1a19;
713
713
  }
714
714
  .e-calendar .e-content td.e-today:focus span.e-day, .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day,
715
715
  .e-bigger.e-small .e-calendar .e-content td.e-today:focus span.e-day,
@@ -717,7 +717,7 @@ ejs-calendar {
717
717
  background-color: #3b3a39;
718
718
  border: none;
719
719
  border-radius: 0;
720
- color: #fff;
720
+ color: #1b1a19;
721
721
  background-color: #0078d4;
722
722
  border-radius: 50%;
723
723
  }
@@ -727,7 +727,7 @@ ejs-calendar {
727
727
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
728
728
  background-color: #323130;
729
729
  border: none;
730
- color: #fff;
730
+ color: #1b1a19;
731
731
  background-color: #0078d4;
732
732
  border-radius: 50%;
733
733
  }
@@ -746,7 +746,7 @@ ejs-calendar {
746
746
  color: #f3f2f1;
747
747
  background-color: #0078d4;
748
748
  border-radius: 50%;
749
- color: #fff;
749
+ color: #1b1a19;
750
750
  }
751
751
  .e-calendar .e-content span,
752
752
  .e-bigger.e-small .e-calendar .e-content span {
@@ -775,7 +775,7 @@ ejs-calendar {
775
775
  border: none;
776
776
  border-radius: 50%;
777
777
  box-shadow: 0 0 0 1px #0078d4;
778
- color: #fff;
778
+ color: #1b1a19;
779
779
  }
780
780
  .e-calendar .e-content thead,
781
781
  .e-bigger.e-small .e-calendar .e-content thead {
@@ -812,7 +812,7 @@ ejs-calendar {
812
812
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-disabled.e-overlay:focus span.e-day {
813
813
  background-color: #0078d4;
814
814
  border-radius: 50%;
815
- color: #fff;
815
+ color: #1b1a19;
816
816
  }
817
817
  .e-calendar .e-content td.e-selected span.e-day,
818
818
  .e-bigger.e-small .e-calendar .e-content td.e-selected span.e-day {
@@ -835,7 +835,7 @@ ejs-calendar {
835
835
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
836
836
  background-color: #0078d4;
837
837
  border-radius: 50%;
838
- color: #fff;
838
+ color: #1b1a19;
839
839
  }
840
840
  .e-calendar .e-content td.e-today.e-selected.e-focused-date,
841
841
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected.e-focused-date {
@@ -865,7 +865,7 @@ ejs-calendar {
865
865
  }
866
866
  .e-calendar .e-content.e-month td.e-today span.e-day,
867
867
  .e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
868
- color: #fff;
868
+ color: #1b1a19;
869
869
  }
870
870
  .e-calendar .e-content.e-year td.e-selected > span.e-day, .e-calendar .e-content.e-decade td.e-selected > span.e-day, .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,
871
871
  .e-bigger.e-small .e-calendar .e-content.e-year td.e-selected > span.e-day,
@@ -1260,7 +1260,7 @@ ejs-calendar {
1260
1260
  }
1261
1261
  .e-datepicker .e-model-header {
1262
1262
  background-color: #8a8886;
1263
- color: #fff;
1263
+ color: #1b1a19;
1264
1264
  cursor: default;
1265
1265
  display: block;
1266
1266
  padding: 10px 10px 10px 15px;
@@ -2089,7 +2089,7 @@ ejs-calendar {
2089
2089
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-end-date.e-selected.e-range-hover span.e-day,
2090
2090
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover span.e-day {
2091
2091
  background-color: #0078d4;
2092
- color: #fff;
2092
+ color: #1b1a19;
2093
2093
  border-radius: 50%;
2094
2094
  box-shadow: none;
2095
2095
  }
@@ -2101,18 +2101,18 @@ ejs-calendar {
2101
2101
  background-color: #0078d4;
2102
2102
  border-radius: 50%;
2103
2103
  box-shadow: none;
2104
- color: #fff;
2104
+ color: #1b1a19;
2105
2105
  }
2106
2106
  .e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day,
2107
2107
  .e-bigger.e-small .e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day,
2108
2108
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover.e-today span.e-day {
2109
2109
  background-color: #0078d4;
2110
- color: #fff;
2110
+ color: #1b1a19;
2111
2111
  }
2112
2112
  .e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span,
2113
2113
  .e-bigger.e-small .e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span,
2114
2114
  .e-bigger.e-small.e-daterangepicker.e-popup .e-calendar .e-other-month.e-selected span {
2115
- color: #fff;
2115
+ color: #1b1a19;
2116
2116
  }
2117
2117
  .e-daterangepicker.e-popup .e-presets,
2118
2118
  .e-bigger.e-small .e-daterangepicker.e-popup .e-presets,
@@ -2191,21 +2191,21 @@ ejs-calendar {
2191
2191
  *.e-device.e-daterangepicker .e-start-btn.e-active:hover,
2192
2192
  *.e-device.e-daterangepicker .e-end-btn.e-active:hover {
2193
2193
  background: #0078d4;
2194
- color: #fff;
2194
+ color: #1b1a19;
2195
2195
  }
2196
2196
 
2197
2197
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary,
2198
2198
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary {
2199
2199
  background-color: #0078d4;
2200
2200
  border-color: #0078d4;
2201
- color: #fff;
2201
+ color: #1b1a19;
2202
2202
  }
2203
2203
 
2204
2204
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:hover,
2205
2205
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:hover {
2206
2206
  background-color: #006cbf;
2207
2207
  border-color: #006cbf;
2208
- color: #fff;
2208
+ color: #1b1a19;
2209
2209
  }
2210
2210
 
2211
2211
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:active,
@@ -2214,7 +2214,7 @@ ejs-calendar {
2214
2214
  .e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary.e-active {
2215
2215
  background-color: #0060aa;
2216
2216
  border-color: #0060aa;
2217
- color: #fff;
2217
+ color: #1b1a19;
2218
2218
  }
2219
2219
 
2220
2220
  .e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:disabled,