@syncfusion/ej2-schedule 21.2.6 → 21.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/ej2-schedule.min.js +2 -2
  3. package/dist/ej2-schedule.umd.min.js +2 -2
  4. package/dist/ej2-schedule.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-schedule.es2015.js +30 -16
  6. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  7. package/dist/es6/ej2-schedule.es5.js +30 -16
  8. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  9. package/dist/global/ej2-schedule.min.js +2 -2
  10. package/dist/global/ej2-schedule.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +15 -15
  13. package/src/schedule/actions/drag.js +3 -1
  14. package/src/schedule/event-renderer/timeline-view.js +5 -4
  15. package/src/schedule/popups/event-window.js +8 -1
  16. package/src/schedule/renderer/header-renderer.js +4 -4
  17. package/src/schedule/renderer/timeline-view.js +10 -6
  18. package/styles/bootstrap-dark.css +6 -0
  19. package/styles/bootstrap.css +6 -0
  20. package/styles/bootstrap4.css +6 -0
  21. package/styles/bootstrap5-dark.css +6 -0
  22. package/styles/bootstrap5.css +6 -0
  23. package/styles/fabric-dark.css +6 -0
  24. package/styles/fabric.css +6 -0
  25. package/styles/fluent-dark.css +6 -0
  26. package/styles/fluent.css +6 -0
  27. package/styles/highcontrast-light.css +6 -0
  28. package/styles/highcontrast.css +6 -0
  29. package/styles/material-dark.css +6 -0
  30. package/styles/material.css +6 -0
  31. package/styles/schedule/_layout.scss +5 -0
  32. package/styles/schedule/bootstrap-dark.css +6 -0
  33. package/styles/schedule/bootstrap.css +6 -0
  34. package/styles/schedule/bootstrap4.css +6 -0
  35. package/styles/schedule/bootstrap5-dark.css +6 -0
  36. package/styles/schedule/bootstrap5.css +6 -0
  37. package/styles/schedule/fabric-dark.css +6 -0
  38. package/styles/schedule/fabric.css +6 -0
  39. package/styles/schedule/fluent-dark.css +6 -0
  40. package/styles/schedule/fluent.css +6 -0
  41. package/styles/schedule/highcontrast-light.css +6 -0
  42. package/styles/schedule/highcontrast.css +6 -0
  43. package/styles/schedule/material-dark.css +6 -0
  44. package/styles/schedule/material.css +6 -0
  45. package/styles/schedule/tailwind-dark.css +6 -0
  46. package/styles/schedule/tailwind.css +6 -0
  47. package/styles/tailwind-dark.css +6 -0
  48. package/styles/tailwind.css +6 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.6
3
+ * version : 21.2.10
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-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@21.2.5",
3
+ "_id": "@syncfusion/ej2-schedule@21.2.9",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-l5+CXqLSUctpAdXgtXKDAZdCtduUffHvNXCi1MG06ib5JBxIaj1zH3JGBXbRuacOD1aw9wf2fpPHZMVVDCgfwg==",
5
+ "_integrity": "sha512-w0xxAq2mqnZo3rKNxml0d2qPUTG89tD6ahom2fkOKLliJ3U+7xlIYzoHYvDenIzGYUgtqEVctIxrNQYJDAg+Qw==",
6
6
  "_location": "/@syncfusion/ej2-schedule",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-schedule",
24
24
  "/@syncfusion/ej2-vue-schedule"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.2.5.tgz",
