@progress/kendo-angular-scheduler 13.4.1-develop.1 → 13.4.1-develop.3
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/data-binding.directive.d.ts +1 -8
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/esm2020/data-binding.directive.mjs +1 -8
- package/esm2020/editing/edit-dialog-template.directive.mjs +1 -1
- package/esm2020/editing-directives/reactive-editing.directive.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command.directive.mjs +1 -5
- package/esm2020/pdf/pdf.module.mjs +7 -19
- package/esm2020/scheduler.module.mjs +8 -20
- package/esm2020/toolbar/toolbar-template.directive.mjs +0 -8
- package/esm2020/views/scheduler-view.directive.mjs +1 -1
- package/esm2020/views/templates/agenda-date-template.directive.mjs +1 -8
- package/esm2020/views/templates/agenda-time-template.directive.mjs +1 -8
- package/esm2020/views/templates/all-day-event-template.directive.mjs +1 -8
- package/esm2020/views/templates/all-day-slot-template.directive.mjs +1 -8
- package/esm2020/views/templates/date-header-template.directive.mjs +1 -8
- package/esm2020/views/templates/event-template.directive.mjs +1 -8
- package/esm2020/views/templates/group-header-template.directive.mjs +1 -8
- package/esm2020/views/templates/major-time-header-template.directive.mjs +1 -8
- package/esm2020/views/templates/minor-time-header-template.directive.mjs +1 -8
- package/esm2020/views/templates/month-day-slot-template.directive.mjs +1 -8
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +1 -1
- package/esm2020/views/templates/time-slot-template.directive.mjs +1 -8
- package/fesm2015/progress-kendo-angular-scheduler.mjs +34 -154
- package/fesm2020/progress-kendo-angular-scheduler.mjs +34 -154
- package/package.json +12 -12
- package/pdf/pdf-command.directive.d.ts +1 -5
- package/pdf/pdf.module.d.ts +7 -19
- package/scheduler.module.d.ts +8 -20
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/toolbar-template.directive.d.ts +0 -8
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/templates/agenda-date-template.directive.d.ts +1 -8
- package/views/templates/agenda-time-template.directive.d.ts +1 -8
- package/views/templates/all-day-event-template.directive.d.ts +1 -8
- package/views/templates/all-day-slot-template.directive.d.ts +1 -8
- package/views/templates/date-header-template.directive.d.ts +1 -8
- package/views/templates/event-template.directive.d.ts +1 -8
- package/views/templates/group-header-template.directive.d.ts +1 -8
- package/views/templates/major-time-header-template.directive.d.ts +1 -8
- package/views/templates/minor-time-header-template.directive.d.ts +1 -8
- package/views/templates/month-day-slot-template.directive.d.ts +1 -8
- package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
- package/views/templates/time-slot-template.directive.d.ts +1 -8
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '13.4.1-develop.
|
|
51
|
+
publishDate: 1693395130,
|
|
52
|
+
version: '13.4.1-develop.3',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -384,14 +384,6 @@ class SlotDragEndEvent extends SlotDragEvent {
|
|
|
384
384
|
*
|
|
385
385
|
* To emit navigation events, the components inside the toolbar can inject
|
|
386
386
|
* the [`ToolbarService`]({% slug api_scheduler_toolbarservice %}).
|
|
387
|
-
*
|
|
388
|
-
* {% meta height:700 %}
|
|
389
|
-
* {% embed_file toolbar/template/app.component.ts preview %}
|
|
390
|
-
* {% embed_file toolbar/template/my-navigation.component.ts %}
|
|
391
|
-
* {% embed_file toolbar/template/app.module.ts %}
|
|
392
|
-
* {% embed_file shared/events-utc.ts %}
|
|
393
|
-
* {% embed_file shared/main.ts %}
|
|
394
|
-
* {% endmeta %}
|
|
395
387
|
*/
|
|
396
388
|
class ToolbarTemplateDirective {
|
|
397
389
|
constructor(templateRef) {
|
|
@@ -491,17 +483,10 @@ var slotDragEventName;
|
|
|
491
483
|
/**
|
|
492
484
|
* Represents the template which renders the date header in the **Agenda** view.
|
|
493
485
|
* To define the date template, nest an `<ng-template>` tag with the `kendoSchedulerAgendaDateTemplate`
|
|
494
|
-
* directive inside the `<kendo-scheduler-agenda-view>` or `<kendo-scheduler>` components.
|
|
486
|
+
* directive inside the `<kendo-scheduler-agenda-view>` or `<kendo-scheduler>` components ([see example](slug:templates_scheduler#toc-agenda-dates)).
|
|
495
487
|
*
|
|
496
488
|
* The available fields in the template context are:
|
|
497
489
|
* - `date`—The header date.
|
|
498
|
-
*
|
|
499
|
-
* {% meta height:500 %}
|
|
500
|
-
* {% embed_file templates/agenda-date-header/app.component.ts preview %}
|
|
501
|
-
* {% embed_file templates/agenda-date-header/app.module.ts %}
|
|
502
|
-
* {% embed_file shared/main.ts %}
|
|
503
|
-
* {% embed_file shared/events-utc.ts %}
|
|
504
|
-
* {% endmeta %}
|
|
505
490
|
*/
|
|
506
491
|
class AgendaDateTemplateDirective {
|
|
507
492
|
constructor(templateRef) {
|
|
@@ -524,7 +509,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
524
509
|
/**
|
|
525
510
|
* Represents the template which renders the time header in the **Agenda** view.
|
|
526
511
|
* To define the time template, nest an `<ng-template>` tag with the `kendoSchedulerAgendaTimeTemplate`
|
|
527
|
-
* directive inside the `<kendo-scheduler>` or in the `<kendo-scheduler-agenda-view>` component.
|
|
512
|
+
* directive inside the `<kendo-scheduler>` or in the `<kendo-scheduler-agenda-view>` component ([see example](slug:templates_scheduler#toc-agenda-times)).
|
|
528
513
|
*
|
|
529
514
|
* The available fields in the template context are:
|
|
530
515
|
* - `start`—The start date of the event.
|
|
@@ -533,13 +518,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
533
518
|
* - `description`—The description of the event.
|
|
534
519
|
* - `isAllDay`—A Boolean value which indicates if the event is all-day.
|
|
535
520
|
* - `resources`—The resources of the event.
|
|
536
|
-
*
|
|
537
|
-
* {% meta height:500 %}
|
|
538
|
-
* {% embed_file templates/agenda-time-header/app.component.ts preview %}
|
|
539
|
-
* {% embed_file templates/agenda-time-header/app.module.ts %}
|
|
540
|
-
* {% embed_file shared/main.ts %}
|
|
541
|
-
* {% embed_file shared/events-utc.ts %}
|
|
542
|
-
* {% endmeta %}
|
|
543
521
|
*/
|
|
544
522
|
class AgendaTimeTemplateDirective {
|
|
545
523
|
constructor(templateRef) {
|
|
@@ -562,18 +540,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
562
540
|
/**
|
|
563
541
|
* Represents the template for and assists the content customization of all-day events.
|
|
564
542
|
* To define the all-day event template, nest an `<ng-template>` tag with the `kendoSchedulerAllDayEventTemplate`
|
|
565
|
-
* directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or
|
|
543
|
+
* directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](slug:templates_scheduler#toc-all-day-events)).
|
|
566
544
|
*
|
|
567
545
|
* The available fields in the template context are:
|
|
568
546
|
* - `event`—The event that is associated with the item.
|
|
569
547
|
* - `resources`—The resources of the event.
|
|
570
|
-
*
|
|
571
|
-
* {% meta height:500 %}
|
|
572
|
-
* {% embed_file templates/all-day-event/app.component.ts preview %}
|
|
573
|
-
* {% embed_file templates/all-day-event/app.module.ts %}
|
|
574
|
-
* {% embed_file shared/main.ts %}
|
|
575
|
-
* {% embed_file shared/events-utc.ts %}
|
|
576
|
-
* {% endmeta %}
|
|
577
548
|
*/
|
|
578
549
|
class AllDayEventTemplateDirective {
|
|
579
550
|
constructor(templateRef) {
|
|
@@ -596,18 +567,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
596
567
|
/**
|
|
597
568
|
* Represents the template for and assists the content customization of all-day slots.
|
|
598
569
|
* To define the all-day slot template, nest an `<ng-template>` tag with the `kendoSchedulerAllDaySlotTemplate`
|
|
599
|
-
* directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or
|
|
570
|
+
* directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, or `<kendo-scheduler-week-view>` component ([see example](slug:templates_scheduler#toc-all-day-slots)).
|
|
600
571
|
*
|
|
601
572
|
* The available fields in the template context are:
|
|
602
573
|
* - `date`—The date of the slot.
|
|
603
574
|
* - `resources`—The resources of the slot.
|
|
604
|
-
*
|
|
605
|
-
* {% meta height:500 %}
|
|
606
|
-
* {% embed_file templates/all-day-slot/app.component.ts preview %}
|
|
607
|
-
* {% embed_file templates/all-day-slot/app.module.ts %}
|
|
608
|
-
* {% embed_file shared/main.ts %}
|
|
609
|
-
* {% embed_file shared/events-utc.ts %}
|
|
610
|
-
* {% endmeta %}
|
|
611
575
|
*/
|
|
612
576
|
class AllDaySlotTemplateDirective {
|
|
613
577
|
constructor(templateRef) {
|
|
@@ -631,17 +595,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
631
595
|
* Represents the template which renders the date header in the **Day**, **Week**, and **Timeline** views.
|
|
632
596
|
* To define the day template, nest an `<ng-template>` tag with the `kendoSchedulerDateHeaderTemplate`
|
|
633
597
|
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
634
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components.
|
|
598
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components ([see example](slug:templates_scheduler#toc-date-headers)).
|
|
635
599
|
*
|
|
636
600
|
* The available fields in the template context are:
|
|
637
601
|
* - `date`—The header date.
|
|
638
|
-
*
|
|
639
|
-
* {% meta height:500 %}
|
|
640
|
-
* {% embed_file templates/date-header/app.component.ts preview %}
|
|
641
|
-
* {% embed_file templates/date-header/app.module.ts %}
|
|
642
|
-
* {% embed_file shared/main.ts %}
|
|
643
|
-
* {% embed_file shared/events-utc.ts %}
|
|
644
|
-
* {% endmeta %}
|
|
645
602
|
*/
|
|
646
603
|
class DateHeaderTemplateDirective {
|
|
647
604
|
constructor(templateRef) {
|
|
@@ -664,18 +621,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
664
621
|
/**
|
|
665
622
|
* Represents the template for and assists the content customization of the Scheduler events.
|
|
666
623
|
* To define the event template, nest an `<ng-template>` tag with the `kendoSchedulerEventTemplate`
|
|
667
|
-
* directive inside the `<kendo-scheduler>`, or in the view components.
|
|
624
|
+
* directive inside the `<kendo-scheduler>`, or in the view components ([see example](slug:templates_scheduler#toc-event-rendering)).
|
|
668
625
|
*
|
|
669
626
|
* The available fields in the template context are:
|
|
670
627
|
* - `event`—The event that is associated with the item.
|
|
671
628
|
* - `resources`—The resources of the event.
|
|
672
|
-
*
|
|
673
|
-
* {% meta height:500 %}
|
|
674
|
-
* {% embed_file templates/event/app.component.ts preview %}
|
|
675
|
-
* {% embed_file templates/event/app.module.ts %}
|
|
676
|
-
* {% embed_file shared/main.ts %}
|
|
677
|
-
* {% embed_file shared/events-utc.ts %}
|
|
678
|
-
* {% endmeta %}
|
|
679
629
|
*/
|
|
680
630
|
class EventTemplateDirective {
|
|
681
631
|
constructor(templateRef) {
|
|
@@ -699,17 +649,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
699
649
|
* Represents the template which renders the resource group header in the **Day**, **Week**, and **Timeline** views.
|
|
700
650
|
* To define the template, nest an `<ng-template>` tag with the `kendoSchedulerGroupHeaderTemplate`
|
|
701
651
|
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
702
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components.
|
|
652
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components ([see example](slug:templates_scheduler#toc-group-headers)).
|
|
703
653
|
*
|
|
704
654
|
* The available fields in the template context are:
|
|
705
655
|
* - `resource`—The resource item.
|
|
706
|
-
*
|
|
707
|
-
* {% meta height:500 %}
|
|
708
|
-
* {% embed_file templates/group-header/app.component.ts preview %}
|
|
709
|
-
* {% embed_file templates/group-header/app.module.ts %}
|
|
710
|
-
* {% embed_file shared/main.ts %}
|
|
711
|
-
* {% embed_file shared/events-utc.ts %}
|
|
712
|
-
* {% endmeta %}
|
|
713
656
|
*/
|
|
714
657
|
class GroupHeaderTemplateDirective {
|
|
715
658
|
constructor(templateRef) {
|
|
@@ -732,17 +675,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
732
675
|
/**
|
|
733
676
|
* Represents the template for the major-time headers in the **Day** and **Week** views.
|
|
734
677
|
* To define the major-time header template, nest an `<ng-template>` tag with the `kendoSchedulerMajorTimeHeaderTemplate`
|
|
735
|
-
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>` and `<kendo-scheduler-week-view>` components.
|
|
678
|
+
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>` and `<kendo-scheduler-week-view>` components ([see example](slug:templates_scheduler#toc-major-time-headers)).
|
|
736
679
|
*
|
|
737
680
|
* The available fields in the template context are:
|
|
738
681
|
* - `date`—The date of the header.
|
|
739
|
-
*
|
|
740
|
-
* {% meta height:500 %}
|
|
741
|
-
* {% embed_file templates/major-header/app.component.ts preview %}
|
|
742
|
-
* {% embed_file templates/major-header/app.module.ts %}
|
|
743
|
-
* {% embed_file shared/main.ts %}
|
|
744
|
-
* {% embed_file shared/events-utc.ts %}
|
|
745
|
-
* {% endmeta %}
|
|
746
682
|
*/
|
|
747
683
|
class MajorTimeHeaderTemplateDirective {
|
|
748
684
|
constructor(templateRef) {
|
|
@@ -765,17 +701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
765
701
|
/**
|
|
766
702
|
* Represents the template for the minor-time headers in the **Day** and **Week** views.
|
|
767
703
|
* To define the minor-time header template, nest an `<ng-template>` tag with the `kendoSchedulerMinorTimeHeaderTemplate`
|
|
768
|
-
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>` and `<kendo-scheduler-week-view>` components.
|
|
704
|
+
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>` and `<kendo-scheduler-week-view>` components ([see example](slug:templates_scheduler#toc-minor-time-headers)).
|
|
769
705
|
*
|
|
770
706
|
* The available fields in the template context are:
|
|
771
707
|
* - `date`—The date of the header.
|
|
772
|
-
*
|
|
773
|
-
* {% meta height:500 %}
|
|
774
|
-
* {% embed_file templates/minor-header/app.component.ts preview %}
|
|
775
|
-
* {% embed_file templates/minor-header/app.module.ts %}
|
|
776
|
-
* {% embed_file shared/main.ts %}
|
|
777
|
-
* {% embed_file shared/events-utc.ts %}
|
|
778
|
-
* {% endmeta %}
|
|
779
708
|
*/
|
|
780
709
|
class MinorTimeHeaderTemplateDirective {
|
|
781
710
|
constructor(templateRef) {
|
|
@@ -798,18 +727,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
798
727
|
/**
|
|
799
728
|
* Represents the template for rendering the day slots in the **Month** view.
|
|
800
729
|
* To define the day template, nest an `<ng-template>` tag with the `kendoSchedulerMonthDaySlotTemplate`
|
|
801
|
-
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-month-view>` component.
|
|
730
|
+
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-month-view>` component ([see example](slug:templates_scheduler#toc-month-slots)).
|
|
802
731
|
*
|
|
803
732
|
* The available fields in the template context are:
|
|
804
733
|
* - `date`—The date of the slot.
|
|
805
734
|
* - `resources`—The resources of the slot.
|
|
806
|
-
*
|
|
807
|
-
* {% meta height:500 %}
|
|
808
|
-
* {% embed_file templates/month-slot/app.component.ts preview %}
|
|
809
|
-
* {% embed_file templates/month-slot/app.module.ts %}
|
|
810
|
-
* {% embed_file shared/main.ts %}
|
|
811
|
-
* {% embed_file shared/events-utc.ts %}
|
|
812
|
-
* {% endmeta %}
|
|
813
735
|
*/
|
|
814
736
|
class MonthDaySlotTemplateDirective {
|
|
815
737
|
constructor(templateRef) {
|
|
@@ -832,7 +754,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
832
754
|
/**
|
|
833
755
|
* Represents the template for rendering the day slots in the **Month** view.
|
|
834
756
|
* To define the day template, nest an `<ng-template>` tag with the `kendoSchedulerMultiWeekDaySlotTemplate`
|
|
835
|
-
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-month-view>` component.
|
|
757
|
+
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-month-view>` component ([see example](slug:templates_scheduler#toc-multi-week-slots)).
|
|
836
758
|
*
|
|
837
759
|
* The available fields in the template context are:
|
|
838
760
|
* - `date`—The date of the slot.
|
|
@@ -861,18 +783,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
861
783
|
* Represents the template for the time-slot renderer in the **Day**, **Week**, and **Timeline** views.
|
|
862
784
|
* To define the time-slot template, nest an `<ng-template>` tag with the `kendoSchedulerTimeSlotTemplate`
|
|
863
785
|
* directive inside the `<kendo-scheduler>`, or in the `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
|
|
864
|
-
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components.
|
|
786
|
+
* `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, and `<kendo-scheduler-timeline-month-view>` components ([see example](slug:templates_scheduler#toc-time-slots)).
|
|
865
787
|
*
|
|
866
788
|
* The available fields in the template context are:
|
|
867
789
|
* - `date`—The date of the slot.
|
|
868
790
|
* - `resources`—The resources of the slot.
|
|
869
|
-
*
|
|
870
|
-
* {% meta height:500 %}
|
|
871
|
-
* {% embed_file templates/time-slot/app.component.ts preview %}
|
|
872
|
-
* {% embed_file templates/time-slot/app.module.ts %}
|
|
873
|
-
* {% embed_file shared/main.ts %}
|
|
874
|
-
* {% embed_file shared/events-utc.ts %}
|
|
875
|
-
* {% endmeta %}
|
|
876
791
|
*/
|
|
877
792
|
class TimeSlotTemplateDirective {
|
|
878
793
|
constructor(templateRef) {
|
|
@@ -1432,7 +1347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1432
1347
|
/**
|
|
1433
1348
|
* Represents the template for the edit dialog of the Scheduler.
|
|
1434
1349
|
* To define the template, nest an `<ng-template>` tag
|
|
1435
|
-
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag.
|
|
1350
|
+
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag ([see example](slug:custom_reactive_editing_scheduler)).
|
|
1436
1351
|
*
|
|
1437
1352
|
* The template context is set to the current event and then the following additional fields are passed:
|
|
1438
1353
|
* - `event`—The currently edited event. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-event`.
|
|
@@ -7786,17 +7701,10 @@ const occurrences = (item, fields, range, timezone, weekStart) => {
|
|
|
7786
7701
|
return [item, ...expanded];
|
|
7787
7702
|
};
|
|
7788
7703
|
/**
|
|
7789
|
-
* A directive that processes Scheduler events in-memory.
|
|
7704
|
+
* A directive that processes Scheduler events in-memory ([see example](slug:databinding_scheduler#toc-using-the-built-in-directive)).
|
|
7790
7705
|
*
|
|
7791
7706
|
* Processing includes the expanding of recurring events and the filtering of data for
|
|
7792
7707
|
* the currently active period.
|
|
7793
|
-
*
|
|
7794
|
-
* {% meta height:650 %}
|
|
7795
|
-
* {% embed_file overview/app.component.ts preview %}
|
|
7796
|
-
* {% embed_file shared/app.module.ts %}
|
|
7797
|
-
* {% embed_file shared/main.ts %}
|
|
7798
|
-
* {% embed_file shared/events-utc.ts %}
|
|
7799
|
-
* {% endmeta %}
|
|
7800
7708
|
*/
|
|
7801
7709
|
class DataBindingDirective {
|
|
7802
7710
|
constructor(scheduler, changeDetector, intl, localDataChangesService) {
|
|
@@ -15200,7 +15108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15200
15108
|
|
|
15201
15109
|
// eslint-disable no-input-rename
|
|
15202
15110
|
/**
|
|
15203
|
-
* A directive selector for a custom Scheduler view
|
|
15111
|
+
* A directive selector for a custom Scheduler view.
|
|
15204
15112
|
*/
|
|
15205
15113
|
class SchedulerViewDirective extends SchedulerView {
|
|
15206
15114
|
constructor(template) {
|
|
@@ -16517,7 +16425,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16517
16425
|
|
|
16518
16426
|
/**
|
|
16519
16427
|
* A directive which encapsulates the editing operations when the Scheduler
|
|
16520
|
-
* uses the [Reactive Angular Forms](link:site.data.urls.angular['reactiveforms']).
|
|
16428
|
+
* uses the [Reactive Angular Forms](link:site.data.urls.angular['reactiveforms']) ([see example](slug:editing_directives_scheduler)).
|
|
16521
16429
|
*/
|
|
16522
16430
|
class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
16523
16431
|
constructor(scheduler, localDataChangesService, dialogsService, focusService) {
|
|
@@ -16977,31 +16885,19 @@ const importedKendoModules = [
|
|
|
16977
16885
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
16978
16886
|
* definition for the Scheduler component.
|
|
16979
16887
|
*
|
|
16980
|
-
*
|
|
16981
|
-
* ```ts-no-run
|
|
16982
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
16888
|
+
* ```ts
|
|
16983
16889
|
* import { NgModule } from '@angular/core';
|
|
16984
|
-
*
|
|
16985
|
-
* // Import the Scheduler module
|
|
16890
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
16986
16891
|
* import { SchedulerModule } from '@progress/kendo-angular-scheduler';
|
|
16987
|
-
*
|
|
16988
16892
|
* import { AppComponent } from './app.component';
|
|
16989
16893
|
*
|
|
16990
|
-
*
|
|
16991
|
-
* declarations: [
|
|
16992
|
-
*
|
|
16993
|
-
* ]
|
|
16994
|
-
* imports: [
|
|
16995
|
-
* BrowserModule,
|
|
16996
|
-
*
|
|
16997
|
-
* // Import the Scheduler module
|
|
16998
|
-
* SchedulerModule
|
|
16999
|
-
* ],
|
|
17000
|
-
* bootstrap: [
|
|
17001
|
-
* AppComponent
|
|
17002
|
-
* ]
|
|
16894
|
+
* @NgModule({
|
|
16895
|
+
* declarations: [AppComponent],
|
|
16896
|
+
* imports: [BrowserModule, SchedulerModule],
|
|
16897
|
+
* bootstrap: [AppComponent]
|
|
17003
16898
|
* })
|
|
17004
|
-
*
|
|
16899
|
+
*
|
|
16900
|
+
* export class AppModule {}
|
|
17005
16901
|
* ```
|
|
17006
16902
|
*/
|
|
17007
16903
|
class SchedulerModule {
|
|
@@ -17576,14 +17472,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17576
17472
|
* [`pdfExport`]({% slug api_scheduler_schedulercomponent %}#toc-pdfexport) event
|
|
17577
17473
|
* fires ([see example]({% slug pdfexport_scheduler %})).
|
|
17578
17474
|
*
|
|
17579
|
-
*
|
|
17580
|
-
* ```html-no-run
|
|
17475
|
+
* ```html
|
|
17581
17476
|
* <kendo-scheduler>
|
|
17582
17477
|
* <ng-template kendoSchedulerToolbarTemplate>
|
|
17583
17478
|
* <button kendoSchedulerPDFCommand>Export PDF</button>
|
|
17584
|
-
* <div kendoSchedulerToolbarNavigation></div>
|
|
17585
|
-
* <span class="k-spacer"></span>
|
|
17586
|
-
* <div kendoSchedulerToolbarViewSelector></div>
|
|
17587
17479
|
* </ng-template>
|
|
17588
17480
|
* <kendo-scheduler-pdf fileName="Scheduler.pdf">
|
|
17589
17481
|
* </kendo-scheduler-pdf>
|
|
@@ -17650,31 +17542,19 @@ const declarations = [
|
|
|
17650
17542
|
* Represents the [NgModule](https://angular.io/api/core/NgModule)
|
|
17651
17543
|
* definition for the Scheduler PDF component.
|
|
17652
17544
|
*
|
|
17653
|
-
*
|
|
17654
|
-
*
|
|
17655
|
-
* ```ts-no-run
|
|
17656
|
-
* // Import the Scheduler and PDF modules
|
|
17657
|
-
* import { SchedulerModule, PDFModule } from '@progress/kendo-angular-scheduler';
|
|
17658
|
-
*
|
|
17659
|
-
* // The browser platform with a compiler
|
|
17660
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
17661
|
-
*
|
|
17545
|
+
* ```ts
|
|
17662
17546
|
* import { NgModule } from '@angular/core';
|
|
17663
|
-
*
|
|
17664
|
-
*
|
|
17547
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
17548
|
+
* import { SchedulerModule, PDFModule } from '@progress/kendo-angular-scheduler';
|
|
17665
17549
|
* import { AppComponent } from './app.component';
|
|
17666
17550
|
*
|
|
17667
|
-
*
|
|
17668
|
-
*
|
|
17669
|
-
*
|
|
17670
|
-
* imports: [BrowserModule, SchedulerModule, PDFModule], // import Scheduler and PDF modules
|
|
17551
|
+
* @NgModule({
|
|
17552
|
+
* declarations: [AppComponent],
|
|
17553
|
+
* imports: [BrowserModule, SchedulerModule, PDFModule],
|
|
17671
17554
|
* bootstrap: [AppComponent]
|
|
17672
17555
|
* })
|
|
17673
|
-
* export class AppModule {}
|
|
17674
|
-
*
|
|
17675
|
-
* // Compile and launch the module
|
|
17676
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
17677
17556
|
*
|
|
17557
|
+
* export class AppModule {}
|
|
17678
17558
|
* ```
|
|
17679
17559
|
*/
|
|
17680
17560
|
class PDFModule {
|