@syncfusion/ej2-angular-schedule 20.4.38 → 20.4.39

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 (166) hide show
  1. package/README.md +122 -48
  2. package/esm2020/src/schedule/schedule.component.mjs +3 -3
  3. package/esm2020/src/schedule/views.directive.mjs +3 -3
  4. package/fesm2015/syncfusion-ej2-angular-schedule.mjs +4 -4
  5. package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +1 -1
  6. package/fesm2020/syncfusion-ej2-angular-schedule.mjs +4 -4
  7. package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/schematics/utils/lib-details.ts +2 -2
  10. package/src/schedule/schedule.component.d.ts +1 -1
  11. package/src/schedule/views.directive.d.ts +7 -2
  12. package/styles/bootstrap-dark.css +369 -106
  13. package/styles/bootstrap.css +368 -104
  14. package/styles/bootstrap4.css +380 -146
  15. package/styles/bootstrap5-dark.css +344 -142
  16. package/styles/bootstrap5.css +344 -142
  17. package/styles/fabric-dark.css +335 -106
  18. package/styles/fabric.css +321 -111
  19. package/styles/fluent-dark.css +400 -107
  20. package/styles/fluent.css +400 -107
  21. package/styles/highcontrast-light.css +412 -103
  22. package/styles/highcontrast.css +404 -118
  23. package/styles/material-dark.css +367 -115
  24. package/styles/material.css +409 -115
  25. package/styles/recurrence-editor/_layout.scss +42 -28
  26. package/styles/recurrence-editor/bootstrap-dark.css +142 -33
  27. package/styles/recurrence-editor/bootstrap-dark.scss +5 -0
  28. package/styles/recurrence-editor/bootstrap.css +142 -33
  29. package/styles/recurrence-editor/bootstrap.scss +5 -0
  30. package/styles/recurrence-editor/bootstrap4.css +176 -33
  31. package/styles/recurrence-editor/bootstrap4.scss +5 -0
  32. package/styles/recurrence-editor/bootstrap5-dark.css +183 -33
  33. package/styles/recurrence-editor/bootstrap5-dark.scss +5 -0
  34. package/styles/recurrence-editor/bootstrap5.css +183 -33
  35. package/styles/recurrence-editor/bootstrap5.scss +5 -0
  36. package/styles/recurrence-editor/fabric-dark.css +118 -33
  37. package/styles/recurrence-editor/fabric-dark.scss +5 -0
  38. package/styles/recurrence-editor/fabric.css +111 -33
  39. package/styles/recurrence-editor/fabric.scss +5 -0
  40. package/styles/recurrence-editor/fluent-dark.css +163 -33
  41. package/styles/recurrence-editor/fluent-dark.scss +5 -0
  42. package/styles/recurrence-editor/fluent.css +163 -33
  43. package/styles/recurrence-editor/fluent.scss +5 -0
  44. package/styles/recurrence-editor/highcontrast-light.css +115 -33
  45. package/styles/recurrence-editor/highcontrast-light.scss +5 -0
  46. package/styles/recurrence-editor/highcontrast.css +115 -33
  47. package/styles/recurrence-editor/highcontrast.scss +5 -0
  48. package/styles/recurrence-editor/material-dark.css +143 -33
  49. package/styles/recurrence-editor/material-dark.scss +5 -0
  50. package/styles/recurrence-editor/material.css +168 -33
  51. package/styles/recurrence-editor/material.scss +5 -0
  52. package/styles/recurrence-editor/tailwind-dark.css +131 -33
  53. package/styles/recurrence-editor/tailwind-dark.scss +5 -0
  54. package/styles/recurrence-editor/tailwind.css +131 -33
  55. package/styles/recurrence-editor/tailwind.scss +5 -0
  56. package/styles/schedule/_bootstrap-dark-definition.scss +63 -4
  57. package/styles/schedule/_bootstrap-definition.scss +62 -3
  58. package/styles/schedule/_bootstrap4-definition.scss +65 -5
  59. package/styles/schedule/_bootstrap5-definition.scss +63 -5
  60. package/styles/schedule/_fabric-dark-definition.scss +61 -3
  61. package/styles/schedule/_fabric-definition.scss +62 -3
  62. package/styles/schedule/_fluent-definition.scss +63 -6
  63. package/styles/schedule/_fusionnew-definition.scss +60 -3
  64. package/styles/schedule/_highcontrast-definition.scss +62 -3
  65. package/styles/schedule/_highcontrast-light-definition.scss +62 -3
  66. package/styles/schedule/_layout.scss +117 -506
  67. package/styles/schedule/_material-dark-definition.scss +63 -4
  68. package/styles/schedule/_material-definition.scss +63 -4
  69. package/styles/schedule/_material3-definition.scss +62 -3
  70. package/styles/schedule/_tailwind-definition.scss +63 -6
  71. package/styles/schedule/_theme.scss +97 -62
  72. package/styles/schedule/bootstrap-dark.css +332 -73
  73. package/styles/schedule/bootstrap-dark.scss +11 -0
  74. package/styles/schedule/bootstrap.css +331 -71
  75. package/styles/schedule/bootstrap.scss +11 -0
  76. package/styles/schedule/bootstrap4.css +343 -113
  77. package/styles/schedule/bootstrap4.scss +11 -0
  78. package/styles/schedule/bootstrap5-dark.css +307 -109
  79. package/styles/schedule/bootstrap5-dark.scss +11 -0
  80. package/styles/schedule/bootstrap5.css +307 -109
  81. package/styles/schedule/bootstrap5.scss +11 -0
  82. package/styles/schedule/fabric-dark.css +298 -73
  83. package/styles/schedule/fabric-dark.scss +11 -0
  84. package/styles/schedule/fabric.css +284 -78
  85. package/styles/schedule/fabric.scss +11 -0
  86. package/styles/schedule/fluent-dark.css +363 -74
  87. package/styles/schedule/fluent-dark.scss +11 -0
  88. package/styles/schedule/fluent.css +363 -74
  89. package/styles/schedule/fluent.scss +11 -0
  90. package/styles/schedule/highcontrast-light.css +375 -70
  91. package/styles/schedule/highcontrast-light.scss +11 -0
  92. package/styles/schedule/highcontrast.css +367 -85
  93. package/styles/schedule/highcontrast.scss +11 -0
  94. package/styles/schedule/material-dark.css +330 -82
  95. package/styles/schedule/material-dark.scss +11 -0
  96. package/styles/schedule/material.css +372 -82
  97. package/styles/schedule/material.scss +11 -0
  98. package/styles/schedule/tailwind-dark.css +246 -111
  99. package/styles/schedule/tailwind-dark.scss +11 -0
  100. package/styles/schedule/tailwind.css +246 -111
  101. package/styles/schedule/tailwind.scss +11 -0
  102. package/styles/tailwind-dark.css +284 -145
  103. package/styles/tailwind.css +284 -145
  104. package/schematics/collection.json +0 -40
  105. package/schematics/generators/schedule-agenda-views/index.d.ts +0 -3
  106. package/schematics/generators/schedule-agenda-views/index.js +0 -8
  107. package/schematics/generators/schedule-agenda-views/sample-details.d.ts +0 -5
  108. package/schematics/generators/schedule-agenda-views/sample-details.js +0 -7
  109. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  110. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  111. package/schematics/generators/schedule-agenda-views/schema.d.ts +0 -3
  112. package/schematics/generators/schedule-agenda-views/schema.js +0 -2
  113. package/schematics/generators/schedule-agenda-views/schema.json +0 -125
  114. package/schematics/generators/schedule-calendar-views/index.d.ts +0 -3
  115. package/schematics/generators/schedule-calendar-views/index.js +0 -8
  116. package/schematics/generators/schedule-calendar-views/sample-details.d.ts +0 -5
  117. package/schematics/generators/schedule-calendar-views/sample-details.js +0 -7
  118. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  119. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  120. package/schematics/generators/schedule-calendar-views/schema.d.ts +0 -3
  121. package/schematics/generators/schedule-calendar-views/schema.js +0 -2
  122. package/schematics/generators/schedule-calendar-views/schema.json +0 -125
  123. package/schematics/generators/schedule-horizontal-grouping/index.d.ts +0 -3
  124. package/schematics/generators/schedule-horizontal-grouping/index.js +0 -8
  125. package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +0 -5
  126. package/schematics/generators/schedule-horizontal-grouping/sample-details.js +0 -7
  127. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -92
  128. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -29
  129. package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +0 -3
  130. package/schematics/generators/schedule-horizontal-grouping/schema.js +0 -2
  131. package/schematics/generators/schedule-horizontal-grouping/schema.json +0 -125
  132. package/schematics/generators/schedule-time-scale/index.d.ts +0 -3
  133. package/schematics/generators/schedule-time-scale/index.js +0 -8
  134. package/schematics/generators/schedule-time-scale/sample-details.d.ts +0 -5
  135. package/schematics/generators/schedule-time-scale/sample-details.js +0 -7
  136. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  137. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  138. package/schematics/generators/schedule-time-scale/schema.d.ts +0 -3
  139. package/schematics/generators/schedule-time-scale/schema.js +0 -2
  140. package/schematics/generators/schedule-time-scale/schema.json +0 -125
  141. package/schematics/generators/schedule-timeline-grouping/index.d.ts +0 -3
  142. package/schematics/generators/schedule-timeline-grouping/index.js +0 -8
  143. package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +0 -5
  144. package/schematics/generators/schedule-timeline-grouping/sample-details.js +0 -7
  145. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -6
  146. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -23
  147. package/schematics/generators/schedule-timeline-grouping/schema.d.ts +0 -3
  148. package/schematics/generators/schedule-timeline-grouping/schema.js +0 -2
  149. package/schematics/generators/schedule-timeline-grouping/schema.json +0 -125
  150. package/schematics/generators/schedule-timeline-views/index.d.ts +0 -3
  151. package/schematics/generators/schedule-timeline-views/index.js +0 -8
  152. package/schematics/generators/schedule-timeline-views/sample-details.d.ts +0 -5
  153. package/schematics/generators/schedule-timeline-views/sample-details.js +0 -7
  154. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  155. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  156. package/schematics/generators/schedule-timeline-views/schema.d.ts +0 -3
  157. package/schematics/generators/schedule-timeline-views/schema.js +0 -2
  158. package/schematics/generators/schedule-timeline-views/schema.json +0 -125
  159. package/schematics/ng-add/index.d.ts +0 -3
  160. package/schematics/ng-add/index.js +0 -9
  161. package/schematics/ng-add/schema.d.ts +0 -13
  162. package/schematics/ng-add/schema.js +0 -2
  163. package/schematics/ng-add/schema.json +0 -34
  164. package/schematics/tsconfig.json +0 -25
  165. package/schematics/utils/lib-details.d.ts +0 -4
  166. package/schematics/utils/lib-details.js +0 -6