27
- "_shasum": "0d4b86b906501cc20a7d80641256c00242deaedf",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.2.9.tgz",
27
+ "_shasum": "337678dc579849fe4bf8c97031aee088ca111724",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~21.2.3",
39
- "@syncfusion/ej2-buttons": "~21.2.6",
40
- "@syncfusion/ej2-calendars": "~21.2.6",
41
- "@syncfusion/ej2-data": "~21.2.6",
42
- "@syncfusion/ej2-dropdowns": "~21.2.6",
43
- "@syncfusion/ej2-excel-export": "~21.2.6",
44
- "@syncfusion/ej2-inputs": "~21.2.6",
45
- "@syncfusion/ej2-lists": "~21.2.6",
46
- "@syncfusion/ej2-navigations": "~21.2.6",
47
- "@syncfusion/ej2-popups": "~21.2.4"
38
+ "@syncfusion/ej2-base": "~21.2.9",
39
+ "@syncfusion/ej2-buttons": "~21.2.10",
40
+ "@syncfusion/ej2-calendars": "~21.2.10",
41
+ "@syncfusion/ej2-data": "~21.2.9",
42
+ "@syncfusion/ej2-dropdowns": "~21.2.10",
43
+ "@syncfusion/ej2-excel-export": "~21.2.8",
44
+ "@syncfusion/ej2-inputs": "~21.2.9",
45
+ "@syncfusion/ej2-lists": "~21.2.9",
46
+ "@syncfusion/ej2-navigations": "~21.2.9",
47
+ "@syncfusion/ej2-popups": "~21.2.10"
48
48
  },
49
49
  "deprecated": false,
50
50
  "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
@@ -73,6 +73,6 @@
73
73
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
74
  },
75
75
  "typings": "index.d.ts",
76
- "version": "21.2.6",
76
+ "version": "21.2.10",
77
77
  "sideEffects": false
78
78
  }
