@syncfusion/ej2-schedule 20.3.61 → 20.4.40
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/.eslintrc.json +16 -1
- package/CHANGELOG.md +10 -0
- package/README.md +62 -46
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +786 -524
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +821 -535
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +23 -33
- package/src/common/calendar-util.js +1 -1
- package/src/recurrence-editor/date-generator.js +26 -26
- package/src/recurrence-editor/recurrence-editor.js +5 -5
- package/src/schedule/actions/action-base.js +3 -3
- package/src/schedule/actions/crud.js +16 -16
- package/src/schedule/actions/drag.js +36 -32
- package/src/schedule/actions/keyboard.js +10 -8
- package/src/schedule/actions/resize.js +6 -6
- package/src/schedule/actions/touch.js +4 -3
- package/src/schedule/actions/virtual-scroll.js +10 -7
- package/src/schedule/base/interface.d.ts +8 -1
- package/src/schedule/base/resource.d.ts +1 -0
- package/src/schedule/base/resource.js +179 -93
- package/src/schedule/base/schedule-model.d.ts +7 -0
- package/src/schedule/base/schedule.d.ts +23 -0
- package/src/schedule/base/schedule.js +73 -22
- package/src/schedule/base/util.js +4 -6
- package/src/schedule/event-renderer/agenda-base.js +36 -31
- package/src/schedule/event-renderer/event-base.js +25 -25
- package/src/schedule/event-renderer/inline-edit.js +8 -5
- package/src/schedule/event-renderer/month.js +17 -14
- package/src/schedule/event-renderer/timeline-view.js +11 -11
- package/src/schedule/event-renderer/vertical-view.d.ts +1 -0
- package/src/schedule/event-renderer/vertical-view.js +97 -70
- package/src/schedule/event-renderer/year.js +25 -17
- package/src/schedule/exports/calendar-export.js +4 -4
- package/src/schedule/exports/calendar-import.js +14 -15
- package/src/schedule/exports/excel-export.js +1 -1
- package/src/schedule/models/group-model.d.ts +8 -0
- package/src/schedule/models/group.d.ts +7 -0
- package/src/schedule/models/group.js +3 -0
- package/src/schedule/models/views-model.d.ts +8 -1
- package/src/schedule/models/views.d.ts +7 -1
- package/src/schedule/models/views.js +3 -0
- package/src/schedule/popups/event-tooltip.js +3 -2
- package/src/schedule/popups/event-window.js +36 -30
- package/src/schedule/popups/quick-popups.js +6 -6
- package/src/schedule/renderer/agenda.js +5 -5
- package/src/schedule/renderer/header-renderer.d.ts +1 -1
- package/src/schedule/renderer/header-renderer.js +21 -5
- package/src/schedule/renderer/month-agenda.js +11 -4
- package/src/schedule/renderer/month.js +44 -16
- package/src/schedule/renderer/renderer.js +3 -3
- package/src/schedule/renderer/timeline-header-row.js +7 -7
- package/src/schedule/renderer/timeline-month.js +5 -5
- package/src/schedule/renderer/timeline-view.js +2 -2
- package/src/schedule/renderer/timeline-year.js +20 -14
- package/src/schedule/renderer/vertical-view.js +24 -9
- package/src/schedule/renderer/view-base.d.ts +3 -0
- package/src/schedule/renderer/view-base.js +11 -3
- package/src/schedule/renderer/year.js +11 -5
- package/styles/bootstrap-dark.css +364 -101
- package/styles/bootstrap.css +363 -99
- package/styles/bootstrap4.css +375 -141
- package/styles/bootstrap5-dark.css +339 -137
- package/styles/bootstrap5.css +339 -137
- package/styles/fabric-dark.css +330 -101
- package/styles/fabric.css +316 -106
- package/styles/fluent-dark.css +395 -102
- package/styles/fluent.css +395 -102
- package/styles/highcontrast-light.css +407 -98
- package/styles/highcontrast.css +399 -113
- package/styles/material-dark.css +362 -110
- package/styles/material.css +404 -110
- package/styles/recurrence-editor/_layout.scss +42 -28
- package/styles/recurrence-editor/bootstrap-dark.css +137 -28
- package/styles/recurrence-editor/bootstrap-dark.scss +5 -0
- package/styles/recurrence-editor/bootstrap.css +137 -28
- package/styles/recurrence-editor/bootstrap.scss +5 -0
- package/styles/recurrence-editor/bootstrap4.css +171 -28
- package/styles/recurrence-editor/bootstrap4.scss +5 -0
- package/styles/recurrence-editor/bootstrap5-dark.css +178 -28
- package/styles/recurrence-editor/bootstrap5-dark.scss +5 -0
- package/styles/recurrence-editor/bootstrap5.css +178 -28
- package/styles/recurrence-editor/bootstrap5.scss +5 -0
- package/styles/recurrence-editor/fabric-dark.css +113 -28
- package/styles/recurrence-editor/fabric-dark.scss +5 -0
- package/styles/recurrence-editor/fabric.css +106 -28
- package/styles/recurrence-editor/fabric.scss +5 -0
- package/styles/recurrence-editor/fluent-dark.css +158 -28
- package/styles/recurrence-editor/fluent-dark.scss +5 -0
- package/styles/recurrence-editor/fluent.css +158 -28
- package/styles/recurrence-editor/fluent.scss +5 -0
- package/styles/recurrence-editor/highcontrast-light.css +110 -28
- package/styles/recurrence-editor/highcontrast-light.scss +5 -0
- package/styles/recurrence-editor/highcontrast.css +110 -28
- package/styles/recurrence-editor/highcontrast.scss +5 -0
- package/styles/recurrence-editor/material-dark.css +138 -28
- package/styles/recurrence-editor/material-dark.scss +5 -0
- package/styles/recurrence-editor/material.css +163 -28
- package/styles/recurrence-editor/material.scss +5 -0
- package/styles/recurrence-editor/tailwind-dark.css +126 -28
- package/styles/recurrence-editor/tailwind-dark.scss +5 -0
- package/styles/recurrence-editor/tailwind.css +126 -28
- package/styles/recurrence-editor/tailwind.scss +5 -0
- package/styles/schedule/_bootstrap-dark-definition.scss +63 -4
- package/styles/schedule/_bootstrap-definition.scss +62 -3
- package/styles/schedule/_bootstrap4-definition.scss +65 -5
- package/styles/schedule/_bootstrap5-definition.scss +63 -5
- package/styles/schedule/_fabric-dark-definition.scss +61 -3
- package/styles/schedule/_fabric-definition.scss +62 -3
- package/styles/schedule/_fluent-definition.scss +63 -6
- package/styles/schedule/_fusionnew-definition.scss +60 -3
- package/styles/schedule/_highcontrast-definition.scss +62 -3
- package/styles/schedule/_highcontrast-light-definition.scss +62 -3
- package/styles/schedule/_layout.scss +117 -506
- package/styles/schedule/_material-dark-definition.scss +63 -4
- package/styles/schedule/_material-definition.scss +63 -4
- package/styles/schedule/_material3-definition.scss +62 -3
- package/styles/schedule/_tailwind-definition.scss +63 -6
- package/styles/schedule/_theme.scss +97 -62
- package/styles/schedule/bootstrap-dark.css +332 -73
- package/styles/schedule/bootstrap-dark.scss +11 -0
- package/styles/schedule/bootstrap.css +331 -71
- package/styles/schedule/bootstrap.scss +11 -0
- package/styles/schedule/bootstrap4.css +343 -113
- package/styles/schedule/bootstrap4.scss +11 -0
- package/styles/schedule/bootstrap5-dark.css +307 -109
- package/styles/schedule/bootstrap5-dark.scss +11 -0
- package/styles/schedule/bootstrap5.css +307 -109
- package/styles/schedule/bootstrap5.scss +11 -0
- package/styles/schedule/fabric-dark.css +298 -73
- package/styles/schedule/fabric-dark.scss +11 -0
- package/styles/schedule/fabric.css +284 -78
- package/styles/schedule/fabric.scss +11 -0
- package/styles/schedule/fluent-dark.css +363 -74
- package/styles/schedule/fluent-dark.scss +11 -0
- package/styles/schedule/fluent.css +363 -74
- package/styles/schedule/fluent.scss +11 -0
- package/styles/schedule/highcontrast-light.css +375 -70
- package/styles/schedule/highcontrast-light.scss +11 -0
- package/styles/schedule/highcontrast.css +367 -85
- package/styles/schedule/highcontrast.scss +11 -0
- package/styles/schedule/material-dark.css +330 -82
- package/styles/schedule/material-dark.scss +11 -0
- package/styles/schedule/material.css +372 -82
- package/styles/schedule/material.scss +11 -0
- package/styles/schedule/tailwind-dark.css +246 -111
- package/styles/schedule/tailwind-dark.scss +11 -0
- package/styles/schedule/tailwind.css +246 -111
- package/styles/schedule/tailwind.scss +11 -0
- package/styles/tailwind-dark.css +279 -140
- package/styles/tailwind.css +279 -140
|
@@ -13,10 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.e-header-calendar {
|
|
16
|
-
|
|
17
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
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,
|