@@ -13,10 +13,8 @@
13
13
  }
14
14
 
15
15
  .e-header-calendar {
16
- @if ($schedule-skin == 'tailwind' or $schedule-skin == 'bootstrap5' or $schedule-skin == 'FluentUI') {
17
- background-color: $schedule-calendar-background;
18
- box-shadow: $schedule-popup-box-shadow-1;
19
- }
16
+ background-color: $schedule-calendar-background;
17
+ box-shadow: $schedule-calendar-shadow;
20
18
  }
21
19
 
22
20
  .e-vertical-view {
@@ -73,20 +71,11 @@
73
71
  }
74
72
 
75
73
  .e-time-cells-wrap table td {
76
- background-color: $schedule-header-bg-color;
74
+ background-color: $schedule-time-cells-bg-color;
77
75
  border-color: $schedule-content-border-color;
78
76
  border-style: $border-type;
79
77
  border-width: 0 1px 1px 0;
80
- color: $schedule-secondary-content-font-color;
81
- @if ($schedule-skin == 'bootstrap4') {
82
- color: $schedule-primary-content-font-color;
83
- }
84
- @if ($schedule-skin == 'tailwind') {
85
- background-color: $schedule-tbar-default-bg;
86
- }
87
- @if ($schedule-skin == 'bootstrap5') {
88
- background-color: $schedule-vertical-time-slot-color;
89
- }
78
+ color: $schedule-time-cells-font-color;
90
79
  }