@@ -581,7 +581,9 @@ var DragAndDrop = /** @class */ (function (_super) {
581
581
  (dragArea.scrollTop + dragArea.offsetHeight - this.actionObj.clone.offsetHeight + window.pageYOffset) +
582
582
  (this.actionObj.clone.offsetHeight - this.heightUptoCursorPoint);
583
583
  offsetTop = Math.round(offsetTop / this.actionObj.cellHeight) * this.actionObj.cellHeight;
584
- this.actionObj.clone.style.top = formatUnit(offsetTop);
584
+ if (dragArea.scrollTop > 0) {
585
+ this.actionObj.clone.style.top = formatUnit(offsetTop);
586
+ }
585
587
  }
586
588
  var rowIndex = (this.parent.activeViewOptions.timeScale.enable) ? (offsetTop / this.actionObj.cellHeight) : 0;
587
589
  var heightPerMinute = this.actionObj.cellHeight / this.actionObj.slotInterval;
@@ -47,7 +47,8 @@ var TimelineEvent = /** @class */ (function (_super) {
47
47
  if (this.parent.activeViewOptions.headerRows.length > 0 &&
48
48
  this.parent.activeViewOptions.headerRows.slice(-1)[0].option !== 'Hour') {
49
49
  this.renderType = 'day';
50
- this.cellWidth = this.content.offsetWidth / this.dateRender.length;
50
+ var workCell = this.content.querySelector('.' + cls.WORK_CELLS_CLASS);
51
+ this.cellWidth = workCell.getBoundingClientRect().width / +(workCell.getAttribute('colspan') || 1);
51
52
  this.slotsPerDay = 1;
52
53
  }
53
54
  else {
@@ -252,7 +253,7 @@ var TimelineEvent = /** @class */ (function (_super) {
252
253
  TimelineEvent.prototype.renderTimelineMoreIndicator = function (startTime, startDate, endDate, appHeight, interval, resIndex, appointmentsList, top, appLeft, appRight, cellTd, moreIndicator, appPos, position) {
253
254
  appLeft = (this.parent.enableRtl) ? appRight = position : position;
254
255
  appPos = (this.parent.enableRtl) ? appRight : appLeft;
255
- appPos = (Math.round(appPos / this.cellWidth) * this.cellWidth);
256
+ appPos = (Math.floor(appPos / this.cellWidth) * this.cellWidth);
256
257
  if ((cellTd && isNullOrUndefined(moreIndicator)) ||
257
258
  (!this.isAlreadyAvail(appPos, cellTd))) {
258
259
  var startDateTime = (this.parent.activeViewOptions.option === 'TimelineMonth' || this.renderType === 'day') ? new Date(+startTime) : startDate;
@@ -279,8 +280,8 @@ var TimelineEvent = /** @class */ (function (_super) {
279
280
  }
280
281
  moreIndicatorElement.style.top = top + appArea + 'px';
281
282
  moreIndicatorElement.style.width = this.cellWidth + 'px';
282
- moreIndicatorElement.style.left = ((appLeft / this.cellWidth) * this.cellWidth) + 'px';
283
- moreIndicatorElement.style.right = ((appRight / this.cellWidth) * this.cellWidth) + 'px';
283
+ moreIndicatorElement.style.left = (Math.floor(appLeft / this.cellWidth) * this.cellWidth) + 'px';
284
+ moreIndicatorElement.style.right = (Math.floor(appRight / this.cellWidth) * this.cellWidth) + 'px';
284
285
  this.renderElement(cellTd, moreIndicatorElement);
285
286
  EventHandler.add(moreIndicatorElement, 'click', this.moreIndicatorClick, this);
286
287
  }
@@ -164,6 +164,7 @@ var EventWindow = /** @class */ (function () {
164
164
  };
165
165
  EventWindow.prototype.onBeforeOpen = function (args) {
166
166
  var _this = this;
167
+ var endTime = this.eventData[this.fields.endTime].getTime();
167
168
  var eventProp = {
168
169
  type: 'Editor',
169
170
  data: this.eventData,
@@ -188,6 +189,12 @@ var EventWindow = /** @class */ (function () {
188
189
  this.parent.trigger(event.popupOpen, eventProp, function (popupArgs) {
189
190
  args.cancel = popupArgs.cancel;
190
191
  _this.duration = _this.cellClickAction ? popupArgs.duration : null;
192
+ if (_this.eventData[_this.fields.endTime].getTime() === endTime && !_this.cellClickAction &&
193
+ _this.eventData[_this.fields.endTime].getHours() === 0 &&
194
+ _this.eventData[_this.fields.endTime].getMinutes() === 0) {
195
+ _this.eventData = extend({}, _this.eventData, null, true);
196
+ _this.trimAllDay(_this.eventData);
197
+ }
191
198
  _this.refreshDateTimePicker(_this.duration);
192
199
  if (_this.cellClickAction && popupArgs.duration !== _this.getSlotDuration() && isNullOrUndefined(_this.parent.editorTemplate)) {
193
200
  var startObj = _this.getInstance(cls.EVENT_WINDOW_START_CLASS);
@@ -869,12 +876,12 @@ var EventWindow = /** @class */ (function () {
869
876
  this.fieldValidator.renderFormValidator(form, rules, this.element, this.parent.locale);
870
877
  };
871
878
  EventWindow.prototype.showDetails = function (eventData) {
879
+ this.eventData = eventData;
872
880
  var eventObj = extend({}, eventData, null, true);
873
881
  if ((!this.cellClickAction || this.cellClickAction && !isNullOrUndefined(this.parent.editorTemplate)) &&
874
882
  eventObj[this.fields.endTime].getHours() === 0 && eventObj[this.fields.endTime].getMinutes() === 0) {
875
883
  this.trimAllDay(eventObj);
876
884
  }
877
- this.eventData = eventObj;
878
885
  var formElements = this.getFormElements(cls.EVENT_WINDOW_DIALOG_CLASS);
879
886
  var keyNames = Object.keys(eventObj);
880
887
  for (var _i = 0, formElements_2 = formElements; _i < formElements_2.length; _i++) {
@@ -168,7 +168,7 @@ var HeaderRenderer = /** @class */ (function () {
168
168
  }
169
169
  else {
170
170
  var text = this.parent.activeView.getDateRangeText(date);
171
- selEle.setAttribute('aria-label', text);
171
+ selEle.firstElementChild.setAttribute('aria-label', text);
172
172
  textEle.textContent = text;
173
173
  }
174
174
  this.refresh();
@@ -199,16 +199,16 @@ var HeaderRenderer = /** @class */ (function () {
199
199
  var items = [];
200
200
  items.push({
201
201
  align: 'Left', prefixIcon: 'e-icon-prev', tooltipText: 'Previous', overflow: 'Show',
202
- cssClass: 'e-prev', htmlAttributes: { 'aria-label': 'previous period', 'role': 'navigation' }
202
+ cssClass: 'e-prev', htmlAttributes: { 'role': 'navigation' }
203
203
  });
204
204
  items.push({
205
205
  align: 'Left', prefixIcon: 'e-icon-next', tooltipText: 'Next', overflow: 'Show',
206
- cssClass: 'e-next', htmlAttributes: { 'aria-label': 'next period', 'role': 'navigation' }
206
+ cssClass: 'e-next', htmlAttributes: { 'role': 'navigation' }
207
207
  });
208
208
  items.push({
209
209
  align: 'Left', text: this.getDateRangeText(), suffixIcon: 'e-icon-down-arrow', cssClass: 'e-date-range',
210
210
  overflow: 'Show',
211
- htmlAttributes: { 'aria-atomic': 'true', 'aria-live': 'assertive', 'aria-label': 'title', 'role': 'navigation' }
211
+ htmlAttributes: { 'aria-atomic': 'true', 'aria-live': 'assertive', 'role': 'navigation' }
212
212
  });
213
213
  if (this.parent.isAdaptive || this.parent.enableAdaptiveUI) {
214
214
  items.push({
@@ -151,18 +151,22 @@ var TimelineViews = /** @class */ (function (_super) {
151
151
  };
152
152
  TimelineViews.prototype.getLeftFromDateTime = function (currentDateIndex, date) {
153
153
  var startHour = this.getStartHour();
154
- var endHour = this.getEndHour();
155
154
  var diffInDates = 0;
156
155
  var diffInMinutes = ((date.getHours() - startHour.getHours()) * 60) + (date.getMinutes() - startHour.getMinutes());
157
156
  if (!isNullOrUndefined(currentDateIndex)) {
158
- var end = (endHour.getHours() === 0) ? 24 : endHour.getHours();
159
157
  if (currentDateIndex[0] !== 0) {
160
- diffInDates = (currentDateIndex[0]) * ((end - startHour.getHours()) * 60) + (endHour.getMinutes() - startHour.getMinutes());
158
+ if (this.parent.activeView.colLevels[0] && this.parent.activeView.colLevels[0][0].colSpan) {
159
+ diffInDates = currentDateIndex[0] * this.parent.activeView.colLevels[0][0].colSpan * this.getWorkCellWidth();
160
+ }
161
+ else {
162
+ var endHour = this.getEndHour();
163
+ var end = (endHour.getHours() === 0) ? 24 : endHour.getHours();
164
+ diffInMinutes = diffInMinutes + ((currentDateIndex[0]) * (((end - startHour.getHours()) * 60) + (endHour.getMinutes() - startHour.getMinutes())));
165
+ }
161
166
  }
162
- diffInMinutes = diffInDates + diffInMinutes;
163
167
  }
164
- return (diffInMinutes * this.getWorkCellWidth() * this.parent.activeViewOptions.timeScale.slotCount) /
165
- this.parent.activeViewOptions.timeScale.interval;
168
+ return diffInDates + ((diffInMinutes * this.getWorkCellWidth() * this.parent.activeViewOptions.timeScale.slotCount) /
169
+ this.parent.activeViewOptions.timeScale.interval);
166
170
  };
167
171
  TimelineViews.prototype.getWorkCellWidth = function () {
168
172
  return this.element.querySelector('.e-work-cells').getBoundingClientRect().width;
@@ -2148,6 +2148,12 @@
2148
2148
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2149
2149
  background: #484848;
2150
2150
  }
2151
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2152
+ display: -ms-inline-flexbox;
2153
+ display: inline-flex;
2154
+ -ms-flex-direction: row-reverse;
2155
+ flex-direction: row-reverse;
2156
+ }
2151
2157
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2152
2158
  display: -ms-flexbox;
2153
2159
  display: flex;
@@ -2148,6 +2148,12 @@
2148
2148
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2149
2149
  background: #e6e6e6;
2150
2150
  }
2151
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2152
+ display: -ms-inline-flexbox;
2153
+ display: inline-flex;
2154
+ -ms-flex-direction: row-reverse;
2155
+ flex-direction: row-reverse;
2156
+ }
2151
2157
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2152
2158
  display: -ms-flexbox;
2153
2159
  display: flex;
@@ -2227,6 +2227,12 @@
2227
2227
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2228
2228
  background: #e9ecef;
2229
2229
  }
2230
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2231
+ display: -ms-inline-flexbox;
2232
+ display: inline-flex;
2233
+ -ms-flex-direction: row-reverse;
2234
+ flex-direction: row-reverse;
2235
+ }
2230
2236
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2231
2237
  display: -ms-flexbox;
2232
2238
  display: flex;
@@ -2201,6 +2201,12 @@
2201
2201
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2202
2202
  background: #343a40;
2203
2203
  }
2204
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2205
+ display: -ms-inline-flexbox;
2206
+ display: inline-flex;
2207
+ -ms-flex-direction: row-reverse;
2208
+ flex-direction: row-reverse;
2209
+ }
2204
2210
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2205
2211
  display: -ms-flexbox;
2206
2212
  display: flex;
@@ -2201,6 +2201,12 @@
2201
2201
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2202
2202
  background: #e9ecef;
2203
2203
  }
2204
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2205
+ display: -ms-inline-flexbox;
2206
+ display: inline-flex;
2207
+ -ms-flex-direction: row-reverse;
2208
+ flex-direction: row-reverse;
2209
+ }
2204
2210
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2205
2211
  display: -ms-flexbox;
2206
2212
  display: flex;
@@ -2115,6 +2115,12 @@
2115
2115
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2116
2116
  background: #514f4f;
2117
2117
  }
2118
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2119
+ display: -ms-inline-flexbox;
2120
+ display: inline-flex;
2121
+ -ms-flex-direction: row-reverse;
2122
+ flex-direction: row-reverse;
2123
+ }
2118
2124
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2119
2125
  display: -ms-flexbox;
2120
2126
  display: flex;
package/styles/fabric.css CHANGED
@@ -2110,6 +2110,12 @@
2110
2110
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2111
2111
  background: #b7e0ff;
2112
2112
  }
2113
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2114
+ display: -ms-inline-flexbox;
2115
+ display: inline-flex;
2116
+ -ms-flex-direction: row-reverse;
2117
+ flex-direction: row-reverse;
2118
+ }
2113
2119
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2114
2120
  display: -ms-flexbox;
2115
2121
  display: flex;
@@ -2178,6 +2178,12 @@
2178
2178
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2179
2179
  background: #292827;
2180
2180
  }
2181
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2182
+ display: -ms-inline-flexbox;
2183
+ display: inline-flex;
2184
+ -ms-flex-direction: row-reverse;
2185
+ flex-direction: row-reverse;
2186
+ }
2181
2187
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2182
2188
  display: -ms-flexbox;
2183
2189
  display: flex;
package/styles/fluent.css CHANGED
@@ -2178,6 +2178,12 @@
2178
2178
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2179
2179
  background: #edebe9;
2180
2180
  }
2181
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2182
+ display: -ms-inline-flexbox;
2183
+ display: inline-flex;
2184
+ -ms-flex-direction: row-reverse;
2185
+ flex-direction: row-reverse;
2186
+ }
2181
2187
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2182
2188
  display: -ms-flexbox;
2183
2189
  display: flex;
@@ -2192,6 +2192,12 @@
2192
2192
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2193
2193
  background: #400074;
2194
2194
  }
2195
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2196
+ display: -ms-inline-flexbox;
2197
+ display: inline-flex;
2198
+ -ms-flex-direction: row-reverse;
2199
+ flex-direction: row-reverse;
2200
+ }
2195
2201
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2196
2202
  display: -ms-flexbox;
2197
2203
  display: flex;
@@ -2196,6 +2196,12 @@
2196
2196
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2197
2197
  background: #ffd939;
2198
2198
  }
2199
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2200
+ display: -ms-inline-flexbox;
2201
+ display: inline-flex;
2202
+ -ms-flex-direction: row-reverse;
2203
+ flex-direction: row-reverse;
2204
+ }
2199
2205
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2200
2206
  display: -ms-flexbox;
2201
2207
  display: flex;
@@ -2137,6 +2137,12 @@
2137
2137
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2138
2138
  background: #757575;
2139
2139
  }
2140
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2141
+ display: -ms-inline-flexbox;
2142
+ display: inline-flex;
2143
+ -ms-flex-direction: row-reverse;
2144
+ flex-direction: row-reverse;
2145
+ }
2140
2146
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2141
2147
  display: -ms-flexbox;
2142
2148
  display: flex;
@@ -2173,6 +2173,12 @@
2173
2173
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2174
2174
  background: #e0e0e0;
2175
2175
  }
2176
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2177
+ display: -ms-inline-flexbox;
2178
+ display: inline-flex;
2179
+ -ms-flex-direction: row-reverse;
2180
+ flex-direction: row-reverse;
2181
+ }
2176
2182
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2177
2183
  display: -ms-flexbox;
2178
2184
  display: flex;
@@ -2302,6 +2302,11 @@
2302
2302
  &:focus {
2303
2303
  background: $schedule-select-bg-color;
2304
2304
  }
2305
+
2306
+ &.e-template {
2307
+ display: inline-flex;
2308
+ flex-direction: row-reverse;
2309
+ }
2305
2310
  }
