@progress/kendo-angular-scheduler 16.5.0 → 16.6.0-develop.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.
- package/NOTICE.txt +12 -19
- package/data-binding.directive.d.ts +1 -1
- package/directives.d.ts +50 -0
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/custom-messages.component.d.ts +1 -1
- package/editing/recurrence/localization/localized-messages.directive.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +2 -2
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-multiple-editor.component.d.ts +1 -1
- package/editing/resource-single-editor.component.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/base-edit.service.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/esm2020/data-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +96 -0
- package/esm2020/editing/date-time-picker.component.mjs +9 -8
- package/esm2020/editing/edit-dialog-template.directive.mjs +3 -2
- package/esm2020/editing/edit-dialog.component.mjs +15 -15
- package/esm2020/editing/edit.service.mjs +5 -2
- package/esm2020/editing/recurrence/end-rule-radio-button.directive.mjs +3 -2
- package/esm2020/editing/recurrence/localization/custom-messages.component.mjs +3 -2
- package/esm2020/editing/recurrence/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/editing/recurrence/recurrence-editor.component.mjs +13 -11
- package/esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-interval-editor.component.mjs +7 -5
- package/esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +9 -8
- package/esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs +3 -2
- package/esm2020/editing/resource-multiple-editor.component.mjs +7 -6
- package/esm2020/editing/resource-single-editor.component.mjs +7 -6
- package/esm2020/editing/timezone-editor.component.mjs +8 -7
- package/esm2020/editing-directives/base-edit.service.mjs +1 -1
- package/esm2020/editing-directives/reactive-editing.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -0
- package/esm2020/loading.component.mjs +3 -2
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/navigation/focusable.directive.mjs +3 -2
- package/esm2020/navigation/shortcuts.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command.directive.mjs +7 -5
- package/esm2020/pdf/pdf.component.mjs +3 -2
- package/esm2020/pdf/pdf.module.mjs +10 -14
- package/esm2020/scheduler.component.mjs +10 -11
- package/esm2020/scheduler.module.mjs +107 -243
- package/esm2020/shared.module.mjs +5 -2
- package/esm2020/toolbar/navigation.component.mjs +9 -8
- package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/toolbar/toolbar.component.mjs +9 -7
- package/esm2020/toolbar/toolbar.service.mjs +5 -2
- package/esm2020/toolbar/view-selector.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-header-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-header.component.mjs +6 -4
- package/esm2020/views/agenda/agenda-task-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-view-internal.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-view-list.component.mjs +10 -8
- package/esm2020/views/agenda/agenda-view.component.mjs +6 -4
- package/esm2020/views/common/hint-container.component.mjs +6 -4
- package/esm2020/views/common/repeat.pipe.mjs +3 -2
- package/esm2020/views/common/resize-hint.component.mjs +7 -5
- package/esm2020/views/common/resource-iterator.pipe.mjs +3 -2
- package/esm2020/views/common/slot-selectable.directive.mjs +3 -2
- package/esm2020/views/common/view-footer.component.mjs +8 -6
- package/esm2020/views/common/views-shared.module.mjs +22 -25
- package/esm2020/views/common/work-hours-footer.directive.mjs +3 -2
- package/esm2020/views/day-time/day-time-view-item.component.mjs +7 -5
- package/esm2020/views/day-time/day-time.module.mjs +18 -12
- package/esm2020/views/day-time/event-slot.directive.mjs +6 -4
- package/esm2020/views/month/month-slot.component.mjs +8 -6
- package/esm2020/views/month/month-view-item.component.mjs +7 -5
- package/esm2020/views/month/month-view-renderer.component.mjs +13 -12
- package/esm2020/views/month/month-view.component.mjs +6 -4
- package/esm2020/views/month/month-view.module.mjs +20 -21
- package/esm2020/views/month/multi-week-view.component.mjs +6 -4
- package/esm2020/views/multi-day/day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +12 -11
- package/esm2020/views/multi-day/multi-day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view.module.mjs +19 -18
- package/esm2020/views/multi-day/week-view.component.mjs +8 -6
- package/esm2020/views/multi-day/work-week-view.component.mjs +8 -6
- package/esm2020/views/scheduler-view.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-date-template.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-time-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-event-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/date-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/event-template.directive.mjs +3 -2
- package/esm2020/views/templates/group-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/major-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/minor-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/month-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/time-slot-template.directive.mjs +3 -2
- package/esm2020/views/timeline/timeline-month-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-multi-day-view.component.mjs +14 -13
- package/esm2020/views/timeline/timeline-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-view.module.mjs +19 -18
- package/esm2020/views/timeline/timeline-week-view.component.mjs +8 -6
- package/esm2020/views/timeline/utils.mjs +3 -2
- package/esm2020/views/view-context.service.mjs +5 -2
- package/esm2020/views/view-state.service.mjs +5 -2
- package/esm2020/views/year/year-view-internal.component.mjs +7 -7
- package/esm2020/views/year/year-view.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-scheduler.mjs +6524 -6585
- package/fesm2020/progress-kendo-angular-scheduler.mjs +6317 -6378
- package/index.d.ts +1 -0
- package/loading.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/shortcuts.directive.d.ts +1 -1
- package/package.json +14 -14
- package/pdf/pdf-command.directive.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +1 -2
- package/scheduler.component.d.ts +1 -1
- package/scheduler.module.d.ts +38 -58
- package/schematics/ngAdd/index.js +3 -3
- package/shared.module.d.ts +4 -1
- package/toolbar/navigation.component.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -3
- package/views/common/hint-container.component.d.ts +1 -1
- package/views/common/repeat.pipe.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/resource-iterator.pipe.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/views-shared.module.d.ts +4 -6
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time.module.d.ts +4 -5
- package/views/day-time/event-slot.directive.d.ts +2 -2
- package/views/month/month-slot.component.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +1 -1
- package/views/month/month-view.component.d.ts +1 -1
- package/views/month/month-view.module.d.ts +5 -7
- package/views/month/multi-week-view.component.d.ts +1 -1
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.module.d.ts +4 -4
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/multi-day/work-week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.module.d.ts +4 -4
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/timeline/utils.d.ts +1 -1
- package/views/year/year-view-internal.component.d.ts +1 -1
- package/views/year/year-view.component.d.ts +1 -1
- package/esm2020/toolbar/toolbar.module.mjs +0 -71
- package/esm2020/views/agenda/agenda-view.module.mjs +0 -45
- package/esm2020/views/year/year-view.module.mjs +0 -45
- package/toolbar/toolbar.module.d.ts +0 -30
- package/views/agenda/agenda-view.module.d.ts +0 -23
- package/views/year/year-view.module.d.ts +0 -19
|
@@ -2,132 +2,57 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { SchedulerViewDirective } from './views/scheduler-view.directive';
|
|
18
|
-
import { AgendaDateTemplateDirective } from './views/templates/agenda-date-template.directive';
|
|
19
|
-
import { AgendaTimeTemplateDirective } from './views/templates/agenda-time-template.directive';
|
|
20
|
-
import { AllDayEventTemplateDirective } from './views/templates/all-day-event-template.directive';
|
|
21
|
-
import { AllDaySlotTemplateDirective } from './views/templates/all-day-slot-template.directive';
|
|
22
|
-
import { DateHeaderTemplateDirective } from './views/templates/date-header-template.directive';
|
|
23
|
-
import { EventTemplateDirective } from './views/templates/event-template.directive';
|
|
24
|
-
import { GroupHeaderTemplateDirective } from './views/templates/group-header-template.directive';
|
|
25
|
-
import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
|
|
26
|
-
import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
|
|
27
|
-
import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
|
|
28
|
-
import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
|
|
29
|
-
import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
|
|
30
|
-
import { TimelineViewModule } from './views/timeline/timeline-view.module';
|
|
31
|
-
import { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
|
|
32
|
-
import { DialogModule } from '@progress/kendo-angular-dialog';
|
|
33
|
-
import { EditDialogComponent } from './editing/edit-dialog.component';
|
|
34
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
35
|
-
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
36
|
-
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
37
|
-
import { CheckBoxModule, FormFieldModule, NumericTextBoxModule, TextAreaModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
38
|
-
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
39
|
-
import { SchedulerDateTimePickerComponent } from './editing/date-time-picker.component';
|
|
40
|
-
import { RecurrenceEditorComponent } from './editing/recurrence/recurrence-editor.component';
|
|
41
|
-
import { RecurrenceFrequencyEditorComponent } from './editing/recurrence/recurrence-frequency-editor.component';
|
|
42
|
-
import { RecurrenceEndRuleEditorComponent } from './editing/recurrence/recurrence-end-rule-editor.component';
|
|
43
|
-
import { RecurrenceIntervalEditorComponent } from './editing/recurrence/recurrence-interval-editor.component';
|
|
44
|
-
import { RecurrenceMonthlyYearlyEditorComponent } from './editing/recurrence/recurrence-monthly-yearly-editor.component';
|
|
45
|
-
import { RecurrenceWeekdayRuleEditorComponent } from './editing/recurrence/recurrence-weekday-rule-editor.component';
|
|
46
|
-
import { RecurrenceEditorCustomMessagesComponent } from './editing/recurrence/localization/custom-messages.component';
|
|
47
|
-
import { RecurrenceEditorLocalizedMessagesDirective } from './editing/recurrence/localization/localized-messages.directive';
|
|
48
|
-
import { EndRuleRadioButtonDirective } from './editing/recurrence/end-rule-radio-button.directive';
|
|
49
|
-
import { RepeatOnRadioButtonDirective } from './editing/recurrence/repeat-on-radio-button.directive';
|
|
50
|
-
import { MultipleResourceEditorComponent } from './editing/resource-multiple-editor.component';
|
|
51
|
-
import { SingleResourceEditorComponent } from './editing/resource-single-editor.component';
|
|
52
|
-
import { TimeZoneEditorComponent } from './editing/timezone-editor.component';
|
|
53
|
-
import { EditDialogTemplateDirective } from './editing/edit-dialog-template.directive';
|
|
54
|
-
import { LoadingComponent } from './loading.component';
|
|
55
|
-
import { SharedModule } from './shared.module';
|
|
56
|
-
import { ShortcutsDirective } from './navigation/shortcuts.directive';
|
|
57
|
-
import { SlotSelectableDirective } from './views/common/slot-selectable.directive';
|
|
58
|
-
import { LabelModule } from '@progress/kendo-angular-label';
|
|
59
|
-
import { YearViewModule } from './views/year/year-view.module';
|
|
60
|
-
import { YearViewComponent } from './views/year/year-view.component';
|
|
6
|
+
import { KENDO_SCHEDULER } from './directives';
|
|
7
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
+
import { DialogContainerService, DialogService, WindowContainerService, WindowService, } from '@progress/kendo-angular-dialog';
|
|
9
|
+
import { CalendarDOMService, CenturyViewService, DayPeriodService, DecadeViewService, HoursService, MillisecondsService, MinutesService, MonthViewService, NavigationService, SecondsService, TimePickerDOMService, WeekNamesService, YearViewService, } from '@progress/kendo-angular-dateinputs';
|
|
10
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
11
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
12
|
+
import { ViewContextService } from './views/view-context.service';
|
|
13
|
+
import { ViewStateService } from './views/view-state.service';
|
|
14
|
+
import { EditService } from './editing/edit.service';
|
|
15
|
+
import { ToolbarService } from './toolbar/toolbar.service';
|
|
61
16
|
import * as i0 from "@angular/core";
|
|
62
|
-
import * as i1 from "./
|
|
63
|
-
import * as i2 from "./
|
|
64
|
-
import * as i3 from "./
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
LocalizedMessagesDirective,
|
|
102
|
-
RecurrenceEditorCustomMessagesComponent,
|
|
103
|
-
RecurrenceEditorLocalizedMessagesDirective,
|
|
104
|
-
LoadingComponent,
|
|
105
|
-
...TEMPLATES
|
|
106
|
-
];
|
|
107
|
-
const publicDirectives = [
|
|
108
|
-
AgendaViewComponent,
|
|
109
|
-
MonthViewModule,
|
|
110
|
-
YearViewComponent,
|
|
111
|
-
MultiDayViewModule,
|
|
112
|
-
ReactiveEditingDirective,
|
|
113
|
-
TimelineViewModule,
|
|
114
|
-
toolbarDirectives,
|
|
115
|
-
...declarations
|
|
116
|
-
];
|
|
117
|
-
const importedKendoModules = [
|
|
118
|
-
ButtonsModule,
|
|
119
|
-
CheckBoxModule,
|
|
120
|
-
TextAreaModule,
|
|
121
|
-
DateInputsModule,
|
|
122
|
-
DialogModule,
|
|
123
|
-
NumericTextBoxModule,
|
|
124
|
-
TextBoxModule,
|
|
125
|
-
DropDownsModule,
|
|
126
|
-
ReactiveFormsModule,
|
|
127
|
-
SharedModule,
|
|
128
|
-
LabelModule,
|
|
129
|
-
FormFieldModule
|
|
130
|
-
];
|
|
17
|
+
import * as i1 from "./scheduler.component";
|
|
18
|
+
import * as i2 from "./localization/custom-messages.component";
|
|
19
|
+
import * as i3 from "./views/scheduler-view.directive";
|
|
20
|
+
import * as i4 from "./data-binding.directive";
|
|
21
|
+
import * as i5 from "./views/common/slot-selectable.directive";
|
|
22
|
+
import * as i6 from "./pdf/pdf.component";
|
|
23
|
+
import * as i7 from "./pdf/pdf-command.directive";
|
|
24
|
+
import * as i8 from "./navigation/shortcuts.directive";
|
|
25
|
+
import * as i9 from "./views/agenda/agenda-view.component";
|
|
26
|
+
import * as i10 from "./views/multi-day/day-view.component";
|
|
27
|
+
import * as i11 from "./views/month/month-view.component";
|
|
28
|
+
import * as i12 from "./views/multi-day/multi-day-view.component";
|
|
29
|
+
import * as i13 from "./views/month/multi-week-view.component";
|
|
30
|
+
import * as i14 from "./views/timeline/timeline-month-view.component";
|
|
31
|
+
import * as i15 from "./views/timeline/timeline-view.component";
|
|
32
|
+
import * as i16 from "./views/timeline/timeline-week-view.component";
|
|
33
|
+
import * as i17 from "./views/multi-day/week-view.component";
|
|
34
|
+
import * as i18 from "./views/multi-day/work-week-view.component";
|
|
35
|
+
import * as i19 from "./views/year/year-view.component";
|
|
36
|
+
import * as i20 from "./editing-directives/reactive-editing.directive";
|
|
37
|
+
import * as i21 from "./editing/recurrence/recurrence-editor.component";
|
|
38
|
+
import * as i22 from "./editing/timezone-editor.component";
|
|
39
|
+
import * as i23 from "./toolbar/navigation.component";
|
|
40
|
+
import * as i24 from "./toolbar/toolbar-template.directive";
|
|
41
|
+
import * as i25 from "./toolbar/view-selector.component";
|
|
42
|
+
import * as i26 from "./views/templates/agenda-date-template.directive";
|
|
43
|
+
import * as i27 from "./views/templates/agenda-time-template.directive";
|
|
44
|
+
import * as i28 from "./views/templates/all-day-event-template.directive";
|
|
45
|
+
import * as i29 from "./views/templates/all-day-slot-template.directive";
|
|
46
|
+
import * as i30 from "./views/templates/date-header-template.directive";
|
|
47
|
+
import * as i31 from "./views/templates/event-template.directive";
|
|
48
|
+
import * as i32 from "./editing/edit-dialog-template.directive";
|
|
49
|
+
import * as i33 from "./views/templates/group-header-template.directive";
|
|
50
|
+
import * as i34 from "./views/templates/major-time-header-template.directive";
|
|
51
|
+
import * as i35 from "./views/templates/minor-time-header-template.directive";
|
|
52
|
+
import * as i36 from "./views/templates/month-day-slot-template.directive";
|
|
53
|
+
import * as i37 from "./views/templates/multi-week-day-slot-template.directive";
|
|
54
|
+
import * as i38 from "./views/templates/time-slot-template.directive";
|
|
55
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
131
56
|
/**
|
|
132
57
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
133
58
|
* definition for the Scheduler component.
|
|
@@ -150,128 +75,67 @@ const importedKendoModules = [
|
|
|
150
75
|
export class SchedulerModule {
|
|
151
76
|
}
|
|
152
77
|
SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
153
|
-
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
EditDialogTemplateDirective,
|
|
183
|
-
GroupHeaderTemplateDirective,
|
|
184
|
-
MajorTimeHeaderTemplateDirective,
|
|
185
|
-
MinorTimeHeaderTemplateDirective,
|
|
186
|
-
MonthDaySlotTemplateDirective,
|
|
187
|
-
MultiWeekDaySlotTemplateDirective,
|
|
188
|
-
TimeSlotTemplateDirective], imports: [CommonModule,
|
|
189
|
-
ToolbarModule,
|
|
190
|
-
AgendaViewModule,
|
|
191
|
-
MultiDayViewModule,
|
|
192
|
-
ResizeSensorModule,
|
|
193
|
-
MonthViewModule,
|
|
194
|
-
TimelineViewModule,
|
|
195
|
-
WatermarkModule,
|
|
196
|
-
YearViewModule, ButtonsModule,
|
|
197
|
-
CheckBoxModule,
|
|
198
|
-
TextAreaModule,
|
|
199
|
-
DateInputsModule,
|
|
200
|
-
DialogModule,
|
|
201
|
-
NumericTextBoxModule,
|
|
202
|
-
TextBoxModule,
|
|
203
|
-
DropDownsModule,
|
|
204
|
-
ReactiveFormsModule,
|
|
205
|
-
SharedModule,
|
|
206
|
-
LabelModule,
|
|
207
|
-
FormFieldModule], exports: [AgendaViewComponent,
|
|
208
|
-
MonthViewModule,
|
|
209
|
-
YearViewComponent,
|
|
210
|
-
MultiDayViewModule,
|
|
211
|
-
ReactiveEditingDirective,
|
|
212
|
-
TimelineViewModule, i1.ToolbarNavigationComponent, i2.ToolbarTemplateDirective, i3.ToolbarViewSelectorComponent, SchedulerComponent,
|
|
213
|
-
SchedulerViewDirective,
|
|
214
|
-
DataBindingDirective,
|
|
215
|
-
ShortcutsDirective,
|
|
216
|
-
ReactiveEditingDirective,
|
|
217
|
-
SlotSelectableDirective,
|
|
218
|
-
SchedulerDateTimePickerComponent,
|
|
219
|
-
RecurrenceEditorComponent,
|
|
220
|
-
RecurrenceEndRuleEditorComponent,
|
|
221
|
-
RecurrenceFrequencyEditorComponent,
|
|
222
|
-
RecurrenceIntervalEditorComponent,
|
|
223
|
-
RecurrenceMonthlyYearlyEditorComponent,
|
|
224
|
-
RecurrenceWeekdayRuleEditorComponent,
|
|
225
|
-
EndRuleRadioButtonDirective,
|
|
226
|
-
RepeatOnRadioButtonDirective,
|
|
227
|
-
MultipleResourceEditorComponent,
|
|
228
|
-
SingleResourceEditorComponent,
|
|
229
|
-
TimeZoneEditorComponent,
|
|
230
|
-
EditDialogComponent,
|
|
231
|
-
SchedulerCustomMessagesComponent,
|
|
232
|
-
LocalizedMessagesDirective,
|
|
233
|
-
RecurrenceEditorCustomMessagesComponent,
|
|
234
|
-
RecurrenceEditorLocalizedMessagesDirective,
|
|
235
|
-
LoadingComponent, AgendaDateTemplateDirective,
|
|
236
|
-
AgendaTimeTemplateDirective,
|
|
237
|
-
AllDayEventTemplateDirective,
|
|
238
|
-
AllDaySlotTemplateDirective,
|
|
239
|
-
DateHeaderTemplateDirective,
|
|
240
|
-
EventTemplateDirective,
|
|
241
|
-
EditDialogTemplateDirective,
|
|
242
|
-
GroupHeaderTemplateDirective,
|
|
243
|
-
MajorTimeHeaderTemplateDirective,
|
|
244
|
-
MinorTimeHeaderTemplateDirective,
|
|
245
|
-
MonthDaySlotTemplateDirective,
|
|
246
|
-
MultiWeekDaySlotTemplateDirective,
|
|
247
|
-
TimeSlotTemplateDirective] });
|
|
248
|
-
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, imports: [CommonModule,
|
|
249
|
-
ToolbarModule,
|
|
250
|
-
AgendaViewModule,
|
|
251
|
-
MultiDayViewModule,
|
|
252
|
-
ResizeSensorModule,
|
|
253
|
-
MonthViewModule,
|
|
254
|
-
TimelineViewModule,
|
|
255
|
-
WatermarkModule,
|
|
256
|
-
YearViewModule, importedKendoModules, MonthViewModule,
|
|
257
|
-
MultiDayViewModule,
|
|
258
|
-
TimelineViewModule] });
|
|
78
|
+
SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, imports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective], exports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective] });
|
|
79
|
+
SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, providers: [
|
|
80
|
+
ToolbarService,
|
|
81
|
+
ViewContextService,
|
|
82
|
+
ViewStateService,
|
|
83
|
+
EditService,
|
|
84
|
+
IconsService,
|
|
85
|
+
PopupService,
|
|
86
|
+
ResizeBatchService,
|
|
87
|
+
// DateInputsModule providers
|
|
88
|
+
CalendarDOMService,
|
|
89
|
+
CenturyViewService,
|
|
90
|
+
DecadeViewService,
|
|
91
|
+
MonthViewService,
|
|
92
|
+
YearViewService,
|
|
93
|
+
WeekNamesService,
|
|
94
|
+
NavigationService,
|
|
95
|
+
TimePickerDOMService,
|
|
96
|
+
HoursService,
|
|
97
|
+
MinutesService,
|
|
98
|
+
SecondsService,
|
|
99
|
+
MillisecondsService,
|
|
100
|
+
DayPeriodService,
|
|
101
|
+
// DropDownsModule providers
|
|
102
|
+
DialogContainerService,
|
|
103
|
+
DialogService,
|
|
104
|
+
WindowService,
|
|
105
|
+
WindowContainerService,
|
|
106
|
+
], imports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i6.PDFComponent, i7.PDFCommandDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i25.ToolbarViewSelectorComponent] });
|
|
259
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, decorators: [{
|
|
260
108
|
type: NgModule,
|
|
261
109
|
args: [{
|
|
262
|
-
imports: [
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
110
|
+
imports: [...KENDO_SCHEDULER],
|
|
111
|
+
exports: [...KENDO_SCHEDULER],
|
|
112
|
+
providers: [
|
|
113
|
+
ToolbarService,
|
|
114
|
+
ViewContextService,
|
|
115
|
+
ViewStateService,
|
|
116
|
+
EditService,
|
|
117
|
+
IconsService,
|
|
118
|
+
PopupService,
|
|
119
|
+
ResizeBatchService,
|
|
120
|
+
// DateInputsModule providers
|
|
121
|
+
CalendarDOMService,
|
|
122
|
+
CenturyViewService,
|
|
123
|
+
DecadeViewService,
|
|
124
|
+
MonthViewService,
|
|
125
|
+
YearViewService,
|
|
126
|
+
WeekNamesService,
|
|
127
|
+
NavigationService,
|
|
128
|
+
TimePickerDOMService,
|
|
129
|
+
HoursService,
|
|
130
|
+
MinutesService,
|
|
131
|
+
SecondsService,
|
|
132
|
+
MillisecondsService,
|
|
133
|
+
DayPeriodService,
|
|
134
|
+
// DropDownsModule providers
|
|
135
|
+
DialogContainerService,
|
|
136
|
+
DialogService,
|
|
137
|
+
WindowService,
|
|
138
|
+
WindowContainerService,
|
|
273
139
|
],
|
|
274
|
-
declarations: declarations,
|
|
275
|
-
exports: publicDirectives
|
|
276
140
|
}]
|
|
277
141
|
}] });
|
|
@@ -8,6 +8,9 @@ import { SortPipe } from './views/timeline/utils';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
|
+
*
|
|
12
|
+
* As of package v17, the `SharedModule` is deprecated and can
|
|
13
|
+
* be removed in a future major version. We recommend using `SchedulerModule`.
|
|
11
14
|
*/
|
|
12
15
|
export class SharedModule {
|
|
13
16
|
static exports() {
|
|
@@ -18,14 +21,14 @@ export class SharedModule {
|
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule,
|
|
24
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [FocusableDirective,
|
|
22
25
|
SortPipe], exports: [FocusableDirective,
|
|
23
26
|
SortPipe] });
|
|
24
27
|
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule });
|
|
25
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
26
29
|
type: NgModule,
|
|
27
30
|
args: [{
|
|
28
|
-
|
|
31
|
+
imports: [
|
|
29
32
|
FocusableDirective,
|
|
30
33
|
SortPipe
|
|
31
34
|
],
|
|
@@ -6,19 +6,18 @@ import { ChangeDetectionStrategy, Component, HostBinding, Input, ChangeDetectorR
|
|
|
6
6
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ToolbarService } from './toolbar.service';
|
|
9
|
-
import { CalendarComponent } from '@progress/kendo-angular-dateinputs';
|
|
9
|
+
import { CalendarComponent, CalendarCustomMessagesComponent } from '@progress/kendo-angular-dateinputs';
|
|
10
10
|
import { ViewContextService } from '../views/view-context.service';
|
|
11
11
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
12
12
|
import { caretAltRightIcon, caretAltLeftIcon, calendarIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { AsyncPipe } from '@angular/common';
|
|
14
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
15
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
14
17
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
15
18
|
import * as i2 from "./toolbar.service";
|
|
16
19
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
17
20
|
import * as i4 from "../views/view-context.service";
|
|
18
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
19
|
-
import * as i6 from "@progress/kendo-angular-dateinputs";
|
|
20
|
-
import * as i7 from "../navigation/focusable.directive";
|
|
21
|
-
import * as i8 from "@angular/common";
|
|
22
21
|
const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
|
|
23
22
|
/**
|
|
24
23
|
* A toolbar component which contains the controls for date navigation
|
|
@@ -203,7 +202,7 @@ export class ToolbarNavigationComponent {
|
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
204
|
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
206
|
-
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
205
|
+
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
207
206
|
PopupService
|
|
208
207
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
209
208
|
<span class="k-scheduler-navigation k-button-group k-button-group-solid" role="group">
|
|
@@ -270,7 +269,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
270
269
|
</kendo-calendar-messages>
|
|
271
270
|
</kendo-calendar>
|
|
272
271
|
</ng-template>
|
|
273
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
272
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
274
273
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
275
274
|
type: Component,
|
|
276
275
|
args: [{
|
|
@@ -345,7 +344,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
345
344
|
</kendo-calendar-messages>
|
|
346
345
|
</kendo-calendar>
|
|
347
346
|
</ng-template>
|
|
348
|
-
|
|
347
|
+
`,
|
|
348
|
+
standalone: true,
|
|
349
|
+
imports: [ButtonComponent, FocusableDirective, CalendarComponent, CalendarCustomMessagesComponent, AsyncPipe]
|
|
349
350
|
}]
|
|
350
351
|
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.ToolbarService }, { type: i3.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i4.ViewContextService }]; }, propDecorators: { calendar: [{
|
|
351
352
|
type: ViewChild,
|
|
@@ -29,11 +29,12 @@ export class ToolbarTemplateDirective {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
|
|
32
|
+
ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
|
-
selector: '[kendoSchedulerToolbarTemplate]'
|
|
36
|
+
selector: '[kendoSchedulerToolbarTemplate]',
|
|
37
|
+
standalone: true
|
|
37
38
|
}]
|
|
38
39
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
39
40
|
type: Optional
|
|
@@ -7,12 +7,12 @@ import { Observable, Subscription } from 'rxjs';
|
|
|
7
7
|
import { SchedulerView } from '../types';
|
|
8
8
|
import { ToolbarTemplateDirective } from './toolbar-template.directive';
|
|
9
9
|
import { ToolbarService } from './toolbar.service';
|
|
10
|
+
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
11
|
+
import { ToolbarViewSelectorComponent } from './view-selector.component';
|
|
12
|
+
import { ToolbarNavigationComponent } from './navigation.component';
|
|
13
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
10
14
|
import * as i0 from "@angular/core";
|
|
11
15
|
import * as i1 from "./toolbar.service";
|
|
12
|
-
import * as i2 from "@angular/common";
|
|
13
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
14
|
-
import * as i4 from "./navigation.component";
|
|
15
|
-
import * as i5 from "./view-selector.component";
|
|
16
16
|
/**
|
|
17
17
|
* @hidden
|
|
18
18
|
*/
|
|
@@ -72,7 +72,7 @@ export class ToolbarComponent {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
75
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
76
76
|
<ng-template
|
|
77
77
|
*ngIf="template; else defaultTemplate"
|
|
78
78
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -92,7 +92,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
92
92
|
</ng-template>
|
|
93
93
|
|
|
94
94
|
<kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
|
|
95
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
95
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max", "activeView", "bottomView"] }, { kind: "component", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: ["toolbarWidth", "responsiveBreakpoint"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
96
96
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{
|
|
@@ -117,7 +117,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
117
117
|
</ng-template>
|
|
118
118
|
|
|
119
119
|
<kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
|
|
120
|
-
|
|
120
|
+
`,
|
|
121
|
+
standalone: true,
|
|
122
|
+
imports: [NgIf, NgTemplateOutlet, ToolbarNavigationComponent, ToolbarViewSelectorComponent, ResizeSensorComponent]
|
|
121
123
|
}]
|
|
122
124
|
}], ctorParameters: function () { return [{ type: i1.ToolbarService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
123
125
|
type: HostBinding,
|
|
@@ -26,7 +26,10 @@ export class ToolbarService {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29
|
-
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService });
|
|
29
|
+
ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, providedIn: 'root' });
|
|
30
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, decorators: [{
|
|
31
|
-
type: Injectable
|
|
31
|
+
type: Injectable,
|
|
32
|
+
args: [{
|
|
33
|
+
providedIn: 'root'
|
|
34
|
+
}]
|
|
32
35
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import { Component, Input } from '@angular/core';
|
|
6
6
|
import { ToolbarService } from './toolbar.service';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
+
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
10
|
+
import { NgIf, NgFor } from '@angular/common';
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
12
|
import * as i1 from "./toolbar.service";
|
|
10
13
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
11
|
-
import * as i3 from "@angular/common";
|
|
12
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
|
13
|
-
import * as i5 from "../navigation/focusable.directive";
|
|
14
14
|
/**
|
|
15
15
|
* A toolbar component which contains the controls for switching the views
|
|
16
16
|
* ([see example]({% slug toolbar_scheduler %}#toc-including-the-built-in-components)).
|
|
@@ -75,7 +75,7 @@ export class ToolbarViewSelectorComponent {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: i1.ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
-
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
78
|
+
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
79
79
|
<select
|
|
80
80
|
*ngIf="ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint"
|
|
81
81
|
(change)="onChange($event)"
|
|
@@ -108,7 +108,7 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
108
108
|
</span>
|
|
109
109
|
</button>
|
|
110
110
|
</span>
|
|
111
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
111
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
112
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
@@ -147,7 +147,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
147
147
|
</span>
|
|
148
148
|
</button>
|
|
149
149
|
</span>
|
|
150
|
-
|
|
150
|
+
`,
|
|
151
|
+
standalone: true,
|
|
152
|
+
imports: [NgIf, FocusableDirective, NgFor, ButtonComponent]
|
|
151
153
|
}]
|
|
152
154
|
}], ctorParameters: function () { return [{ type: i1.ToolbarService }, { type: i2.LocalizationService }]; }, propDecorators: { toolbarWidth: [{
|
|
153
155
|
type: Input
|