91
80
 
92
81
  .e-time-cells-wrap table td {
@@ -94,9 +83,7 @@
94
83
  }
95
84
 
96
85
  .e-time-cells-wrap .e-time-cells {
97
- @if ($schedule-skin != 'tailwind' and $schedule-skin != 'bootstrap5') {
98
- border-bottom-color: $schedule-content-border-color;
99
- }
86
+ border-bottom-color: $schedule-time-cells-border-bottom-color;
100
87
  }
101
88
 
102
89
  .e-header-cells {
@@ -104,9 +91,7 @@
104
91
 
105
92
  &.e-current-day {
106
93
  color: $schedule-active-font-color;
107
- @if ($schedule-skin == 'tailwind') {
108
- font-weight: 500;
109
- }
94
+ font-weight: $schedule-current-day-font-weight;
110
95
  }
111
96
  }
112
97
 
@@ -144,9 +129,7 @@
144
129
 
145
130
  &:hover {
146
131
  background-color: $schedule-select-bg-color;
147
- @if ($schedule-skin == 'bootstrap5') {
148
- color: $schedule-active-color;
149
- }
132
+ color: $schedule-selected-cell-hover-font-color;
150
133
  }
151
134
  }
152
135
  }
@@ -157,9 +140,7 @@
157
140
 