2306
2311
 
2307
2312
  .e-subject-wrap {
@@ -2148,6 +2148,12 @@
2148
2148
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2149
2149
  background: #484848;
2150
2150
  }
2151
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2152
+ display: -ms-inline-flexbox;
2153
+ display: inline-flex;
2154
+ -ms-flex-direction: row-reverse;
2155
+ flex-direction: row-reverse;
2156
+ }
2151
2157
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2152
2158
  display: -ms-flexbox;
2153
2159
  display: flex;
@@ -2148,6 +2148,12 @@
2148
2148
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2149
2149
  background: #e6e6e6;
2150
2150
  }
2151
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2152
+ display: -ms-inline-flexbox;
2153
+ display: inline-flex;
2154
+ -ms-flex-direction: row-reverse;
2155
+ flex-direction: row-reverse;
2156
+ }
2151
2157
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2152
2158
  display: -ms-flexbox;
2153
2159
  display: flex;
@@ -2227,6 +2227,12 @@
2227
2227
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2228
2228
  background: #e9ecef;
2229
2229
  }
2230
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2231
+ display: -ms-inline-flexbox;
2232
+ display: inline-flex;
2233
+ -ms-flex-direction: row-reverse;
2234
+ flex-direction: row-reverse;
2235
+ }
2230
2236
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2231
2237
  display: -ms-flexbox;
