@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.
- package/esm2020/editing/edit-dialog.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/toolbar/navigation.component.mjs +4 -4
- package/esm2020/views/agenda/agenda-task-item.component.mjs +15 -8
- package/esm2020/views/agenda/agenda-view-list.component.mjs +34 -8
- package/esm2020/views/agenda/agenda-view.module.mjs +4 -3
- package/esm2020/views/common/view-footer.component.mjs +6 -4
- package/esm2020/views/common/views-shared.module.mjs +10 -6
- package/esm2020/views/common/work-hours-footer.directive.mjs +2 -1
- package/esm2020/views/day-time/day-time-view-item.component.mjs +65 -16
- package/esm2020/views/day-time/day-time.module.mjs +4 -3
- package/esm2020/views/month/month-slot.component.mjs +129 -0
- package/esm2020/views/month/month-view-item.component.mjs +59 -12
- package/esm2020/views/month/month-view-renderer.component.mjs +15 -26
- package/esm2020/views/month/month-view.module.mjs +10 -6
- package/fesm2015/progress-kendo-angular-scheduler.mjs +385 -222
- package/fesm2020/progress-kendo-angular-scheduler.mjs +354 -191
- package/package.json +12 -12
- package/views/agenda/agenda-task-item.component.d.ts +4 -0
- package/views/agenda/agenda-view-list.component.d.ts +3 -0
- package/views/agenda/agenda-view.module.d.ts +2 -1
- package/views/common/views-shared.module.d.ts +2 -1
- package/views/day-time/day-time-view-item.component.d.ts +8 -0
- package/views/day-time/day-time.module.d.ts +2 -1
- package/views/month/{month-slot.directive.d.ts → month-slot.component.d.ts} +13 -6
- package/views/month/month-view-item.component.d.ts +6 -0
- package/views/month/month-view-renderer.component.d.ts +0 -1
- package/views/month/month-view.module.d.ts +3 -2
- package/esm2020/views/month/month-slot.directive.mjs +0 -79
|
@@ -22,7 +22,7 @@ import * as i1$4 from '@progress/kendo-angular-intl';
|
|
|
22
22
|
import { formatDate, IntlModule, IntlService, CldrIntlService, parseDate } from '@progress/kendo-angular-intl';
|
|
23
23
|
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
24
24
|
import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
|
25
|
-
import { caretAltLeftIcon, caretAltRightIcon, calendarIcon } from '@progress/kendo-svg-icons';
|
|
25
|
+
import { caretAltLeftIcon, caretAltRightIcon, calendarIcon, arrowRotateCwIcon, arrowsNoRepeatIcon, xIcon, moreHorizontalIcon, clockIcon, caretAltUpIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
26
26
|
import * as i3 from '@progress/kendo-angular-buttons';
|
|
27
27
|
import { Button, ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
28
28
|
import * as i11 from '@angular/common';
|
|
@@ -33,11 +33,11 @@ import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
|
33
33
|
import * as i13 from '@progress/kendo-angular-inputs';
|
|
34
34
|
import { CheckBoxModule, TextAreaModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
35
35
|
import { orderBy, groupBy } from '@progress/kendo-data-query';
|
|
36
|
+
import * as i4 from '@progress/kendo-angular-icons';
|
|
37
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
36
38
|
import { Draggable } from '@progress/kendo-draggable';
|
|
37
39
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
38
40
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
39
|
-
import * as i3$1 from '@progress/kendo-angular-icons';
|
|
40
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* @hidden
|
|
@@ -46,7 +46,7 @@ const packageMetadata = {
|
|
|
46
46
|
name: '@progress/kendo-angular-scheduler',
|
|
47
47
|
productName: 'Kendo UI for Angular',
|
|
48
48
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
49
|
-
publishDate:
|
|
49
|
+
publishDate: 1673519279,
|
|
50
50
|
version: '',
|
|
51
51
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
52
52
|
};
|
|
@@ -2485,7 +2485,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2485
2485
|
<button kendoButton
|
|
2486
2486
|
(click)="prevClick()"
|
|
2487
2487
|
class="k-nav-prev"
|
|
2488
|
-
icon="
|
|
2488
|
+
icon="caret-alt-left"
|
|
2489
2489
|
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2490
2490
|
[attr.title]="previousText"
|
|
2491
2491
|
[attr.aria-label]="previousText"
|
|
@@ -2496,7 +2496,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2496
2496
|
(click)="nextClick()"
|
|
2497
2497
|
type="button"
|
|
2498
2498
|
class="k-nav-next"
|
|
2499
|
-
icon="
|
|
2499
|
+
icon="caret-alt-right"
|
|
2500
2500
|
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2501
2501
|
[attr.title]="nextText"
|
|
2502
2502
|
[attr.aria-label]="nextText"
|
|
@@ -2556,7 +2556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2556
2556
|
<button kendoButton
|
|
2557
2557
|
(click)="prevClick()"
|
|
2558
2558
|
class="k-nav-prev"
|
|
2559
|
-
icon="
|
|
2559
|
+
icon="caret-alt-left"
|
|
2560
2560
|
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2561
2561
|
[attr.title]="previousText"
|
|
2562
2562
|
[attr.aria-label]="previousText"
|
|
@@ -2567,7 +2567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2567
2567
|
(click)="nextClick()"
|
|
2568
2568
|
type="button"
|
|
2569
2569
|
class="k-nav-next"
|
|
2570
|
-
icon="
|
|
2570
|
+
icon="caret-alt-right"
|
|
2571
2571
|
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2572
2572
|
[attr.title]="nextText"
|
|
2573
2573
|
[attr.aria-label]="nextText"
|
|
@@ -5483,7 +5483,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5483
5483
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5484
5484
|
</kendo-dialog-actions>
|
|
5485
5485
|
</kendo-dialog>
|
|
5486
|
-
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i3.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"] }] });
|
|
5486
|
+
`, isInline: true, components: [{ type: i1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i3.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"] }] });
|
|
5487
5487
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5488
5488
|
type: Component,
|
|
5489
5489
|
args: [{
|
|
@@ -8179,6 +8179,9 @@ class AgendaTaskItemComponent {
|
|
|
8179
8179
|
constructor(localization, localeId) {
|
|
8180
8180
|
this.localization = localization;
|
|
8181
8181
|
this.localeId = localeId;
|
|
8182
|
+
this.arrowRotateCWIcon = arrowRotateCwIcon;
|
|
8183
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
8184
|
+
this.xIcon = xIcon;
|
|
8182
8185
|
}
|
|
8183
8186
|
get eventTitle() {
|
|
8184
8187
|
const start = toLocalDate(this.item.start);
|
|
@@ -8206,8 +8209,9 @@ AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
8206
8209
|
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: `
|
|
8207
8210
|
<div class="k-task" [title]="item.title">
|
|
8208
8211
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8209
|
-
<
|
|
8210
|
-
|
|
8212
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8213
|
+
|
|
8214
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8211
8215
|
<ng-container *ngIf="!eventTemplate">
|
|
8212
8216
|
{{item?.title }}
|
|
8213
8217
|
</ng-container>
|
|
@@ -8216,10 +8220,10 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
8216
8220
|
</ng-container>
|
|
8217
8221
|
|
|
8218
8222
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8219
|
-
<
|
|
8223
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8220
8224
|
</span>
|
|
8221
8225
|
</div>
|
|
8222
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8226
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8223
8227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
8224
8228
|
type: Component,
|
|
8225
8229
|
args: [{
|
|
@@ -8229,8 +8233,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8229
8233
|
template: `
|
|
8230
8234
|
<div class="k-task" [title]="item.title">
|
|
8231
8235
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8232
|
-
<
|
|
8233
|
-
|
|
8236
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8237
|
+
|
|
8238
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8234
8239
|
<ng-container *ngIf="!eventTemplate">
|
|
8235
8240
|
{{item?.title }}
|
|
8236
8241
|
</ng-container>
|
|
@@ -8239,7 +8244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8239
8244
|
</ng-container>
|
|
8240
8245
|
|
|
8241
8246
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8242
|
-
<
|
|
8247
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8243
8248
|
</span>
|
|
8244
8249
|
</div>
|
|
8245
8250
|
`
|
|
@@ -8268,6 +8273,8 @@ class AgendaListComponent {
|
|
|
8268
8273
|
constructor(intlService, localization) {
|
|
8269
8274
|
this.intlService = intlService;
|
|
8270
8275
|
this.localization = localization;
|
|
8276
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
8277
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
8271
8278
|
this.classes = true;
|
|
8272
8279
|
}
|
|
8273
8280
|
extractDataItem(item) {
|
|
@@ -8335,9 +8342,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8335
8342
|
</td>
|
|
8336
8343
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8337
8344
|
<div *ngIf="!agendaTimeTemplate">
|
|
8338
|
-
<
|
|
8345
|
+
<kendo-icon-wrapper
|
|
8346
|
+
*ngIf="extractDataItem(item).tail"
|
|
8347
|
+
name="caret-alt-left"
|
|
8348
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8349
|
+
>
|
|
8350
|
+
</kendo-icon-wrapper>
|
|
8351
|
+
|
|
8339
8352
|
{{ formatTime(extractDataItem(item)) }}
|
|
8340
|
-
<
|
|
8353
|
+
<kendo-icon-wrapper
|
|
8354
|
+
*ngIf="extractDataItem(item).head"
|
|
8355
|
+
name="caret-alt-right"
|
|
8356
|
+
[svgIcon]="caretAltRightIcon"
|
|
8357
|
+
>
|
|
8358
|
+
</kendo-icon-wrapper>
|
|
8341
8359
|
</div>
|
|
8342
8360
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8343
8361
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8355,7 +8373,7 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8355
8373
|
</ng-container>
|
|
8356
8374
|
</tbody>
|
|
8357
8375
|
</table>
|
|
8358
|
-
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
8376
|
+
`, isInline: true, components: [{ type: AgendaHeaderItemComponent, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: ["kendoSchedulerAgendaHeaderItem", "agendaDateTemplate"] }, { type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: AgendaTaskItemComponent, selector: "[kendoSchedulerAgendaTaskItem]", inputs: ["kendoSchedulerAgendaTaskItem", "color", "eventTemplate", "editable"] }], directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
8359
8377
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8360
8378
|
type: Component,
|
|
8361
8379
|
args: [{
|
|
@@ -8377,9 +8395,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8377
8395
|
</td>
|
|
8378
8396
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8379
8397
|
<div *ngIf="!agendaTimeTemplate">
|
|
8380
|
-
<
|
|
8398
|
+
<kendo-icon-wrapper
|
|
8399
|
+
*ngIf="extractDataItem(item).tail"
|
|
8400
|
+
name="caret-alt-left"
|
|
8401
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8402
|
+
>
|
|
8403
|
+
</kendo-icon-wrapper>
|
|
8404
|
+
|
|
8381
8405
|
{{ formatTime(extractDataItem(item)) }}
|
|
8382
|
-
<
|
|
8406
|
+
<kendo-icon-wrapper
|
|
8407
|
+
*ngIf="extractDataItem(item).head"
|
|
8408
|
+
name="caret-alt-right"
|
|
8409
|
+
[svgIcon]="caretAltRightIcon"
|
|
8410
|
+
>
|
|
8411
|
+
</kendo-icon-wrapper>
|
|
8383
8412
|
</div>
|
|
8384
8413
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8385
8414
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8901,12 +8930,12 @@ AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
8901
8930
|
AgendaListComponent,
|
|
8902
8931
|
AgendaTaskItemComponent,
|
|
8903
8932
|
AgendaViewComponent,
|
|
8904
|
-
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
|
|
8905
|
-
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule]] });
|
|
8933
|
+
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule, IconsModule], exports: [AgendaViewComponent] });
|
|
8934
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule, IconsModule]] });
|
|
8906
8935
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
8907
8936
|
type: NgModule,
|
|
8908
8937
|
args: [{
|
|
8909
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
8938
|
+
imports: [CommonModule, IntlModule, SharedModule, IconsModule],
|
|
8910
8939
|
exports: [AgendaViewComponent],
|
|
8911
8940
|
declarations: [COMPONENTS]
|
|
8912
8941
|
}]
|
|
@@ -9464,6 +9493,11 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9464
9493
|
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
9465
9494
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
9466
9495
|
this.localeId = localeId;
|
|
9496
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
9497
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
9498
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
9499
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
9500
|
+
this.xIcon = xIcon;
|
|
9467
9501
|
}
|
|
9468
9502
|
reflow() {
|
|
9469
9503
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -9479,9 +9513,24 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9479
9513
|
MonthViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, deps: [{ token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
9480
9514
|
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9481
9515
|
<span class="k-event-actions">
|
|
9482
|
-
<
|
|
9483
|
-
|
|
9484
|
-
|
|
9516
|
+
<kendo-icon-wrapper
|
|
9517
|
+
*ngIf="item.tail"
|
|
9518
|
+
name="caret-alt-left"
|
|
9519
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9520
|
+
>
|
|
9521
|
+
</kendo-icon-wrapper>
|
|
9522
|
+
<kendo-icon-wrapper
|
|
9523
|
+
*ngIf="isRecurrence"
|
|
9524
|
+
name="arrow-rotate-cw"
|
|
9525
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9526
|
+
>
|
|
9527
|
+
</kendo-icon-wrapper>
|
|
9528
|
+
<kendo-icon-wrapper
|
|
9529
|
+
*ngIf="isRecurrenceException"
|
|
9530
|
+
name="arrows-no-repeat"
|
|
9531
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9532
|
+
>
|
|
9533
|
+
</kendo-icon-wrapper>
|
|
9485
9534
|
</span>
|
|
9486
9535
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9487
9536
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9492,16 +9541,21 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9492
9541
|
|
|
9493
9542
|
<span class="k-event-actions">
|
|
9494
9543
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9495
|
-
<
|
|
9544
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9496
9545
|
</span>
|
|
9497
|
-
<
|
|
9546
|
+
<kendo-icon-wrapper
|
|
9547
|
+
*ngIf="item.head"
|
|
9548
|
+
name="caret-alt-right"
|
|
9549
|
+
[svgIcon]="caretAltRightIcon"
|
|
9550
|
+
>
|
|
9551
|
+
</kendo-icon-wrapper>
|
|
9498
9552
|
</span>
|
|
9499
9553
|
|
|
9500
9554
|
<ng-container *ngIf="resizable">
|
|
9501
9555
|
<span class="k-resize-handle k-resize-w"></span>
|
|
9502
9556
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9503
9557
|
</ng-container>
|
|
9504
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9558
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9505
9559
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9506
9560
|
type: Component,
|
|
9507
9561
|
args: [{
|
|
@@ -9509,9 +9563,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9509
9563
|
selector: '[monthViewItem]',
|
|
9510
9564
|
template: `
|
|
9511
9565
|
<span class="k-event-actions">
|
|
9512
|
-
<
|
|
9513
|
-
|
|
9514
|
-
|
|
9566
|
+
<kendo-icon-wrapper
|
|
9567
|
+
*ngIf="item.tail"
|
|
9568
|
+
name="caret-alt-left"
|
|
9569
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9570
|
+
>
|
|
9571
|
+
</kendo-icon-wrapper>
|
|
9572
|
+
<kendo-icon-wrapper
|
|
9573
|
+
*ngIf="isRecurrence"
|
|
9574
|
+
name="arrow-rotate-cw"
|
|
9575
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9576
|
+
>
|
|
9577
|
+
</kendo-icon-wrapper>
|
|
9578
|
+
<kendo-icon-wrapper
|
|
9579
|
+
*ngIf="isRecurrenceException"
|
|
9580
|
+
name="arrows-no-repeat"
|
|
9581
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9582
|
+
>
|
|
9583
|
+
</kendo-icon-wrapper>
|
|
9515
9584
|
</span>
|
|
9516
9585
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9517
9586
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9522,9 +9591,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9522
9591
|
|
|
9523
9592
|
<span class="k-event-actions">
|
|
9524
9593
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9525
|
-
<
|
|
9594
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9526
9595
|
</span>
|
|
9527
|
-
<
|
|
9596
|
+
<kendo-icon-wrapper
|
|
9597
|
+
*ngIf="item.head"
|
|
9598
|
+
name="caret-alt-right"
|
|
9599
|
+
[svgIcon]="caretAltRightIcon"
|
|
9600
|
+
>
|
|
9601
|
+
</kendo-icon-wrapper>
|
|
9528
9602
|
</span>
|
|
9529
9603
|
|
|
9530
9604
|
<ng-container *ngIf="resizable">
|
|
@@ -10628,86 +10702,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10628
10702
|
args: ['hintContainer', { static: false }]
|
|
10629
10703
|
}] } });
|
|
10630
10704
|
|
|
10631
|
-
/**
|
|
10632
|
-
* @hidden
|
|
10633
|
-
*/
|
|
10634
|
-
class ResizeHintComponent {
|
|
10635
|
-
constructor() {
|
|
10636
|
-
this.marqueeClasses = true;
|
|
10637
|
-
}
|
|
10638
|
-
get left() {
|
|
10639
|
-
return this.hint.rect.left;
|
|
10640
|
-
}
|
|
10641
|
-
get top() {
|
|
10642
|
-
return this.hint.rect.top;
|
|
10643
|
-
}
|
|
10644
|
-
get width() {
|
|
10645
|
-
return this.hint.rect.width;
|
|
10646
|
-
}
|
|
10647
|
-
get height() {
|
|
10648
|
-
return this.hint.rect.height;
|
|
10649
|
-
}
|
|
10650
|
-
get start() {
|
|
10651
|
-
return toLocalDate(this.hint.start);
|
|
10652
|
-
}
|
|
10653
|
-
get end() {
|
|
10654
|
-
return toLocalDate(this.hint.end);
|
|
10655
|
-
}
|
|
10656
|
-
}
|
|
10657
|
-
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10658
|
-
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
10659
|
-
<div class="k-marquee-color"></div>
|
|
10660
|
-
<div class="k-marquee-text">
|
|
10661
|
-
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10662
|
-
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10663
|
-
</div>
|
|
10664
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10666
|
-
type: Component,
|
|
10667
|
-
args: [{
|
|
10668
|
-
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10669
|
-
selector: '[kendoResizeHint]',
|
|
10670
|
-
template: `
|
|
10671
|
-
<div class="k-marquee-color"></div>
|
|
10672
|
-
<div class="k-marquee-text">
|
|
10673
|
-
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10674
|
-
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10675
|
-
</div>
|
|
10676
|
-
`
|
|
10677
|
-
}]
|
|
10678
|
-
}], propDecorators: { hint: [{
|
|
10679
|
-
type: Input
|
|
10680
|
-
}], format: [{
|
|
10681
|
-
type: Input
|
|
10682
|
-
}], marqueeClasses: [{
|
|
10683
|
-
type: HostBinding,
|
|
10684
|
-
args: ['class.k-marquee']
|
|
10685
|
-
}, {
|
|
10686
|
-
type: HostBinding,
|
|
10687
|
-
args: ['class.k-scheduler-marquee']
|
|
10688
|
-
}, {
|
|
10689
|
-
type: HostBinding,
|
|
10690
|
-
args: ['class.k-first']
|
|
10691
|
-
}, {
|
|
10692
|
-
type: HostBinding,
|
|
10693
|
-
args: ['class.k-last']
|
|
10694
|
-
}], left: [{
|
|
10695
|
-
type: HostBinding,
|
|
10696
|
-
args: ['style.left.px']
|
|
10697
|
-
}, {
|
|
10698
|
-
type: HostBinding,
|
|
10699
|
-
args: ['style.right.px']
|
|
10700
|
-
}], top: [{
|
|
10701
|
-
type: HostBinding,
|
|
10702
|
-
args: ['style.top.px']
|
|
10703
|
-
}], width: [{
|
|
10704
|
-
type: HostBinding,
|
|
10705
|
-
args: ['style.width.px']
|
|
10706
|
-
}], height: [{
|
|
10707
|
-
type: HostBinding,
|
|
10708
|
-
args: ['style.height.px']
|
|
10709
|
-
}] } });
|
|
10710
|
-
|
|
10711
10705
|
/**
|
|
10712
10706
|
* @hidden
|
|
10713
10707
|
*/
|
|
@@ -10799,9 +10793,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10799
10793
|
/**
|
|
10800
10794
|
* @hidden
|
|
10801
10795
|
*/
|
|
10802
|
-
class
|
|
10803
|
-
constructor(element, slotService, localization) {
|
|
10796
|
+
class MonthSlotComponent extends BaseSlotDirective {
|
|
10797
|
+
constructor(element, slotService, localization, cdr) {
|
|
10804
10798
|
super(element, slotService, localization);
|
|
10799
|
+
this.cdr = cdr;
|
|
10800
|
+
this.moreHorizontalIcon = moreHorizontalIcon;
|
|
10805
10801
|
this.isDaySlot = true;
|
|
10806
10802
|
this._linkHeight = null;
|
|
10807
10803
|
}
|
|
@@ -10814,6 +10810,9 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10814
10810
|
get end() {
|
|
10815
10811
|
return addUTCDays(this.start, 1);
|
|
10816
10812
|
}
|
|
10813
|
+
isFirstDayOfMonth(day) {
|
|
10814
|
+
return isEqualDate(day, firstDayOfMonth(day));
|
|
10815
|
+
}
|
|
10817
10816
|
get linkHeight() {
|
|
10818
10817
|
if (this._linkHeight === null) {
|
|
10819
10818
|
const element = firstElementChild(this.nativeElement);
|
|
@@ -10826,41 +10825,161 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10826
10825
|
this.removeShowMore();
|
|
10827
10826
|
}
|
|
10828
10827
|
showMore(rect) {
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
element.className = 'k-more-events k-button';
|
|
10833
|
-
element.style.width = `${rect.width}px`;
|
|
10834
|
-
element.style.left = `${rect.left}px`;
|
|
10835
|
-
element.style.top = `${rect.top}px`;
|
|
10836
|
-
this.nativeElement.appendChild(element);
|
|
10837
|
-
}
|
|
10828
|
+
this.showMoreButton = true;
|
|
10829
|
+
this.style = `width: ${rect.width}px; left: ${rect.left}px; top: ${rect.top}px; border-color: inherit;`;
|
|
10830
|
+
this.cdr.detectChanges();
|
|
10838
10831
|
}
|
|
10839
10832
|
hideMore() {
|
|
10833
|
+
this.showMoreButton = false;
|
|
10840
10834
|
this.removeShowMore();
|
|
10841
10835
|
}
|
|
10842
10836
|
invalidate() {
|
|
10843
10837
|
super.invalidate();
|
|
10844
10838
|
this._linkHeight = null;
|
|
10839
|
+
this.showMoreButton = false;
|
|
10845
10840
|
this.removeShowMore();
|
|
10846
10841
|
}
|
|
10847
10842
|
removeShowMore() {
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
this.showMoreElement = null;
|
|
10851
|
-
}
|
|
10843
|
+
this.showMoreButton = false;
|
|
10844
|
+
this.cdr.detectChanges();
|
|
10852
10845
|
}
|
|
10853
10846
|
}
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10847
|
+
MonthSlotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10848
|
+
MonthSlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthSlotComponent, selector: "[monthSlot]", inputs: { resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", start: ["monthSlot", "start"] }, usesInheritance: true, ngImport: i0, template: `
|
|
10849
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10850
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10851
|
+
</span>
|
|
10852
|
+
<ng-container
|
|
10853
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10854
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10855
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10856
|
+
>
|
|
10857
|
+
</ng-container>
|
|
10858
|
+
|
|
10859
|
+
<kendo-icon-wrapper
|
|
10860
|
+
*ngIf="showMoreButton"
|
|
10861
|
+
class="k-more-events k-button"
|
|
10862
|
+
innerCssClass="k-i-more-horizontal"
|
|
10863
|
+
name="more-horizontal"
|
|
10864
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10865
|
+
[style]="style"
|
|
10866
|
+
>
|
|
10867
|
+
</kendo-icon-wrapper>
|
|
10868
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
10870
|
+
type: Component,
|
|
10858
10871
|
args: [{
|
|
10859
10872
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
10860
|
-
selector: '[monthSlot]'
|
|
10873
|
+
selector: '[monthSlot]',
|
|
10874
|
+
template: `
|
|
10875
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10876
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10877
|
+
</span>
|
|
10878
|
+
<ng-container
|
|
10879
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10880
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10881
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10882
|
+
>
|
|
10883
|
+
</ng-container>
|
|
10884
|
+
|
|
10885
|
+
<kendo-icon-wrapper
|
|
10886
|
+
*ngIf="showMoreButton"
|
|
10887
|
+
class="k-more-events k-button"
|
|
10888
|
+
innerCssClass="k-i-more-horizontal"
|
|
10889
|
+
name="more-horizontal"
|
|
10890
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10891
|
+
[style]="style"
|
|
10892
|
+
>
|
|
10893
|
+
</kendo-icon-wrapper>
|
|
10894
|
+
`
|
|
10861
10895
|
}]
|
|
10862
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i1$1.LocalizationService }]; }, propDecorators: {
|
|
10896
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { resourcesByIndex: [{
|
|
10897
|
+
type: Input
|
|
10898
|
+
}], monthDaySlotTemplateRef: [{
|
|
10863
10899
|
type: Input
|
|
10900
|
+
}], start: [{
|
|
10901
|
+
type: Input,
|
|
10902
|
+
args: ['monthSlot']
|
|
10903
|
+
}] } });
|
|
10904
|
+
|
|
10905
|
+
/**
|
|
10906
|
+
* @hidden
|
|
10907
|
+
*/
|
|
10908
|
+
class ResizeHintComponent {
|
|
10909
|
+
constructor() {
|
|
10910
|
+
this.marqueeClasses = true;
|
|
10911
|
+
}
|
|
10912
|
+
get left() {
|
|
10913
|
+
return this.hint.rect.left;
|
|
10914
|
+
}
|
|
10915
|
+
get top() {
|
|
10916
|
+
return this.hint.rect.top;
|
|
10917
|
+
}
|
|
10918
|
+
get width() {
|
|
10919
|
+
return this.hint.rect.width;
|
|
10920
|
+
}
|
|
10921
|
+
get height() {
|
|
10922
|
+
return this.hint.rect.height;
|
|
10923
|
+
}
|
|
10924
|
+
get start() {
|
|
10925
|
+
return toLocalDate(this.hint.start);
|
|
10926
|
+
}
|
|
10927
|
+
get end() {
|
|
10928
|
+
return toLocalDate(this.hint.end);
|
|
10929
|
+
}
|
|
10930
|
+
}
|
|
10931
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10932
|
+
ResizeHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
10933
|
+
<div class="k-marquee-color"></div>
|
|
10934
|
+
<div class="k-marquee-text">
|
|
10935
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10936
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10937
|
+
</div>
|
|
10938
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10940
|
+
type: Component,
|
|
10941
|
+
args: [{
|
|
10942
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10943
|
+
selector: '[kendoResizeHint]',
|
|
10944
|
+
template: `
|
|
10945
|
+
<div class="k-marquee-color"></div>
|
|
10946
|
+
<div class="k-marquee-text">
|
|
10947
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10948
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10949
|
+
</div>
|
|
10950
|
+
`
|
|
10951
|
+
}]
|
|
10952
|
+
}], propDecorators: { hint: [{
|
|
10953
|
+
type: Input
|
|
10954
|
+
}], format: [{
|
|
10955
|
+
type: Input
|
|
10956
|
+
}], marqueeClasses: [{
|
|
10957
|
+
type: HostBinding,
|
|
10958
|
+
args: ['class.k-marquee']
|
|
10959
|
+
}, {
|
|
10960
|
+
type: HostBinding,
|
|
10961
|
+
args: ['class.k-scheduler-marquee']
|
|
10962
|
+
}, {
|
|
10963
|
+
type: HostBinding,
|
|
10964
|
+
args: ['class.k-first']
|
|
10965
|
+
}, {
|
|
10966
|
+
type: HostBinding,
|
|
10967
|
+
args: ['class.k-last']
|
|
10968
|
+
}], left: [{
|
|
10969
|
+
type: HostBinding,
|
|
10970
|
+
args: ['style.left.px']
|
|
10971
|
+
}, {
|
|
10972
|
+
type: HostBinding,
|
|
10973
|
+
args: ['style.right.px']
|
|
10974
|
+
}], top: [{
|
|
10975
|
+
type: HostBinding,
|
|
10976
|
+
args: ['style.top.px']
|
|
10977
|
+
}], width: [{
|
|
10978
|
+
type: HostBinding,
|
|
10979
|
+
args: ['style.width.px']
|
|
10980
|
+
}], height: [{
|
|
10981
|
+
type: HostBinding,
|
|
10982
|
+
args: ['style.height.px']
|
|
10864
10983
|
}] } });
|
|
10865
10984
|
|
|
10866
10985
|
class ResourceIterator {
|
|
@@ -11003,9 +11122,6 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11003
11122
|
addDay(dayStart) {
|
|
11004
11123
|
return addDays(dayStart, 1);
|
|
11005
11124
|
}
|
|
11006
|
-
isFirstDayOfMonth(day) {
|
|
11007
|
-
return isEqualDate(day, firstDayOfMonth(day));
|
|
11008
|
-
}
|
|
11009
11125
|
optionsChange(changes) {
|
|
11010
11126
|
this.schedulerMonthDaySlotTemplate = changes[`${this.type}DaySlotTemplate`];
|
|
11011
11127
|
super.optionsChange(changes);
|
|
@@ -11191,9 +11307,10 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11191
11307
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11192
11308
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11193
11309
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11194
|
-
monthSlot
|
|
11310
|
+
[monthSlot]="day"
|
|
11311
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11312
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11195
11313
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11196
|
-
[start]="day"
|
|
11197
11314
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11198
11315
|
[title]="cellTitle(day)"
|
|
11199
11316
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11203,12 +11320,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11203
11320
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11204
11321
|
})"
|
|
11205
11322
|
>
|
|
11206
|
-
|
|
11207
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11208
|
-
</span>
|
|
11209
|
-
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11210
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11211
|
-
</td>
|
|
11323
|
+
</td>
|
|
11212
11324
|
</ng-container>
|
|
11213
11325
|
</tr>
|
|
11214
11326
|
</ng-container>
|
|
@@ -11254,7 +11366,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11254
11366
|
</div>
|
|
11255
11367
|
</div>
|
|
11256
11368
|
</div>
|
|
11257
|
-
`, isInline: true, components: [{ type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type:
|
|
11369
|
+
`, isInline: true, components: [{ type: MonthSlotComponent, selector: "[monthSlot]", inputs: ["resourcesByIndex", "monthDaySlotTemplateRef", "monthSlot"] }, { type: MonthViewItemComponent, selector: "[monthViewItem]" }, { type: HintContainerComponent, selector: "kendo-hint-container" }, { type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "resourceIterator": ResourceIteratorPipe, "kendoDate": i1$4.DatePipe, "repeat": RepeatPipe, "async": i11.AsyncPipe } });
|
|
11258
11370
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11259
11371
|
type: Component,
|
|
11260
11372
|
args: [{
|
|
@@ -11328,9 +11440,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11328
11440
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11329
11441
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11330
11442
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11331
|
-
monthSlot
|
|
11443
|
+
[monthSlot]="day"
|
|
11444
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11445
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11332
11446
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11333
|
-
[start]="day"
|
|
11334
11447
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11335
11448
|
[title]="cellTitle(day)"
|
|
11336
11449
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11340,12 +11453,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11340
11453
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11341
11454
|
})"
|
|
11342
11455
|
>
|
|
11343
|
-
|
|
11344
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11345
|
-
</span>
|
|
11346
|
-
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11347
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11348
|
-
</td>
|
|
11456
|
+
</td>
|
|
11349
11457
|
</ng-container>
|
|
11350
11458
|
</tr>
|
|
11351
11459
|
</ng-container>
|
|
@@ -11682,14 +11790,15 @@ ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
11682
11790
|
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: `
|
|
11683
11791
|
<span class="k-scheduler-navigation">
|
|
11684
11792
|
<button
|
|
11793
|
+
*ngFor="let item of items"
|
|
11685
11794
|
type="button"
|
|
11686
11795
|
kendoButton
|
|
11687
|
-
|
|
11796
|
+
[icon]="item.fontIcon"
|
|
11797
|
+
[svgIcon]="item.svgIcon"
|
|
11688
11798
|
[ngClass]="item.cssClass"
|
|
11689
11799
|
(click)="onItemClick($event, item)"
|
|
11690
11800
|
[kendoSchedulerFocusIndex]="0"
|
|
11691
11801
|
containerType='footer'>
|
|
11692
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11693
11802
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11694
11803
|
</button>
|
|
11695
11804
|
</span>
|
|
@@ -11702,14 +11811,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11702
11811
|
template: `
|
|
11703
11812
|
<span class="k-scheduler-navigation">
|
|
11704
11813
|
<button
|
|
11814
|
+
*ngFor="let item of items"
|
|
11705
11815
|
type="button"
|
|
11706
11816
|
kendoButton
|
|
11707
|
-
|
|
11817
|
+
[icon]="item.fontIcon"
|
|
11818
|
+
[svgIcon]="item.svgIcon"
|
|
11708
11819
|
[ngClass]="item.cssClass"
|
|
11709
11820
|
(click)="onItemClick($event, item)"
|
|
11710
11821
|
[kendoSchedulerFocusIndex]="0"
|
|
11711
11822
|
containerType='footer'>
|
|
11712
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11713
11823
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11714
11824
|
</button>
|
|
11715
11825
|
</span>
|
|
@@ -11738,7 +11848,7 @@ class WorkHoursFooterDirective {
|
|
|
11738
11848
|
this.footer = footer;
|
|
11739
11849
|
this.localization = localization;
|
|
11740
11850
|
this.showWorkHours = false;
|
|
11741
|
-
this.footerItems = [{ cssClass: 'k-scheduler-fullday',
|
|
11851
|
+
this.footerItems = [{ cssClass: 'k-scheduler-fullday', fontIcon: 'clock', svgIcon: clockIcon, text: '' }];
|
|
11742
11852
|
}
|
|
11743
11853
|
ngOnInit() {
|
|
11744
11854
|
this.toggleWorkHours();
|
|
@@ -11781,26 +11891,29 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
11781
11891
|
RepeatPipe,
|
|
11782
11892
|
ResourceIteratorPipe,
|
|
11783
11893
|
HintContainerComponent,
|
|
11784
|
-
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule], exports: [ViewFooterComponent,
|
|
11894
|
+
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], exports: [ViewFooterComponent,
|
|
11785
11895
|
WorkHoursFooterDirective,
|
|
11786
11896
|
RepeatPipe,
|
|
11787
11897
|
ResourceIteratorPipe,
|
|
11788
11898
|
HintContainerComponent,
|
|
11789
11899
|
ResizeHintComponent, IntlModule,
|
|
11790
11900
|
CommonModule,
|
|
11791
|
-
SharedModule
|
|
11792
|
-
|
|
11901
|
+
SharedModule,
|
|
11902
|
+
IconsModule] });
|
|
11903
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], IntlModule,
|
|
11793
11904
|
CommonModule,
|
|
11794
|
-
SharedModule
|
|
11905
|
+
SharedModule,
|
|
11906
|
+
IconsModule] });
|
|
11795
11907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
11796
11908
|
type: NgModule,
|
|
11797
11909
|
args: [{
|
|
11798
|
-
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
11910
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule],
|
|
11799
11911
|
exports: [
|
|
11800
11912
|
DECLARATIONS,
|
|
11801
11913
|
IntlModule,
|
|
11802
11914
|
CommonModule,
|
|
11803
|
-
SharedModule
|
|
11915
|
+
SharedModule,
|
|
11916
|
+
IconsModule
|
|
11804
11917
|
],
|
|
11805
11918
|
declarations: [
|
|
11806
11919
|
DECLARATIONS
|
|
@@ -11817,17 +11930,20 @@ MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
11817
11930
|
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, declarations: [MonthViewComponent,
|
|
11818
11931
|
MonthViewRendererComponent,
|
|
11819
11932
|
MonthViewItemComponent,
|
|
11820
|
-
|
|
11821
|
-
MultiWeekViewComponent], imports: [ViewsSharedModule
|
|
11933
|
+
MonthSlotComponent,
|
|
11934
|
+
MultiWeekViewComponent], imports: [ViewsSharedModule,
|
|
11935
|
+
IconsModule], exports: [MonthViewComponent,
|
|
11822
11936
|
MultiWeekViewComponent] });
|
|
11823
11937
|
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, imports: [[
|
|
11824
|
-
ViewsSharedModule
|
|
11938
|
+
ViewsSharedModule,
|
|
11939
|
+
IconsModule
|
|
11825
11940
|
]] });
|
|
11826
11941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
11827
11942
|
type: NgModule,
|
|
11828
11943
|
args: [{
|
|
11829
11944
|
imports: [
|
|
11830
|
-
ViewsSharedModule
|
|
11945
|
+
ViewsSharedModule,
|
|
11946
|
+
IconsModule
|
|
11831
11947
|
],
|
|
11832
11948
|
exports: [
|
|
11833
11949
|
MonthViewComponent,
|
|
@@ -11837,7 +11953,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11837
11953
|
MonthViewComponent,
|
|
11838
11954
|
MonthViewRendererComponent,
|
|
11839
11955
|
MonthViewItemComponent,
|
|
11840
|
-
|
|
11956
|
+
MonthSlotComponent,
|
|
11841
11957
|
MultiWeekViewComponent
|
|
11842
11958
|
]
|
|
11843
11959
|
}]
|
|
@@ -12688,6 +12804,13 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12688
12804
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
12689
12805
|
this.intlService = intlService;
|
|
12690
12806
|
this.localeId = localeId;
|
|
12807
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
12808
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
12809
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
12810
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
12811
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
12812
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
12813
|
+
this.xIcon = xIcon;
|
|
12691
12814
|
}
|
|
12692
12815
|
get eventTime() {
|
|
12693
12816
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
@@ -12696,9 +12819,24 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12696
12819
|
DayTimeViewItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, deps: [{ token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
12697
12820
|
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: `
|
|
12698
12821
|
<span class="k-event-actions">
|
|
12699
|
-
<
|
|
12700
|
-
|
|
12701
|
-
|
|
12822
|
+
<kendo-icon-wrapper
|
|
12823
|
+
*ngIf="item.tail && !vertical"
|
|
12824
|
+
name="caret-alt-left"
|
|
12825
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12826
|
+
>
|
|
12827
|
+
</kendo-icon-wrapper>
|
|
12828
|
+
<kendo-icon-wrapper
|
|
12829
|
+
*ngIf="isRecurrence"
|
|
12830
|
+
name="arrow-rotate-cw"
|
|
12831
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12832
|
+
>
|
|
12833
|
+
</kendo-icon-wrapper>
|
|
12834
|
+
<kendo-icon-wrapper
|
|
12835
|
+
*ngIf="isRecurrenceException"
|
|
12836
|
+
name="arrows-no-repeat"
|
|
12837
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12838
|
+
>
|
|
12839
|
+
</kendo-icon-wrapper>
|
|
12702
12840
|
</span>
|
|
12703
12841
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12704
12842
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12710,17 +12848,22 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12710
12848
|
|
|
12711
12849
|
<span class="k-event-actions">
|
|
12712
12850
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12713
|
-
<
|
|
12851
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12714
12852
|
</span>
|
|
12715
|
-
<
|
|
12853
|
+
<kendo-icon-wrapper
|
|
12854
|
+
*ngIf="item.head && !vertical"
|
|
12855
|
+
name="caret-alt-right"
|
|
12856
|
+
[svgIcon]="caretAltRightIcon"
|
|
12857
|
+
>
|
|
12858
|
+
</kendo-icon-wrapper>
|
|
12716
12859
|
</span>
|
|
12717
12860
|
|
|
12718
12861
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12719
|
-
<
|
|
12862
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12720
12863
|
</span>
|
|
12721
12864
|
|
|
12722
12865
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12723
|
-
<
|
|
12866
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12724
12867
|
</span>
|
|
12725
12868
|
|
|
12726
12869
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -12732,7 +12875,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12732
12875
|
<span class="k-resize-handle k-resize-w"></span>
|
|
12733
12876
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12734
12877
|
</ng-container>
|
|
12735
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12878
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12736
12879
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12737
12880
|
type: Component,
|
|
12738
12881
|
args: [{
|
|
@@ -12740,9 +12883,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12740
12883
|
selector: '[dayTimeViewItem]',
|
|
12741
12884
|
template: `
|
|
12742
12885
|
<span class="k-event-actions">
|
|
12743
|
-
<
|
|
12744
|
-
|
|
12745
|
-
|
|
12886
|
+
<kendo-icon-wrapper
|
|
12887
|
+
*ngIf="item.tail && !vertical"
|
|
12888
|
+
name="caret-alt-left"
|
|
12889
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12890
|
+
>
|
|
12891
|
+
</kendo-icon-wrapper>
|
|
12892
|
+
<kendo-icon-wrapper
|
|
12893
|
+
*ngIf="isRecurrence"
|
|
12894
|
+
name="arrow-rotate-cw"
|
|
12895
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12896
|
+
>
|
|
12897
|
+
</kendo-icon-wrapper>
|
|
12898
|
+
<kendo-icon-wrapper
|
|
12899
|
+
*ngIf="isRecurrenceException"
|
|
12900
|
+
name="arrows-no-repeat"
|
|
12901
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12902
|
+
>
|
|
12903
|
+
</kendo-icon-wrapper>
|
|
12746
12904
|
</span>
|
|
12747
12905
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12748
12906
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12754,17 +12912,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12754
12912
|
|
|
12755
12913
|
<span class="k-event-actions">
|
|
12756
12914
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12757
|
-
<
|
|
12915
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12758
12916
|
</span>
|
|
12759
|
-
<
|
|
12917
|
+
<kendo-icon-wrapper
|
|
12918
|
+
*ngIf="item.head && !vertical"
|
|
12919
|
+
name="caret-alt-right"
|
|
12920
|
+
[svgIcon]="caretAltRightIcon"
|
|
12921
|
+
>
|
|
12922
|
+
</kendo-icon-wrapper>
|
|
12760
12923
|
</span>
|
|
12761
12924
|
|
|
12762
12925
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12763
|
-
<
|
|
12926
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12764
12927
|
</span>
|
|
12765
12928
|
|
|
12766
12929
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12767
|
-
<
|
|
12930
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12768
12931
|
</span>
|
|
12769
12932
|
|
|
12770
12933
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -14616,12 +14779,12 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
14616
14779
|
class DayTimeModule {
|
|
14617
14780
|
}
|
|
14618
14781
|
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14619
|
-
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] });
|
|
14620
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
|
|
14782
|
+
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] });
|
|
14783
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule, IconsModule]] });
|
|
14621
14784
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
14622
14785
|
type: NgModule,
|
|
14623
14786
|
args: [{
|
|
14624
|
-
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
14787
|
+
imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule],
|
|
14625
14788
|
exports: [
|
|
14626
14789
|
DIRECTIVES
|
|
14627
14790
|
],
|
|
@@ -17087,7 +17250,7 @@ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
17087
17250
|
</span>
|
|
17088
17251
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17089
17252
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17090
|
-
`, isInline: true, components: [{ type:
|
|
17253
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
17091
17254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
17092
17255
|
type: Component,
|
|
17093
17256
|
args: [{
|