@progress/kendo-angular-scheduler 11.0.0-develop.100 → 11.0.0-develop.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/esm2020/editing/edit-dialog.component.mjs +1 -1
  2. package/esm2020/package-metadata.mjs +1 -1
  3. package/esm2020/toolbar/navigation.component.mjs +4 -4
  4. package/esm2020/views/agenda/agenda-task-item.component.mjs +15 -8
  5. package/esm2020/views/agenda/agenda-view-list.component.mjs +34 -8
  6. package/esm2020/views/agenda/agenda-view.module.mjs +4 -3
  7. package/esm2020/views/common/view-footer.component.mjs +6 -4
  8. package/esm2020/views/common/views-shared.module.mjs +10 -6
  9. package/esm2020/views/common/work-hours-footer.directive.mjs +2 -1
  10. package/esm2020/views/day-time/day-time-view-item.component.mjs +65 -16
  11. package/esm2020/views/day-time/day-time.module.mjs +4 -3
  12. package/esm2020/views/month/month-slot.component.mjs +129 -0
  13. package/esm2020/views/month/month-view-item.component.mjs +59 -12
  14. package/esm2020/views/month/month-view-renderer.component.mjs +15 -26
  15. package/esm2020/views/month/month-view.module.mjs +10 -6
  16. package/fesm2015/progress-kendo-angular-scheduler.mjs +385 -222
  17. package/fesm2020/progress-kendo-angular-scheduler.mjs +354 -191
  18. package/package.json +12 -12
  19. package/views/agenda/agenda-task-item.component.d.ts +4 -0
  20. package/views/agenda/agenda-view-list.component.d.ts +3 -0
  21. package/views/agenda/agenda-view.module.d.ts +2 -1
  22. package/views/common/views-shared.module.d.ts +2 -1
  23. package/views/day-time/day-time-view-item.component.d.ts +8 -0
  24. package/views/day-time/day-time.module.d.ts +2 -1
  25. package/views/month/{month-slot.directive.d.ts → month-slot.component.d.ts} +13 -6
  26. package/views/month/month-view-item.component.d.ts +6 -0
  27. package/views/month/month-view-renderer.component.d.ts +0 -1
  28. package/views/month/month-view.module.d.ts +3 -2
  29. package/esm2020/views/month/month-slot.directive.mjs +0 -79
@@ -370,7 +370,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
370
370
  <button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
371
371
  </kendo-dialog-actions>
372
372
  </kendo-dialog>