2232
2238
  display: flex;
@@ -2201,6 +2201,12 @@
2201
2201
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2202
2202
  background: #343a40;
2203
2203
  }
2204
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2205
+ display: -ms-inline-flexbox;
2206
+ display: inline-flex;
2207
+ -ms-flex-direction: row-reverse;
2208
+ flex-direction: row-reverse;
2209
+ }
2204
2210
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2205
2211
  display: -ms-flexbox;
2206
2212
  display: flex;
@@ -2201,6 +2201,12 @@
2201
2201
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2202
2202
  background: #e9ecef;
2203
2203
  }
2204
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2205
+ display: -ms-inline-flexbox;
2206
+ display: inline-flex;
2207
+ -ms-flex-direction: row-reverse;
2208
+ flex-direction: row-reverse;
2209
+ }
2204
2210
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2205
2211
  display: -ms-flexbox;
2206
2212
  display: flex;
@@ -2115,6 +2115,12 @@
2115
2115
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2116
2116
  background: #514f4f;
2117
2117
  }
2118
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2119
+ display: -ms-inline-flexbox;
2120
+ display: inline-flex;
2121
+ -ms-flex-direction: row-reverse;
2122
+ flex-direction: row-reverse;
2123
+ }
2118
2124
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2119
2125
  display: -ms-flexbox;