158
141
  &:hover {
159
142
  background-color: $schedule-select-bg-color;
160
- @if ($schedule-skin == 'bootstrap5') {
161
- color: $schedule-active-color;
162
- }
143
+ color: $schedule-selected-cell-hover-font-color;
163
144
  }
164
145
  }
165
146
 
@@ -200,19 +181,13 @@
200
181
  border-style: $border-type;
201
182
  border-width: $schedule-month-work-cells-border;
202
183
  color: $schedule-header-font-color;
203
- text-align: left;
204
-
205
- @if ($schedule-skin == 'tailwind') {
206
- font-size: 12px;
207
- text-align: center;
208
- text-transform: uppercase;
209
- }
184
+ font-size: $schedule-month-date-header-cell-font-size;
185
+ text-align: $schedule-month-date-header-cell-text-align;
186
+ text-transform: $schedule-month-date-header-cell-text-transform;
210
187
 
211
188
  &.e-current-day {
212
189
  color: $schedule-active-font-color;
213
- @if ($schedule-skin == 'tailwind') {
214
- font-weight: 500;
215
- }
190
+ font-weight: $schedule-current-day-font-weight;
216
191
  }
217
192
  }
218
193
 
@@ -226,10 +201,7 @@
226
201
 
227
202
  &:hover {
228
203
  background: $schedule-hover-bg-color;
229
- color: $schedule-hover-font-color;
230
- @if ($schedule-skin == 'bootstrap5') {
231
- color: $schedule-select-font-color;
232
- }
204
+ color: $schedule-work-cell-hover-color;
233
205
  }
234
206
  }
235
207
 
@@ -244,11 +216,8 @@
244
216
  .e-current-date .e-date-header {
245
217
  background-color: $schedule-current-date-bg-color;
246
218
  border-radius: 50%;
247
- color: $schedule-active-color;
219
+ color: $schedule-current-date-header-font-color;
248
220
  width: 20px;
249
- @if ($schedule-skin == 'highcontrast') {
250
- color: $schedule-active-font-color;
251
- }
252
221
  }
253
222
 