373
- `, isInline: true, components: [{ type: i4.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5.SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: i6.TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: i7.RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: i8.MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: i9.SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i4.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i10.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i12.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i12.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i13.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i12.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i12.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i13.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i12.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i13.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
373
+ `, isInline: true, components: [{ type: i4.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5.SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: i6.TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: i7.RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: i8.MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: i9.SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i4.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i10.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i12.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i12.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i13.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i12.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i12.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i13.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i12.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i13.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
374
374
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, decorators: [{
375
375
  type: Component,
376
376
  args: [{
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-scheduler',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1673469366,
12
+ publishDate: 1673519279,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -214,7 +214,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
214
214
  <button kendoButton
215
215
  (click)="prevClick()"
216
216
  class="k-nav-prev"
217
- icon="arrow-60-left"
217
+ icon="caret-alt-left"
218
218
  [svgIcon]="svgIcon('caretAltLeftIcon')"
219
219
  [attr.title]="previousText"
220
220
  [attr.aria-label]="previousText"
@@ -225,7 +225,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
225
225
  (click)="nextClick()"
226
226
  type="button"
227
227
  class="k-nav-next"
228
- icon="arrow-60-right"
228
+ icon="caret-alt-right"
229
229
  [svgIcon]="svgIcon('caretAltRightIcon')"
230
230
  [attr.title]="nextText"
231
231
  [attr.aria-label]="nextText"
@@ -285,7 +285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
285
285
  <button kendoButton
286
286
  (click)="prevClick()"
287
287
  class="k-nav-prev"
288
- icon="arrow-60-left"
288
+ icon="caret-alt-left"
289
289
  [svgIcon]="svgIcon('caretAltLeftIcon')"
290
290
  [attr.title]="previousText"
291
291
  [attr.aria-label]="previousText"
@@ -296,7 +296,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
296
296
  (click)="nextClick()"
297
297
  type="button"
298
298
  class="k-nav-next"
299
- icon="arrow-60-right"
299
+ icon="caret-alt-right"
300
300
  [svgIcon]="svgIcon('caretAltRightIcon')"
301
301
  [attr.title]="nextText"
302
302
  [attr.aria-label]="nextText"
@@ -5,10 +5,12 @@
5
5
  import { Component, Input, ChangeDetectionStrategy, TemplateRef, HostBinding, Inject, LOCALE_ID } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { toLocalDate } from '@progress/kendo-date-math';
8
+ import { arrowRotateCwIcon, arrowsNoRepeatIcon, xIcon } from '@progress/kendo-svg-icons';
8
9
  import { isRecurrence, isRecurrenceException, formatEventTime } from '../utils';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "@angular/common";
12
+ import * as i2 from "@progress/kendo-angular-icons";
13
+ import * as i3 from "@angular/common";
12
14
  /**
13
15
  * @hidden
14
16
  */
@@ -16,6 +18,9 @@ export class AgendaTaskItemComponent {
16
18
  constructor(localization, localeId) {
17
19
  this.localization = localization;
18
20
  this.localeId = localeId;
21
+ this.arrowRotateCWIcon = arrowRotateCwIcon;
22
+ this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
23
+ this.xIcon = xIcon;
19
24
  }
20
25
  get eventTitle() {
21
26
  const start = toLocalDate(this.item.start);
@@ -43,8 +48,9 @@ AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
43
48
  AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
44
49
  <div class="k-task" [title]="item.title">
45
50
  <span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
46
- <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
47
- <span class="k-icon k-i-arrows-no-repeat" *ngIf="isRecurrenceException"></span>
51
+ <kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
52
+
53
+ <kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
48
54
  <ng-container *ngIf="!eventTemplate">
49
55
  {{item?.title }}
50
56
  </ng-container>
@@ -53,10 +59,10 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
53
59
  </ng-container>
54
60
 
55
61
  <span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
56
- <span class="k-icon k-i-x"></span>
62
+ <kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
57
63
  </span>
58
64
  </div>
59
- `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
+ `, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
66
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
61
67
  type: Component,
62
68
  args: [{
@@ -66,8 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
66
72
  template: `
67
73
  <div class="k-task" [title]="item.title">
68
74
  <span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
69
- <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
70
- <span class="k-icon k-i-arrows-no-repeat" *ngIf="isRecurrenceException"></span>
75
+ <kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
76
+
77
+ <kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
71
78
  <ng-container *ngIf="!eventTemplate">
72
79
  {{item?.title }}
73
80
  </ng-container>
@@ -76,7 +83,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
76
83
  </ng-container>
77
84
 
78
85
  <span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
79
- <span class="k-icon k-i-x"></span>
86
+ <kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
80
87
  </span>
81
88
  </div>
82
89
  `
@@ -6,14 +6,16 @@ import { Component, HostBinding, Input, TemplateRef } from '@angular/core';
6
6
  import { IntlService } from '@progress/kendo-angular-intl';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { toLocalDate } from '@progress/kendo-date-math';
9
+ import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
9
10
  import { convertNgClassBindings } from '../utils';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@progress/kendo-angular-intl";
12
13
  import * as i2 from "@progress/kendo-angular-l10n";
13
14
  import * as i3 from "./agenda-header-item.component";
14
- import * as i4 from "./agenda-task-item.component";
15
- import * as i5 from "@angular/common";
16
- import * as i6 from "../../navigation/focusable.directive";
15
+ import * as i4 from "@progress/kendo-angular-icons";
16
+ import * as i5 from "./agenda-task-item.component";
17
+ import * as i6 from "@angular/common";
18
+ import * as i7 from "../../navigation/focusable.directive";
17
19
  /**
18
20
  * @hidden
19
21
  */
@@ -21,6 +23,8 @@ export class AgendaListComponent {
21
23
  constructor(intlService, localization) {
22
24
  this.intlService = intlService;
23
25
  this.localization = localization;
26
+ this.caretAltLeftIcon = caretAltLeftIcon;
27
+ this.caretAltRightIcon = caretAltRightIcon;
24
28
  this.classes = true;
25
29
  }
26
30
  extractDataItem(item) {
@@ -88,9 +92,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
88
92
  </td>
89
93
  <td class="k-scheduler-timecolumn" role="gridcell">
90
94
  <div *ngIf="!agendaTimeTemplate">
91
- <span class="k-icon k-i-caret-alt-left" *ngIf="extractDataItem(item).tail"></span>
95
+ <kendo-icon-wrapper
96
+ *ngIf="extractDataItem(item).tail"
97
+ name="caret-alt-left"
98
+ [svgIcon]="caretAltLeftIcon"
99
+ >
100
+ </kendo-icon-wrapper>
101
+
92
102
  {{ formatTime(extractDataItem(item)) }}
93
- <span class="k-icon k-i-caret-alt-right" *ngIf="extractDataItem(item).head"></span>
103
+ <kendo-icon-wrapper
104
+ *ngIf="extractDataItem(item).head"
105
+ name="caret-alt-right"
106
+ [svgIcon]="caretAltRightIcon"
107
+ >
108
+ </kendo-icon-wrapper>
94
109
  </div>
95
110
  <ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
96
111
  [ngTemplateOutletContext]="extractDataItem(item)">
@@ -108,7 +123,7 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
108
123
  </ng-container>
109
124
  </tbody>
110
125
  </table>
111
- `, isInline: true, components: [{ type: i3.AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: i4.AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
126
+ `, isInline: true, components: [{ type: i3.AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i5.AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
112
127
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
113
128
  type: Component,
114
129
  args: [{
@@ -130,9 +145,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
130
145
  </td>
131
146
  <td class="k-scheduler-timecolumn" role="gridcell">
132
147
  <div *ngIf="!agendaTimeTemplate">
133
- <span class="k-icon k-i-caret-alt-left" *ngIf="extractDataItem(item).tail"></span>
148
+ <kendo-icon-wrapper
149
+ *ngIf="extractDataItem(item).tail"
150
+ name="caret-alt-left"
151
+ [svgIcon]="caretAltLeftIcon"
152
+ >
153
+ </kendo-icon-wrapper>
154
+
134
155
  {{ formatTime(extractDataItem(item)) }}
135
- <span class="k-icon k-i-caret-alt-right" *ngIf="extractDataItem(item).head"></span>
156
+ <kendo-icon-wrapper
157
+ *ngIf="extractDataItem(item).head"
158
+ name="caret-alt-right"
159
+ [svgIcon]="caretAltRightIcon"
160
+ >
161
+ </kendo-icon-wrapper>
136
162
  </div>
137
163
  <ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
138
164
  [ngTemplateOutletContext]="extractDataItem(item)">
@@ -12,6 +12,7 @@ import { AgendaListComponent } from './agenda-view-list.component';
12
12
  import { AgendaViewComponent } from './agenda-view.component';
13
13
  import { AgendaViewInternalComponent } from './agenda-view-internal.component';
14
14
  import { SharedModule } from '../../shared.module';
15
+ import { IconsModule } from '@progress/kendo-angular-icons';
15
16
  import * as i0 from "@angular/core";
16
17
  const COMPONENTS = [
17
18
  AgendaHeaderComponent,
@@ -32,12 +33,12 @@ AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
32
33
  AgendaListComponent,
33
34
  AgendaTaskItemComponent,
34
35
  AgendaViewComponent,
35
- AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
36
- AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule]] });
36
+ AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule, IconsModule], exports: [AgendaViewComponent] });
37
+ AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule, IconsModule]] });
37
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
38
39
  type: NgModule,
39
40
  args: [{
40
- imports: [CommonModule, IntlModule, SharedModule],
41
+ imports: [CommonModule, IntlModule, SharedModule, IconsModule],
41
42
  exports: [AgendaViewComponent],
42
43
  declarations: [COMPONENTS]
43
44
  }]
@@ -36,14 +36,15 @@ ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
36
36
  ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ViewFooterComponent, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
37
37
  <span class="k-scheduler-navigation">
38
38
  <button
39
+ *ngFor="let item of items"
39
40
  type="button"
40
41
  kendoButton
41
- *ngFor="let item of items"
42
+ [icon]="item.fontIcon"
43
+ [svgIcon]="item.svgIcon"
42
44
  [ngClass]="item.cssClass"
43
45
  (click)="onItemClick($event, item)"
44
46
  [kendoSchedulerFocusIndex]="0"
45
47
  containerType='footer'>
46
- <span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
47
48
  <span class="k-button-text">{{ item.text }}</span>
48
49
  </button>
49
50
  </span>
@@ -56,14 +57,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
56
57
  template: `
57
58
  <span class="k-scheduler-navigation">
58
59
  <button
60
+ *ngFor="let item of items"
59
61
  type="button"
60
62
  kendoButton
61
- *ngFor="let item of items"
63
+ [icon]="item.fontIcon"
64
+ [svgIcon]="item.svgIcon"
62
65
  [ngClass]="item.cssClass"
63
66
  (click)="onItemClick($event, item)"
64
67
  [kendoSchedulerFocusIndex]="0"
65
68
  containerType='footer'>
66
- <span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
67
69
  <span class="k-button-text">{{ item.text }}</span>
68
70
  </button>
69
71
  </span>
@@ -13,6 +13,7 @@ import { HintContainerComponent } from './hint-container.component';
13
13
  import { ResizeHintComponent } from './resize-hint.component';
14
14
  import { SharedModule } from '../../shared.module';
15
15
  import { ButtonsModule } from '@progress/kendo-angular-buttons';
16
+ import { IconsModule } from '@progress/kendo-angular-icons';
16
17
  import * as i0 from "@angular/core";
17
18
  const DECLARATIONS = [
18
19
  ViewFooterComponent,
@@ -33,26 +34,29 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
33
34
  RepeatPipe,
34
35
  ResourceIteratorPipe,
35
36
  HintContainerComponent,
36
- ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule], exports: [ViewFooterComponent,
37
+ ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], exports: [ViewFooterComponent,
37
38
  WorkHoursFooterDirective,
38
39
  RepeatPipe,
39
40
  ResourceIteratorPipe,
40
41
  HintContainerComponent,
41
42
  ResizeHintComponent, IntlModule,
42
43
  CommonModule,
43
- SharedModule] });
44
- ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule], IntlModule,
44
+ SharedModule,
45
+ IconsModule] });
46
+ ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], IntlModule,
45
47
  CommonModule,
46
- SharedModule] });
48
+ SharedModule,
49
+ IconsModule] });
47
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
48
51
  type: NgModule,
49
52
  args: [{
50
- imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
53
+ imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule],
51
54
  exports: [
52
55
  DECLARATIONS,
53
56
  IntlModule,
54
57
  CommonModule,
55
- SharedModule
58
+ SharedModule,
59
+ IconsModule
56
60
  ],
57
61
  declarations: [
58
62
  DECLARATIONS
@@ -5,6 +5,7 @@
5
5
  import { Directive, Input } from '@angular/core';
6
6
  import { ViewFooterComponent } from './view-footer.component';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { clockIcon } from '@progress/kendo-svg-icons';
8
9
  import * as i0 from "@angular/core";
9
10
  import * as i1 from "./view-footer.component";
10
11
  import * as i2 from "@progress/kendo-angular-l10n";
@@ -16,7 +17,7 @@ export class WorkHoursFooterDirective {
16
17
  this.footer = footer;
17
18
  this.localization = localization;
18
19
  this.showWorkHours = false;
19
- this.footerItems = [{ cssClass: 'k-scheduler-fullday', iconClass: 'k-i-clock', text: '' }];
20
+ this.footerItems = [{ cssClass: 'k-scheduler-fullday', fontIcon: 'clock', svgIcon: clockIcon, text: '' }];
20
21
  }
21
22
  ngOnInit() {
22
23
  this.toggleWorkHours();
@@ -6,6 +6,7 @@ import { Component, ElementRef, Input, Renderer2, Inject, LOCALE_ID } from '@ang
6
6
  import { IntlService } from '@progress/kendo-angular-intl';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { toLocalDate } from '@progress/kendo-date-math';
9
+ import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon, xIcon } from '@progress/kendo-svg-icons';
9
10
  import { FocusService } from '../../navigation';
10
11
  import { DayTimeSlotService } from '../day-time/day-time-slot.service';
11
12
  import { BaseViewItem } from '../view-items/base-view-item';
@@ -14,7 +15,8 @@ import * as i1 from "@progress/kendo-angular-intl";
14
15
  import * as i2 from "../day-time/day-time-slot.service";
15
16
  import * as i3 from "@progress/kendo-angular-l10n";
16
17
  import * as i4 from "../../navigation";
17
- import * as i5 from "@angular/common";
18
+ import * as i5 from "@progress/kendo-angular-icons";
19
+ import * as i6 from "@angular/common";
18
20
  /**
19
21
  * @hidden
20
22
  */
@@ -23,6 +25,13 @@ export class DayTimeViewItemComponent extends BaseViewItem {
23
25
  super(slotService, localization, focusService, element, renderer, localeId);
24
26
  this.intlService = intlService;
25
27
  this.localeId = localeId;
28
+ this.caretAltLeftIcon = caretAltLeftIcon;
29
+ this.caretAltRightIcon = caretAltRightIcon;
30
+ this.caretAltUpIcon = caretAltUpIcon;
31
+ this.caretAltDownIcon = caretAltDownIcon;
32
+ this.arrowRotateCwIcon = arrowRotateCwIcon;
33
+ this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
34
+ this.xIcon = xIcon;
26
35
  }
27
36
  get eventTime() {
28
37
  return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
@@ -31,9 +40,24 @@ export class DayTimeViewItemComponent extends BaseViewItem {
31
40
  DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1.IntlService }, { token: i2.DayTimeSlotService }, { token: i3.LocalizationService }, { token: i4.FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
32
41
  DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DayTimeViewItemComponent, selector: "[dayTimeViewItem]", inputs: { vertical: "vertical", isAllDay: "isAllDay" }, usesInheritance: true, ngImport: i0, template: `
33
42
  <span class="k-event-actions">
34
- <span class="k-icon k-i-caret-alt-left" *ngIf="item.tail && !vertical"></span>
35
- <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
36
- <span class="k-icon k-i-arrows-no-repeat" *ngIf="isRecurrenceException"></span>
43
+ <kendo-icon-wrapper
44
+ *ngIf="item.tail && !vertical"
45
+ name="caret-alt-left"
46
+ [svgIcon]="caretAltLeftIcon"
47
+ >
48
+ </kendo-icon-wrapper>
49
+ <kendo-icon-wrapper
50
+ *ngIf="isRecurrence"
51
+ name="arrow-rotate-cw"
52
+ [svgIcon]="arrowRotateCwIcon"
53
+ >
54
+ </kendo-icon-wrapper>
55
+ <kendo-icon-wrapper
56
+ *ngIf="isRecurrenceException"
57
+ name="arrows-no-repeat"
58
+ [svgIcon]="arrowsNoRepeatIcon"
59
+ >
60
+ </kendo-icon-wrapper>
37
61
  </span>
38
62
  <ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
39
63
  [ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
@@ -45,17 +69,22 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
45
69
 
46
70
  <span class="k-event-actions">
47
71
  <span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
48
- <span class="k-icon k-i-x"></span>
72
+ <kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
49
73
  </span>
50
- <span class="k-icon k-i-caret-alt-right" *ngIf="item.head && !vertical"></span>
74
+ <kendo-icon-wrapper
75
+ *ngIf="item.head && !vertical"
76
+ name="caret-alt-right"
77
+ [svgIcon]="caretAltRightIcon"
78
+ >
79
+ </kendo-icon-wrapper>
51
80
  </span>
52
81
 
53
82
  <span class="k-event-top-actions" *ngIf="item.tail && vertical">
54
- <span class="k-icon k-i-caret-alt-up"></span>
83
+ <kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
55
84
  </span>
56
85
 
57
86
  <span class="k-event-bottom-actions" *ngIf="item.head && vertical">
58
- <span class="k-icon k-i-caret-alt-down"></span>
87
+ <kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
59
88
  </span>
60
89
 
61
90
  <ng-container *ngIf="resizable && vertical">
@@ -67,7 +96,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
67
96
  <span class="k-resize-handle k-resize-w"></span>
68
97
  <span class="k-resize-handle k-resize-e"></span>
69
98
  </ng-container>
70
- `, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
99
+ `, isInline: true, components: [{ type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
71
100
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
72
101
  type: Component,
73
102
  args: [{
@@ -75,9 +104,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
75
104
  selector: '[dayTimeViewItem]',
76
105
  template: `
77
106
  <span class="k-event-actions">
78
- <span class="k-icon k-i-caret-alt-left" *ngIf="item.tail && !vertical"></span>
79
- <span class="k-icon k-i-arrow-rotate-cw" *ngIf="isRecurrence"></span>
80
- <span class="k-icon k-i-arrows-no-repeat" *ngIf="isRecurrenceException"></span>
107
+ <kendo-icon-wrapper
108
+ *ngIf="item.tail && !vertical"
109
+ name="caret-alt-left"
110
+ [svgIcon]="caretAltLeftIcon"
111
+ >
112
+ </kendo-icon-wrapper>
113
+ <kendo-icon-wrapper
114
+ *ngIf="isRecurrence"
115
+ name="arrow-rotate-cw"
116
+ [svgIcon]="arrowRotateCwIcon"
117
+ >
118
+ </kendo-icon-wrapper>
119
+ <kendo-icon-wrapper
120
+ *ngIf="isRecurrenceException"
121
+ name="arrows-no-repeat"
122
+ [svgIcon]="arrowsNoRepeatIcon"
123
+ >
124
+ </kendo-icon-wrapper>
81
125
  </span>
82
126
  <ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
83
127
  [ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
@@ -89,17 +133,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
89
133
 
90
134
  <span class="k-event-actions">
91
135
  <span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
92
- <span class="k-icon k-i-x"></span>
136
+ <kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
93
137
  </span>
94
- <span class="k-icon k-i-caret-alt-right" *ngIf="item.head && !vertical"></span>
138
+ <kendo-icon-wrapper
139
+ *ngIf="item.head && !vertical"
140
+ name="caret-alt-right"
141
+ [svgIcon]="caretAltRightIcon"
142
+ >
143
+ </kendo-icon-wrapper>
95
144
  </span>
96
145
 
97
146
  <span class="k-event-top-actions" *ngIf="item.tail && vertical">
98
- <span class="k-icon k-i-caret-alt-up"></span>
147
+ <kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
99
148
  </span>
100
149
 
101
150
  <span class="k-event-bottom-actions" *ngIf="item.head && vertical">
102
- <span class="k-icon k-i-caret-alt-down"></span>
151
+ <kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
103
152
  </span>
104
153
 
105
154
  <ng-container *ngIf="resizable && vertical">
@@ -8,6 +8,7 @@ import { SharedModule } from '../../shared.module';
8
8
  import { TimeSlotDirective, DaySlotDirective } from './event-slot.directive';
9
9
  import { DayTimeViewItemComponent } from './day-time-view-item.component';
10
10
  import { ViewsSharedModule } from '../common/views-shared.module';
11
+ import { IconsModule } from '@progress/kendo-angular-icons';
11
12
  import * as i0 from "@angular/core";
12
13
  const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent];
13
14
  /**
@@ -16,12 +17,12 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
16
17
  export class DayTimeModule {
17
18
  }
18
19
  DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
20
- DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
20
+ DayTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, declarations: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent], imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule], exports: [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponent] });
21
+ DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule, IconsModule]] });
21
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
22
23
  type: NgModule,
23
24
  args: [{
24
- imports: [CommonModule, SharedModule, ViewsSharedModule],
25
+ imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule],
25
26
  exports: [
26
27
  DIRECTIVES
27
28
  ],