2120
2126
  display: flex;
@@ -2110,6 +2110,12 @@
2110
2110
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2111
2111
  background: #b7e0ff;
2112
2112
  }
2113
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2114
+ display: -ms-inline-flexbox;
2115
+ display: inline-flex;
2116
+ -ms-flex-direction: row-reverse;
2117
+ flex-direction: row-reverse;
2118
+ }
2113
2119
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2114
2120
  display: -ms-flexbox;
2115
2121
  display: flex;
@@ -2178,6 +2178,12 @@
2178
2178
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2179
2179
  background: #292827;
2180
2180
  }
2181
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2182
+ display: -ms-inline-flexbox;
2183
+ display: inline-flex;
2184
+ -ms-flex-direction: row-reverse;
2185
+ flex-direction: row-reverse;
2186
+ }
2181
2187
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2182
2188
  display: -ms-flexbox;
2183
2189
  display: flex;
@@ -2178,6 +2178,12 @@
2178
2178
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2179
2179
  background: #edebe9;
2180
2180
  }
2181
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2182
+ display: -ms-inline-flexbox;
2183
+ display: inline-flex;
2184
+ -ms-flex-direction: row-reverse;
2185
+ flex-direction: row-reverse;
2186
+ }
2181
2187
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2182
2188
  display: -ms-flexbox;