254
223
  .e-selected-cell {
@@ -256,9 +225,7 @@
256
225
  color: $schedule-select-font-color;
257
226
 
258
227
  .e-date-header {
259
- @if ($schedule-skin == 'highcontrast') {
260
- color: $schedule-select-font-color;
261
- }
228
+ color: $schedule-selected-date-header-cell-font-color;
262
229
  }
263
230
 
264
231
  .e-more-indicator {
@@ -272,6 +239,11 @@
272
239
  }
273
240
 
274
241
  .e-month-agenda-view {
242
+
243
+ .e-content-wrap .e-table-container {
244
+ overflow: auto;
245
+ }
246
+
275
247
  .e-date-header-wrap table td {
276
248
  border-width: $schedule-month-agenda-header-cells-border;
277
249
  text-align: center;
@@ -306,9 +278,7 @@
306
278
 
307
279
  &.e-current-day {
308
280
  color: $schedule-active-font-color;
309
- @if ($schedule-skin == 'tailwind') {
310
- font-weight: 500;
311
- }
281
+ font-weight: $schedule-current-day-font-weight;
312
282
  }
313
283
  }
314
284
 
@@ -385,6 +355,81 @@
385
355
  }
386
356
  }
387
357
 
358
+ .e-timeline-year-view {
359
+ .e-work-cells {
360
+ background-color: $schedule-work-cells-bg-color;
361
+ border-color: $schedule-content-border-color;
362
+ border-style: $border-type;
363
+ border-width: 0 $border-size $border-size 0;
364
+ color: $schedule-primary-content-font-color;
365
+ padding: 0;
366
+
367
+ &:hover:not(.e-other-month) {
368
+ background: $schedule-hover-bg-color;
369
+ color: $schedule-hover-font-color;
370
+ }
371
+
372
+ &.e-work-days {
373
+ background-color: $schedule-workhour-bg-color;
374
+ }
375
+
376
+ &.e-other-month {
377
+ color: $schedule-secondary-content-font-color;
378
+ }
379
+
380
+ &.e-current-day .e-date-header {
381
+ background-color: $schedule-current-date-bg-color;
382
+ border-radius: 50%;
383
+ color: $schedule-current-day-active-color;
384
+ margin: 2px;
385
+ width: 20px;
386
+ }
387
+
388
+ &.e-selected-cell {
389
+ background-color: $schedule-select-bg-color;
390
+ color: $schedule-select-font-color;
391
+
392
+ .e-date-header {
393
+ color: $schedule-select-font-color;
394
+ }
395
+
396
+ .e-more-indicator {
397
+ color: $schedule-select-font-color;
398
+ }
399
+
400
+ &:hover {
401
+ background-color: $schedule-select-bg-color;
402
+ }
403
+ }
404
+
405
+ &.e-disable-dates {
406
+ background-color: $schedule-disable-dates-color;
407
+
408
+ .e-date-header {
409
+ cursor: default;
410
+ opacity: .35;
411
+
412
+ &:hover {
413
+ text-decoration: none;
414
+ }
415
+ }
416
+
417
+ &:hover {
418
+ background-color: $schedule-disable-dates-color;
419
+ }
420
+ }
421
+ }
422
+
423
+ &.e-virtual-mask .e-work-cells {
424
+ background-color: $schedule-disable-dates-color;
425
+ box-shadow: inset 0 0 0 8px $schedule-work-cells-bg-color;
426
+
427
+ &:hover {
428
+ background-color: $schedule-disable-dates-color;
429
+ }
430
+ }
431
+ }
432
+
388
433
  #{if(&, '&', '*')}.e-rtl {
389
434
  .e-vertical-view {
390
435
  .e-date-header-wrap table tbody td:first-child,
@@ -489,17 +534,7 @@
489
534
  }
490
535
 
491
536
  .e-tip-content {
492
- padding: 3px 6px;
493
- }
494
-
495
- @if ($schedule-skin == 'bootstrap4') {
496
- .e-tip-content {
497
- padding: 4px 8px 0;
498
- }
499
-
500
- .e-arrow-tip {
501
- overflow: visible;
502
- }
537
+ padding: $schedule-tip-content-padding;
503
538
  }
504
539
 
505
540
  .e-tip-content,