@mintplayer/scheduler-wc 1.0.0

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.
@@ -0,0 +1,619 @@
1
+ /**
2
+ * Scheduler CSS styles as a template literal
3
+ */
4
+ export const schedulerStyles = `
5
+ :host {
6
+ display: block;
7
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
8
+ font-size: 14px;
9
+ --scheduler-border-color: #ddd;
10
+ --scheduler-header-bg: #f8f9fa;
11
+ --scheduler-today-bg: #fff3cd;
12
+ --scheduler-slot-height: 40px;
13
+ --scheduler-time-gutter-width: 80px;
14
+ --scheduler-event-border-radius: 4px;
15
+ --scheduler-now-indicator-color: #dc3545;
16
+ --scheduler-preview-bg: rgba(0, 123, 255, 0.3);
17
+ --scheduler-greyed-slot-bg: rgba(0, 0, 0, 0.1);
18
+ --scheduler-column-min-width: 120px;
19
+ --scheduler-touch-hold-duration: 500ms;
20
+ }
21
+
22
+ * {
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ .scheduler-container {
27
+ display: flex;
28
+ flex-direction: column;
29
+ height: 100%;
30
+ border: 1px solid var(--scheduler-border-color);
31
+ border-radius: 4px;
32
+ overflow: hidden;
33
+ background: #fff;
34
+ }
35
+
36
+ /* Header */
37
+ .scheduler-header {
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: space-between;
41
+ padding: 8px 12px;
42
+ background: var(--scheduler-header-bg);
43
+ border-bottom: 1px solid var(--scheduler-border-color);
44
+ flex-shrink: 0;
45
+ }
46
+
47
+ .scheduler-nav {
48
+ display: flex;
49
+ align-items: center;
50
+ gap: 8px;
51
+ }
52
+
53
+ .scheduler-nav button {
54
+ padding: 6px 12px;
55
+ border: 1px solid var(--scheduler-border-color);
56
+ border-radius: 4px;
57
+ background: #fff;
58
+ cursor: pointer;
59
+ font-size: 14px;
60
+ }
61
+
62
+ .scheduler-nav button:hover {
63
+ background: #e9ecef;
64
+ }
65
+
66
+ .scheduler-title {
67
+ font-size: 18px;
68
+ font-weight: 600;
69
+ }
70
+
71
+ .scheduler-view-switcher {
72
+ display: flex;
73
+ gap: 4px;
74
+ }
75
+
76
+ .scheduler-view-switcher button {
77
+ padding: 6px 12px;
78
+ border: 1px solid var(--scheduler-border-color);
79
+ border-radius: 4px;
80
+ background: #fff;
81
+ cursor: pointer;
82
+ font-size: 13px;
83
+ }
84
+
85
+ .scheduler-view-switcher button:hover {
86
+ background: #e9ecef;
87
+ }
88
+
89
+ .scheduler-view-switcher button.active {
90
+ background: #0d6efd;
91
+ color: #fff;
92
+ border-color: #0d6efd;
93
+ }
94
+
95
+ /* Main content area */
96
+ .scheduler-body {
97
+ display: flex;
98
+ flex: 1;
99
+ overflow: hidden;
100
+ }
101
+
102
+ .scheduler-sidebar {
103
+ width: var(--scheduler-time-gutter-width);
104
+ flex-shrink: 0;
105
+ border-right: 1px solid var(--scheduler-border-color);
106
+ background: var(--scheduler-header-bg);
107
+ }
108
+
109
+ .scheduler-content {
110
+ flex: 1;
111
+ overflow: auto;
112
+ position: relative;
113
+ }
114
+
115
+ /* Week/Day View Grid */
116
+ .scheduler-grid {
117
+ display: grid;
118
+ min-width: 100%;
119
+ }
120
+
121
+ .scheduler-day-headers {
122
+ display: flex;
123
+ border-bottom: 1px solid var(--scheduler-border-color);
124
+ background: var(--scheduler-header-bg);
125
+ position: sticky;
126
+ top: 0;
127
+ z-index: 10;
128
+ min-width: fit-content;
129
+ }
130
+
131
+ .scheduler-day-header {
132
+ flex: 1 0 var(--scheduler-column-min-width);
133
+ min-width: var(--scheduler-column-min-width);
134
+ text-align: center;
135
+ padding: 8px 4px;
136
+ border-right: 1px solid var(--scheduler-border-color);
137
+ font-weight: 500;
138
+ }
139
+
140
+ .scheduler-day-header:last-child {
141
+ border-right: none;
142
+ }
143
+
144
+ .scheduler-day-header.today {
145
+ background: var(--scheduler-today-bg);
146
+ }
147
+
148
+ .scheduler-day-header .day-name {
149
+ font-size: 12px;
150
+ color: #666;
151
+ text-transform: uppercase;
152
+ }
153
+
154
+ .scheduler-day-header .day-number {
155
+ font-size: 20px;
156
+ font-weight: 600;
157
+ margin-top: 2px;
158
+ }
159
+
160
+ .scheduler-time-grid {
161
+ display: flex;
162
+ position: relative;
163
+ min-width: fit-content;
164
+ }
165
+
166
+ .scheduler-time-gutter {
167
+ width: var(--scheduler-time-gutter-width);
168
+ flex-shrink: 0;
169
+ border-right: 1px solid var(--scheduler-border-color);
170
+ background: var(--scheduler-header-bg);
171
+ }
172
+
173
+ .scheduler-time-slot-label {
174
+ height: var(--scheduler-slot-height);
175
+ padding: 0 8px;
176
+ font-size: 12px;
177
+ color: #666;
178
+ text-align: right;
179
+ position: relative;
180
+ top: -8px;
181
+ white-space: nowrap;
182
+ }
183
+
184
+ .scheduler-days-container {
185
+ display: flex;
186
+ flex: 1;
187
+ position: relative;
188
+ min-width: fit-content;
189
+ }
190
+
191
+ .scheduler-day-column {
192
+ flex: 1 0 var(--scheduler-column-min-width);
193
+ min-width: var(--scheduler-column-min-width);
194
+ position: relative;
195
+ border-right: 1px solid var(--scheduler-border-color);
196
+ }
197
+
198
+ .scheduler-day-column:last-child {
199
+ border-right: none;
200
+ }
201
+
202
+ .scheduler-time-slot {
203
+ height: var(--scheduler-slot-height);
204
+ border-bottom: 1px solid #eee;
205
+ position: relative;
206
+ }
207
+
208
+ .scheduler-time-slot:nth-child(2n) {
209
+ border-bottom-color: var(--scheduler-border-color);
210
+ }
211
+
212
+ .scheduler-time-slot.greyed {
213
+ background: var(--scheduler-greyed-slot-bg);
214
+ }
215
+
216
+ /* Events */
217
+ .scheduler-events-container {
218
+ position: absolute;
219
+ top: 0;
220
+ left: 0;
221
+ right: 0;
222
+ bottom: 0;
223
+ pointer-events: none;
224
+ }
225
+
226
+ .scheduler-event {
227
+ position: absolute;
228
+ border-radius: var(--scheduler-event-border-radius);
229
+ padding: 2px 4px;
230
+ font-size: 12px;
231
+ overflow: hidden;
232
+ cursor: pointer;
233
+ pointer-events: auto;
234
+ border-left: 3px solid rgba(0, 0, 0, 0.2);
235
+ }
236
+
237
+ .scheduler-event:hover {
238
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
239
+ }
240
+
241
+ .scheduler-event.selected {
242
+ box-shadow: 0 0 0 3px #212529;
243
+ }
244
+
245
+ .scheduler-event .event-title {
246
+ font-weight: 500;
247
+ white-space: nowrap;
248
+ overflow: hidden;
249
+ text-overflow: ellipsis;
250
+ }
251
+
252
+ .scheduler-event .event-time {
253
+ font-size: 11px;
254
+ opacity: 0.8;
255
+ }
256
+
257
+ .scheduler-event.preview {
258
+ background: var(--scheduler-preview-bg);
259
+ border: 2px dashed #0d6efd;
260
+ pointer-events: none;
261
+ }
262
+
263
+ /* Resize handles */
264
+ .scheduler-event .resize-handle {
265
+ position: absolute;
266
+ left: 0;
267
+ right: 0;
268
+ height: 8px;
269
+ cursor: ns-resize;
270
+ }
271
+
272
+ .scheduler-event .resize-handle.top {
273
+ top: 0;
274
+ }
275
+
276
+ .scheduler-event .resize-handle.bottom {
277
+ bottom: 0;
278
+ }
279
+
280
+ /* Now indicator */
281
+ .scheduler-now-indicator {
282
+ position: absolute;
283
+ left: 0;
284
+ right: 0;
285
+ height: 2px;
286
+ background: var(--scheduler-now-indicator-color);
287
+ z-index: 5;
288
+ pointer-events: none;
289
+ }
290
+
291
+ .scheduler-now-indicator::before {
292
+ content: '';
293
+ position: absolute;
294
+ left: -4px;
295
+ top: -4px;
296
+ width: 10px;
297
+ height: 10px;
298
+ border-radius: 50%;
299
+ background: var(--scheduler-now-indicator-color);
300
+ }
301
+
302
+ /* Month View */
303
+ .scheduler-month-grid {
304
+ display: grid;
305
+ grid-template-columns: repeat(7, 1fr);
306
+ grid-auto-rows: minmax(100px, 1fr);
307
+ height: 100%;
308
+ }
309
+
310
+ .scheduler-month-day {
311
+ border-right: 1px solid var(--scheduler-border-color);
312
+ border-bottom: 1px solid var(--scheduler-border-color);
313
+ padding: 4px;
314
+ overflow: hidden;
315
+ }
316
+
317
+ .scheduler-month-day:nth-child(7n) {
318
+ border-right: none;
319
+ }
320
+
321
+ .scheduler-month-day.other-month {
322
+ background: #f8f9fa;
323
+ color: #adb5bd;
324
+ }
325
+
326
+ .scheduler-month-day.today {
327
+ background: var(--scheduler-today-bg);
328
+ }
329
+
330
+ .scheduler-month-day .day-number {
331
+ font-weight: 500;
332
+ margin-bottom: 4px;
333
+ }
334
+
335
+ .scheduler-month-day .month-events {
336
+ display: flex;
337
+ flex-direction: column;
338
+ gap: 2px;
339
+ }
340
+
341
+ .scheduler-month-event {
342
+ padding: 2px 4px;
343
+ border-radius: 2px;
344
+ font-size: 11px;
345
+ white-space: nowrap;
346
+ overflow: hidden;
347
+ text-overflow: ellipsis;
348
+ cursor: pointer;
349
+ }
350
+
351
+ .scheduler-more-link {
352
+ font-size: 11px;
353
+ color: #0d6efd;
354
+ cursor: pointer;
355
+ margin-top: 2px;
356
+ }
357
+
358
+ /* Year View */
359
+ .scheduler-year-grid {
360
+ display: grid;
361
+ grid-template-columns: repeat(4, 1fr);
362
+ gap: 16px;
363
+ padding: 16px;
364
+ }
365
+
366
+ .scheduler-year-month {
367
+ border: 1px solid var(--scheduler-border-color);
368
+ border-radius: 4px;
369
+ overflow: hidden;
370
+ }
371
+
372
+ .scheduler-year-month-header {
373
+ padding: 8px;
374
+ background: var(--scheduler-header-bg);
375
+ font-weight: 600;
376
+ text-align: center;
377
+ cursor: pointer;
378
+ }
379
+
380
+ .scheduler-year-month-header:hover {
381
+ background: #e9ecef;
382
+ }
383
+
384
+ .scheduler-mini-month {
385
+ display: grid;
386
+ grid-template-columns: repeat(7, 1fr);
387
+ gap: 1px;
388
+ padding: 4px;
389
+ }
390
+
391
+ .scheduler-mini-day {
392
+ aspect-ratio: 1;
393
+ display: flex;
394
+ align-items: center;
395
+ justify-content: center;
396
+ font-size: 11px;
397
+ cursor: pointer;
398
+ border-radius: 50%;
399
+ }
400
+
401
+ .scheduler-mini-day:hover {
402
+ background: #e9ecef;
403
+ }
404
+
405
+ .scheduler-mini-day.has-events {
406
+ font-weight: 600;
407
+ }
408
+
409
+ .scheduler-mini-day.has-events::after {
410
+ content: '';
411
+ position: absolute;
412
+ bottom: 2px;
413
+ width: 4px;
414
+ height: 4px;
415
+ border-radius: 50%;
416
+ background: #0d6efd;
417
+ }
418
+
419
+ .scheduler-mini-day.today {
420
+ background: var(--scheduler-today-bg);
421
+ }
422
+
423
+ .scheduler-mini-day.other-month {
424
+ color: #adb5bd;
425
+ }
426
+
427
+ /* Timeline View */
428
+ .scheduler-timeline {
429
+ display: flex;
430
+ flex-direction: column;
431
+ height: 100%;
432
+ }
433
+
434
+ .scheduler-timeline-header {
435
+ display: flex;
436
+ border-bottom: 1px solid var(--scheduler-border-color);
437
+ background: var(--scheduler-header-bg);
438
+ position: sticky;
439
+ top: 0;
440
+ z-index: 10;
441
+ }
442
+
443
+ .scheduler-resource-header {
444
+ width: 200px;
445
+ flex-shrink: 0;
446
+ padding: 8px;
447
+ border-right: 1px solid var(--scheduler-border-color);
448
+ font-weight: 600;
449
+ }
450
+
451
+ .scheduler-timeline-slots-header {
452
+ display: flex;
453
+ flex: 1;
454
+ overflow: hidden;
455
+ }
456
+
457
+ .scheduler-timeline-slot-header {
458
+ flex-shrink: 0;
459
+ padding: 8px;
460
+ text-align: center;
461
+ border-right: 1px solid var(--scheduler-border-color);
462
+ font-size: 12px;
463
+ }
464
+
465
+ .scheduler-timeline-body {
466
+ display: flex;
467
+ flex-direction: column;
468
+ flex: 1;
469
+ overflow: auto;
470
+ }
471
+
472
+ .scheduler-timeline-row {
473
+ display: flex;
474
+ border-bottom: 1px solid var(--scheduler-border-color);
475
+ min-height: 40px;
476
+ }
477
+
478
+ .scheduler-timeline-row.group {
479
+ background: var(--scheduler-header-bg);
480
+ font-weight: 600;
481
+ }
482
+
483
+ .scheduler-resource-cell {
484
+ width: 200px;
485
+ flex-shrink: 0;
486
+ padding: 8px;
487
+ border-right: 1px solid var(--scheduler-border-color);
488
+ display: flex;
489
+ align-items: center;
490
+ gap: 8px;
491
+ }
492
+
493
+ .scheduler-resource-cell .expand-toggle {
494
+ cursor: pointer;
495
+ width: 16px;
496
+ height: 16px;
497
+ display: flex;
498
+ align-items: center;
499
+ justify-content: center;
500
+ }
501
+
502
+ .scheduler-timeline-slots {
503
+ display: flex;
504
+ flex: 1;
505
+ position: relative;
506
+ }
507
+
508
+ .scheduler-timeline-slot {
509
+ flex-shrink: 0;
510
+ border-right: 1px solid #eee;
511
+ height: 100%;
512
+ }
513
+
514
+ .scheduler-timeline-slot.greyed {
515
+ background: var(--scheduler-greyed-slot-bg);
516
+ }
517
+
518
+ .scheduler-timeline-events {
519
+ position: absolute;
520
+ top: 0;
521
+ left: 0;
522
+ right: 0;
523
+ bottom: 0;
524
+ pointer-events: none;
525
+ }
526
+
527
+ .scheduler-timeline-event {
528
+ position: absolute;
529
+ height: calc(100% - 4px);
530
+ top: 2px;
531
+ border-radius: var(--scheduler-event-border-radius);
532
+ padding: 2px 6px;
533
+ font-size: 12px;
534
+ overflow: hidden;
535
+ cursor: pointer;
536
+ pointer-events: auto;
537
+ }
538
+
539
+ .scheduler-timeline-event.selected {
540
+ box-shadow: 0 0 0 3px #212529;
541
+ }
542
+
543
+ /* Loading state */
544
+ .scheduler-loading {
545
+ display: flex;
546
+ align-items: center;
547
+ justify-content: center;
548
+ height: 200px;
549
+ color: #666;
550
+ }
551
+
552
+ /* Empty state */
553
+ .scheduler-empty {
554
+ display: flex;
555
+ align-items: center;
556
+ justify-content: center;
557
+ height: 200px;
558
+ color: #666;
559
+ font-style: italic;
560
+ }
561
+
562
+ /* Touch drag mode indicator */
563
+ .scheduler-container.touch-drag-mode {
564
+ cursor: grabbing;
565
+ user-select: none;
566
+ -webkit-user-select: none;
567
+ }
568
+
569
+ .scheduler-container.touch-drag-mode .scheduler-content {
570
+ overflow: hidden;
571
+ }
572
+
573
+ .scheduler-event.touch-hold-pending {
574
+ animation: touch-hold-pulse 0.5s ease-in-out;
575
+ }
576
+
577
+ .scheduler-event.touch-hold-active {
578
+ transform: scale(1.02);
579
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
580
+ z-index: 100;
581
+ }
582
+
583
+ .scheduler-time-slot.touch-hold-pending,
584
+ .scheduler-timeline-slot.touch-hold-pending {
585
+ animation: touch-hold-pulse 0.5s ease-in-out;
586
+ }
587
+
588
+ .scheduler-time-slot.touch-hold-active,
589
+ .scheduler-timeline-slot.touch-hold-active {
590
+ background: var(--scheduler-preview-bg);
591
+ }
592
+
593
+ @keyframes touch-hold-pulse {
594
+ 0% { opacity: 1; }
595
+ 50% { opacity: 0.7; }
596
+ 100% { opacity: 1; }
597
+ }
598
+
599
+ /* Scrollbar styling */
600
+ .scheduler-content::-webkit-scrollbar {
601
+ width: 8px;
602
+ height: 8px;
603
+ }
604
+
605
+ .scheduler-content::-webkit-scrollbar-track {
606
+ background: #f1f1f1;
607
+ }
608
+
609
+ .scheduler-content::-webkit-scrollbar-thumb {
610
+ background: #c1c1c1;
611
+ border-radius: 4px;
612
+ }
613
+
614
+ .scheduler-content::-webkit-scrollbar-thumb:hover {
615
+ background: #a1a1a1;
616
+ }
617
+ `;
618
+ export default schedulerStyles;
619
+ //# sourceMappingURL=scheduler.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduler.styles.js","sourceRoot":"","sources":["../../../../../libs/mp-scheduler-wc/src/styles/scheduler.styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqmB9B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { SchedulerState } from '../state/scheduler-state';
2
+ /**
3
+ * Base class for scheduler views
4
+ */
5
+ export declare abstract class BaseView {
6
+ protected container: HTMLElement;
7
+ protected state: SchedulerState;
8
+ constructor(container: HTMLElement, state: SchedulerState);
9
+ /**
10
+ * Update the view with new state
11
+ */
12
+ abstract update(state: SchedulerState): void;
13
+ /**
14
+ * Render the view
15
+ */
16
+ abstract render(): void;
17
+ /**
18
+ * Clean up the view
19
+ */
20
+ abstract destroy(): void;
21
+ /**
22
+ * Get the view's root element
23
+ */
24
+ getElement(): HTMLElement;
25
+ /**
26
+ * Helper to create an element with classes
27
+ */
28
+ protected createElement<K extends keyof HTMLElementTagNameMap>(tag: K, ...classes: string[]): HTMLElementTagNameMap[K];
29
+ /**
30
+ * Helper to set data attributes
31
+ */
32
+ protected setData(element: HTMLElement, data: Record<string, string | number>): void;
33
+ /**
34
+ * Helper to clear container
35
+ */
36
+ protected clearContainer(): void;
37
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Base class for scheduler views
3
+ */
4
+ export class BaseView {
5
+ constructor(container, state) {
6
+ this.container = container;
7
+ this.state = state;
8
+ }
9
+ /**
10
+ * Get the view's root element
11
+ */
12
+ getElement() {
13
+ return this.container;
14
+ }
15
+ /**
16
+ * Helper to create an element with classes
17
+ */
18
+ createElement(tag, ...classes) {
19
+ const el = document.createElement(tag);
20
+ if (classes.length > 0) {
21
+ el.classList.add(...classes);
22
+ }
23
+ return el;
24
+ }
25
+ /**
26
+ * Helper to set data attributes
27
+ */
28
+ setData(element, data) {
29
+ for (const [key, value] of Object.entries(data)) {
30
+ element.dataset[key] = String(value);
31
+ }
32
+ }
33
+ /**
34
+ * Helper to clear container
35
+ */
36
+ clearContainer() {
37
+ this.container.innerHTML = '';
38
+ }
39
+ }
40
+ //# sourceMappingURL=base-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-view.js","sourceRoot":"","sources":["../../../../../libs/mp-scheduler-wc/src/views/base-view.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAgB,QAAQ;IAI5B,YAAY,SAAsB,EAAE,KAAqB;QACvD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAiBD;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;OAEG;IACO,aAAa,CACrB,GAAM,EACN,GAAG,OAAiB;QAEpB,MAAM,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC;QAC/B,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;OAEG;IACO,OAAO,CACf,OAAoB,EACpB,IAAqC;QAErC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IAED;;OAEG;IACO,cAAc;QACtB,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC;IAChC,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import { BaseView } from './base-view';
2
+ import { SchedulerState } from '../state/scheduler-state';
3
+ /**
4
+ * Day view renderer
5
+ */
6
+ export declare class DayView extends BaseView {
7
+ private eventsContainer;
8
+ private slotElements;
9
+ render(): void;
10
+ private renderEvents;
11
+ private createEventElement;
12
+ private renderNowIndicator;
13
+ update(state: SchedulerState): void;
14
+ private optionsRequireRerender;
15
+ private updateGreyedSlots;
16
+ private renderPreviewEvent;
17
+ destroy(): void;
18
+ }