2183
2189
  display: flex;
@@ -2192,6 +2192,12 @@
2192
2192
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2193
2193
  background: #400074;
2194
2194
  }
2195
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2196
+ display: -ms-inline-flexbox;
2197
+ display: inline-flex;
2198
+ -ms-flex-direction: row-reverse;
2199
+ flex-direction: row-reverse;
2200
+ }
2195
2201
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2196
2202
  display: -ms-flexbox;
2197
2203
  display: flex;
@@ -2196,6 +2196,12 @@
2196
2196
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2197
2197
  background: #ffd939;
2198
2198
  }
2199
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2200
+ display: -ms-inline-flexbox;
2201
+ display: inline-flex;
2202
+ -ms-flex-direction: row-reverse;
2203
+ flex-direction: row-reverse;
2204
+ }
2199
2205
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2200
2206
  display: -ms-flexbox;
2201
2207
  display: flex;
@@ -2137,6 +2137,12 @@
2137
2137
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2138
2138
  background: #757575;
2139
2139
  }
2140
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2141
+ display: -ms-inline-flexbox;
2142
+ display: inline-flex;
2143
+ -ms-flex-direction: row-reverse;
2144
+ flex-direction: row-reverse;
2145
+ }
2140
2146
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2141
2147
  display: -ms-flexbox;
2142
2148
  display: flex;
@@ -2173,6 +2173,12 @@
2173
2173
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2174
2174
  background: #e0e0e0;
2175
2175
  }
2176
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2177
+ display: -ms-inline-flexbox;
2178
+ display: inline-flex;
2179
+ -ms-flex-direction: row-reverse;
2180
+ flex-direction: row-reverse;
2181
+ }
2176
2182
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2177
2183
  display: -ms-flexbox;
2178
2184
  display: flex;
@@ -2143,6 +2143,12 @@
2143
2143
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2144
2144
  background: #6b7280;
2145
2145
  }
2146
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2147
+ display: -ms-inline-flexbox;
2148
+ display: inline-flex;
2149
+ -ms-flex-direction: row-reverse;
2150
+ flex-direction: row-reverse;
2151
+ }
2146
2152
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2147
2153
  display: -ms-flexbox;
2148
2154
  display: flex;
@@ -2143,6 +2143,12 @@
2143
2143
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2144
2144
  background: #e5e7eb;
2145
2145
  }
2146
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2147
+ display: -ms-inline-flexbox;
2148
+ display: inline-flex;
2149
+ -ms-flex-direction: row-reverse;
2150
+ flex-direction: row-reverse;
2151
+ }
2146
2152
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2147
2153
  display: -ms-flexbox;
2148
2154
  display: flex;
@@ -2144,6 +2144,12 @@
2144
2144
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2145
2145
  background: #6b7280;
2146
2146
  }
2147
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2148
+ display: -ms-inline-flexbox;
2149
+ display: inline-flex;
2150
+ -ms-flex-direction: row-reverse;
2151
+ flex-direction: row-reverse;
2152
+ }
2147
2153
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2148
2154
  display: -ms-flexbox;
2149
2155
  display: flex;
@@ -2144,6 +2144,12 @@
2144
2144
  .e-schedule .e-month-agenda-view .e-appointment.e-appointment-border, .e-schedule .e-month-agenda-view .e-appointment:focus {
2145
2145
  background: #e5e7eb;
2146
2146
  }
2147
+ .e-schedule .e-month-agenda-view .e-appointment.e-template {
2148
+ display: -ms-inline-flexbox;
2149
+ display: inline-flex;
2150
+ -ms-flex-direction: row-reverse;
2151
+ flex-direction: row-reverse;
2152
+ }
2147
2153
  .e-schedule .e-month-agenda-view .e-subject-wrap {
2148
2154
  display: -ms-flexbox;
2149
2155
  display: flex;