@progress/kendo-angular-scheduler 11.0.0-develop.100 → 11.0.0-develop.101
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: 1673510708,
|
|
50
50
|
version: '',
|
|
51
51
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
52
52
|
};
|
|
@@ -2520,7 +2520,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2520
2520
|
<button kendoButton
|
|
2521
2521
|
(click)="prevClick()"
|
|
2522
2522
|
class="k-nav-prev"
|
|
2523
|
-
icon="
|
|
2523
|
+
icon="caret-alt-left"
|
|
2524
2524
|
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2525
2525
|
[attr.title]="previousText"
|
|
2526
2526
|
[attr.aria-label]="previousText"
|
|
@@ -2531,7 +2531,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2531
2531
|
(click)="nextClick()"
|
|
2532
2532
|
type="button"
|
|
2533
2533
|
class="k-nav-next"
|
|
2534
|
-
icon="
|
|
2534
|
+
icon="caret-alt-right"
|
|
2535
2535
|
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2536
2536
|
[attr.title]="nextText"
|
|
2537
2537
|
[attr.aria-label]="nextText"
|
|
@@ -2591,7 +2591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2591
2591
|
<button kendoButton
|
|
2592
2592
|
(click)="prevClick()"
|
|
2593
2593
|
class="k-nav-prev"
|
|
2594
|
-
icon="
|
|
2594
|
+
icon="caret-alt-left"
|
|
2595
2595
|
[svgIcon]="svgIcon('caretAltLeftIcon')"
|
|
2596
2596
|
[attr.title]="previousText"
|
|
2597
2597
|
[attr.aria-label]="previousText"
|
|
@@ -2602,7 +2602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2602
2602
|
(click)="nextClick()"
|
|
2603
2603
|
type="button"
|
|
2604
2604
|
class="k-nav-next"
|
|
2605
|
-
icon="
|
|
2605
|
+
icon="caret-alt-right"
|
|
2606
2606
|
[svgIcon]="svgIcon('caretAltRightIcon')"
|
|
2607
2607
|
[attr.title]="nextText"
|
|
2608
2608
|
[attr.aria-label]="nextText"
|
|
@@ -5520,7 +5520,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5520
5520
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5521
5521
|
</kendo-dialog-actions>
|
|
5522
5522
|
</kendo-dialog>
|
|
5523
|
-
`, 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"] }] });
|
|
5523
|
+
`, 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"] }] });
|
|
5524
5524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5525
5525
|
type: Component,
|
|
5526
5526
|
args: [{
|
|
@@ -8211,6 +8211,9 @@ class AgendaTaskItemComponent {
|
|
|
8211
8211
|
constructor(localization, localeId) {
|
|
8212
8212
|
this.localization = localization;
|
|
8213
8213
|
this.localeId = localeId;
|
|
8214
|
+
this.arrowRotateCWIcon = arrowRotateCwIcon;
|
|
8215
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
8216
|
+
this.xIcon = xIcon;
|
|
8214
8217
|
}
|
|
8215
8218
|
get eventTitle() {
|
|
8216
8219
|
const start = toLocalDate(this.item.start);
|
|
@@ -8238,8 +8241,9 @@ AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
8238
8241
|
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: `
|
|
8239
8242
|
<div class="k-task" [title]="item.title">
|
|
8240
8243
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8241
|
-
<
|
|
8242
|
-
|
|
8244
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8245
|
+
|
|
8246
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8243
8247
|
<ng-container *ngIf="!eventTemplate">
|
|
8244
8248
|
{{item?.title }}
|
|
8245
8249
|
</ng-container>
|
|
@@ -8248,10 +8252,10 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
8248
8252
|
</ng-container>
|
|
8249
8253
|
|
|
8250
8254
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8251
|
-
<
|
|
8255
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8252
8256
|
</span>
|
|
8253
8257
|
</div>
|
|
8254
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8258
|
+
`, 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 });
|
|
8255
8259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
8256
8260
|
type: Component,
|
|
8257
8261
|
args: [{
|
|
@@ -8261,8 +8265,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8261
8265
|
template: `
|
|
8262
8266
|
<div class="k-task" [title]="item.title">
|
|
8263
8267
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8264
|
-
<
|
|
8265
|
-
|
|
8268
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8269
|
+
|
|
8270
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8266
8271
|
<ng-container *ngIf="!eventTemplate">
|
|
8267
8272
|
{{item?.title }}
|
|
8268
8273
|
</ng-container>
|
|
@@ -8271,7 +8276,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8271
8276
|
</ng-container>
|
|
8272
8277
|
|
|
8273
8278
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8274
|
-
<
|
|
8279
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8275
8280
|
</span>
|
|
8276
8281
|
</div>
|
|
8277
8282
|
`
|
|
@@ -8302,6 +8307,8 @@ class AgendaListComponent {
|
|
|
8302
8307
|
constructor(intlService, localization) {
|
|
8303
8308
|
this.intlService = intlService;
|
|
8304
8309
|
this.localization = localization;
|
|
8310
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
8311
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
8305
8312
|
this.classes = true;
|
|
8306
8313
|
}
|
|
8307
8314
|
extractDataItem(item) {
|
|
@@ -8369,9 +8376,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8369
8376
|
</td>
|
|
8370
8377
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8371
8378
|
<div *ngIf="!agendaTimeTemplate">
|
|
8372
|
-
<
|
|
8379
|
+
<kendo-icon-wrapper
|
|
8380
|
+
*ngIf="extractDataItem(item).tail"
|
|
8381
|
+
name="caret-alt-left"
|
|
8382
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8383
|
+
>
|
|
8384
|
+
</kendo-icon-wrapper>
|
|
8385
|
+
|
|
8373
8386
|
{{ formatTime(extractDataItem(item)) }}
|
|
8374
|
-
<
|
|
8387
|
+
<kendo-icon-wrapper
|
|
8388
|
+
*ngIf="extractDataItem(item).head"
|
|
8389
|
+
name="caret-alt-right"
|
|
8390
|
+
[svgIcon]="caretAltRightIcon"
|
|
8391
|
+
>
|
|
8392
|
+
</kendo-icon-wrapper>
|
|
8375
8393
|
</div>
|
|
8376
8394
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8377
8395
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8389,7 +8407,7 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8389
8407
|
</ng-container>
|
|
8390
8408
|
</tbody>
|
|
8391
8409
|
</table>
|
|
8392
|
-
`, 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"] }] });
|
|
8410
|
+
`, 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"] }] });
|
|
8393
8411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8394
8412
|
type: Component,
|
|
8395
8413
|
args: [{
|
|
@@ -8411,9 +8429,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8411
8429
|
</td>
|
|
8412
8430
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8413
8431
|
<div *ngIf="!agendaTimeTemplate">
|
|
8414
|
-
<
|
|
8432
|
+
<kendo-icon-wrapper
|
|
8433
|
+
*ngIf="extractDataItem(item).tail"
|
|
8434
|
+
name="caret-alt-left"
|
|
8435
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8436
|
+
>
|
|
8437
|
+
</kendo-icon-wrapper>
|
|
8438
|
+
|
|
8415
8439
|
{{ formatTime(extractDataItem(item)) }}
|
|
8416
|
-
<
|
|
8440
|
+
<kendo-icon-wrapper
|
|
8441
|
+
*ngIf="extractDataItem(item).head"
|
|
8442
|
+
name="caret-alt-right"
|
|
8443
|
+
[svgIcon]="caretAltRightIcon"
|
|
8444
|
+
>
|
|
8445
|
+
</kendo-icon-wrapper>
|
|
8417
8446
|
</div>
|
|
8418
8447
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8419
8448
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8935,12 +8964,12 @@ AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
8935
8964
|
AgendaListComponent,
|
|
8936
8965
|
AgendaTaskItemComponent,
|
|
8937
8966
|
AgendaViewComponent,
|
|
8938
|
-
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule], exports: [AgendaViewComponent] });
|
|
8939
|
-
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule]] });
|
|
8967
|
+
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule, IconsModule], exports: [AgendaViewComponent] });
|
|
8968
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule, IconsModule]] });
|
|
8940
8969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
8941
8970
|
type: NgModule,
|
|
8942
8971
|
args: [{
|
|
8943
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
8972
|
+
imports: [CommonModule, IntlModule, SharedModule, IconsModule],
|
|
8944
8973
|
exports: [AgendaViewComponent],
|
|
8945
8974
|
declarations: [COMPONENTS]
|
|
8946
8975
|
}]
|
|
@@ -9498,6 +9527,11 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9498
9527
|
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
9499
9528
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
9500
9529
|
this.localeId = localeId;
|
|
9530
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
9531
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
9532
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
9533
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
9534
|
+
this.xIcon = xIcon;
|
|
9501
9535
|
}
|
|
9502
9536
|
reflow() {
|
|
9503
9537
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -9513,9 +9547,24 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9513
9547
|
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 });
|
|
9514
9548
|
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9515
9549
|
<span class="k-event-actions">
|
|
9516
|
-
<
|
|
9517
|
-
|
|
9518
|
-
|
|
9550
|
+
<kendo-icon-wrapper
|
|
9551
|
+
*ngIf="item.tail"
|
|
9552
|
+
name="caret-alt-left"
|
|
9553
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9554
|
+
>
|
|
9555
|
+
</kendo-icon-wrapper>
|
|
9556
|
+
<kendo-icon-wrapper
|
|
9557
|
+
*ngIf="isRecurrence"
|
|
9558
|
+
name="arrow-rotate-cw"
|
|
9559
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9560
|
+
>
|
|
9561
|
+
</kendo-icon-wrapper>
|
|
9562
|
+
<kendo-icon-wrapper
|
|
9563
|
+
*ngIf="isRecurrenceException"
|
|
9564
|
+
name="arrows-no-repeat"
|
|
9565
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9566
|
+
>
|
|
9567
|
+
</kendo-icon-wrapper>
|
|
9519
9568
|
</span>
|
|
9520
9569
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9521
9570
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9526,16 +9575,21 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9526
9575
|
|
|
9527
9576
|
<span class="k-event-actions">
|
|
9528
9577
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9529
|
-
<
|
|
9578
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9530
9579
|
</span>
|
|
9531
|
-
<
|
|
9580
|
+
<kendo-icon-wrapper
|
|
9581
|
+
*ngIf="item.head"
|
|
9582
|
+
name="caret-alt-right"
|
|
9583
|
+
[svgIcon]="caretAltRightIcon"
|
|
9584
|
+
>
|
|
9585
|
+
</kendo-icon-wrapper>
|
|
9532
9586
|
</span>
|
|
9533
9587
|
|
|
9534
9588
|
<ng-container *ngIf="resizable">
|
|
9535
9589
|
<span class="k-resize-handle k-resize-w"></span>
|
|
9536
9590
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9537
9591
|
</ng-container>
|
|
9538
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9592
|
+
`, 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"] }] });
|
|
9539
9593
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9540
9594
|
type: Component,
|
|
9541
9595
|
args: [{
|
|
@@ -9543,9 +9597,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9543
9597
|
selector: '[monthViewItem]',
|
|
9544
9598
|
template: `
|
|
9545
9599
|
<span class="k-event-actions">
|
|
9546
|
-
<
|
|
9547
|
-
|
|
9548
|
-
|
|
9600
|
+
<kendo-icon-wrapper
|
|
9601
|
+
*ngIf="item.tail"
|
|
9602
|
+
name="caret-alt-left"
|
|
9603
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9604
|
+
>
|
|
9605
|
+
</kendo-icon-wrapper>
|
|
9606
|
+
<kendo-icon-wrapper
|
|
9607
|
+
*ngIf="isRecurrence"
|
|
9608
|
+
name="arrow-rotate-cw"
|
|
9609
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9610
|
+
>
|
|
9611
|
+
</kendo-icon-wrapper>
|
|
9612
|
+
<kendo-icon-wrapper
|
|
9613
|
+
*ngIf="isRecurrenceException"
|
|
9614
|
+
name="arrows-no-repeat"
|
|
9615
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9616
|
+
>
|
|
9617
|
+
</kendo-icon-wrapper>
|
|
9549
9618
|
</span>
|
|
9550
9619
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9551
9620
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9556,9 +9625,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9556
9625
|
|
|
9557
9626
|
<span class="k-event-actions">
|
|
9558
9627
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9559
|
-
<
|
|
9628
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9560
9629
|
</span>
|
|
9561
|
-
<
|
|
9630
|
+
<kendo-icon-wrapper
|
|
9631
|
+
*ngIf="item.head"
|
|
9632
|
+
name="caret-alt-right"
|
|
9633
|
+
[svgIcon]="caretAltRightIcon"
|
|
9634
|
+
>
|
|
9635
|
+
</kendo-icon-wrapper>
|
|
9562
9636
|
</span>
|
|
9563
9637
|
|
|
9564
9638
|
<ng-container *ngIf="resizable">
|
|
@@ -10633,117 +10707,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10633
10707
|
args: ['hintContainer', { static: false }]
|
|
10634
10708
|
}] } });
|
|
10635
10709
|
|
|
10636
|
-
/**
|
|
10637
|
-
* @hidden
|
|
10638
|
-
*/
|
|
10639
|
-
class HintContainerComponent {
|
|
10640
|
-
constructor(changeDetector) {
|
|
10641
|
-
this.changeDetector = changeDetector;
|
|
10642
|
-
this.changeDetector.detach();
|
|
10643
|
-
}
|
|
10644
|
-
detectChanges() {
|
|
10645
|
-
this.changeDetector.detectChanges();
|
|
10646
|
-
}
|
|
10647
|
-
}
|
|
10648
|
-
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10649
|
-
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
10650
|
-
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10651
|
-
</ng-container>
|
|
10652
|
-
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
10653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
10654
|
-
type: Component,
|
|
10655
|
-
args: [{
|
|
10656
|
-
selector: 'kendo-hint-container',
|
|
10657
|
-
template: `
|
|
10658
|
-
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10659
|
-
</ng-container>
|
|
10660
|
-
`
|
|
10661
|
-
}]
|
|
10662
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hintTemplate: [{
|
|
10663
|
-
type: ContentChild,
|
|
10664
|
-
args: [TemplateRef, { static: false }]
|
|
10665
|
-
}] } });
|
|
10666
|
-
|
|
10667
|
-
/**
|
|
10668
|
-
* @hidden
|
|
10669
|
-
*/
|
|
10670
|
-
class ResizeHintComponent {
|
|
10671
|
-
constructor() {
|
|
10672
|
-
this.marqueeClasses = true;
|
|
10673
|
-
}
|
|
10674
|
-
get left() {
|
|
10675
|
-
return this.hint.rect.left;
|
|
10676
|
-
}
|
|
10677
|
-
get top() {
|
|
10678
|
-
return this.hint.rect.top;
|
|
10679
|
-
}
|
|
10680
|
-
get width() {
|
|
10681
|
-
return this.hint.rect.width;
|
|
10682
|
-
}
|
|
10683
|
-
get height() {
|
|
10684
|
-
return this.hint.rect.height;
|
|
10685
|
-
}
|
|
10686
|
-
get start() {
|
|
10687
|
-
return toLocalDate(this.hint.start);
|
|
10688
|
-
}
|
|
10689
|
-
get end() {
|
|
10690
|
-
return toLocalDate(this.hint.end);
|
|
10691
|
-
}
|
|
10692
|
-
}
|
|
10693
|
-
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10694
|
-
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: `
|
|
10695
|
-
<div class="k-marquee-color"></div>
|
|
10696
|
-
<div class="k-marquee-text">
|
|
10697
|
-
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10698
|
-
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10699
|
-
</div>
|
|
10700
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10702
|
-
type: Component,
|
|
10703
|
-
args: [{
|
|
10704
|
-
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10705
|
-
selector: '[kendoResizeHint]',
|
|
10706
|
-
template: `
|
|
10707
|
-
<div class="k-marquee-color"></div>
|
|
10708
|
-
<div class="k-marquee-text">
|
|
10709
|
-
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10710
|
-
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10711
|
-
</div>
|
|
10712
|
-
`
|
|
10713
|
-
}]
|
|
10714
|
-
}], propDecorators: { hint: [{
|
|
10715
|
-
type: Input
|
|
10716
|
-
}], format: [{
|
|
10717
|
-
type: Input
|
|
10718
|
-
}], marqueeClasses: [{
|
|
10719
|
-
type: HostBinding,
|
|
10720
|
-
args: ['class.k-marquee']
|
|
10721
|
-
}, {
|
|
10722
|
-
type: HostBinding,
|
|
10723
|
-
args: ['class.k-scheduler-marquee']
|
|
10724
|
-
}, {
|
|
10725
|
-
type: HostBinding,
|
|
10726
|
-
args: ['class.k-first']
|
|
10727
|
-
}, {
|
|
10728
|
-
type: HostBinding,
|
|
10729
|
-
args: ['class.k-last']
|
|
10730
|
-
}], left: [{
|
|
10731
|
-
type: HostBinding,
|
|
10732
|
-
args: ['style.left.px']
|
|
10733
|
-
}, {
|
|
10734
|
-
type: HostBinding,
|
|
10735
|
-
args: ['style.right.px']
|
|
10736
|
-
}], top: [{
|
|
10737
|
-
type: HostBinding,
|
|
10738
|
-
args: ['style.top.px']
|
|
10739
|
-
}], width: [{
|
|
10740
|
-
type: HostBinding,
|
|
10741
|
-
args: ['style.width.px']
|
|
10742
|
-
}], height: [{
|
|
10743
|
-
type: HostBinding,
|
|
10744
|
-
args: ['style.height.px']
|
|
10745
|
-
}] } });
|
|
10746
|
-
|
|
10747
10710
|
/**
|
|
10748
10711
|
* @hidden
|
|
10749
10712
|
*/
|
|
@@ -10835,9 +10798,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10835
10798
|
/**
|
|
10836
10799
|
* @hidden
|
|
10837
10800
|
*/
|
|
10838
|
-
class
|
|
10839
|
-
constructor(element, slotService, localization) {
|
|
10801
|
+
class MonthSlotComponent extends BaseSlotDirective {
|
|
10802
|
+
constructor(element, slotService, localization, cdr) {
|
|
10840
10803
|
super(element, slotService, localization);
|
|
10804
|
+
this.cdr = cdr;
|
|
10805
|
+
this.moreHorizontalIcon = moreHorizontalIcon;
|
|
10841
10806
|
this.isDaySlot = true;
|
|
10842
10807
|
this._linkHeight = null;
|
|
10843
10808
|
}
|
|
@@ -10850,6 +10815,9 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10850
10815
|
get end() {
|
|
10851
10816
|
return addUTCDays(this.start, 1);
|
|
10852
10817
|
}
|
|
10818
|
+
isFirstDayOfMonth(day) {
|
|
10819
|
+
return isEqualDate(day, firstDayOfMonth(day));
|
|
10820
|
+
}
|
|
10853
10821
|
get linkHeight() {
|
|
10854
10822
|
if (this._linkHeight === null) {
|
|
10855
10823
|
const element = firstElementChild(this.nativeElement);
|
|
@@ -10862,41 +10830,192 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10862
10830
|
this.removeShowMore();
|
|
10863
10831
|
}
|
|
10864
10832
|
showMore(rect) {
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
element.className = 'k-more-events k-button';
|
|
10869
|
-
element.style.width = `${rect.width}px`;
|
|
10870
|
-
element.style.left = `${rect.left}px`;
|
|
10871
|
-
element.style.top = `${rect.top}px`;
|
|
10872
|
-
this.nativeElement.appendChild(element);
|
|
10873
|
-
}
|
|
10833
|
+
this.showMoreButton = true;
|
|
10834
|
+
this.style = `width: ${rect.width}px; left: ${rect.left}px; top: ${rect.top}px; border-color: inherit;`;
|
|
10835
|
+
this.cdr.detectChanges();
|
|
10874
10836
|
}
|
|
10875
10837
|
hideMore() {
|
|
10838
|
+
this.showMoreButton = false;
|
|
10876
10839
|
this.removeShowMore();
|
|
10877
10840
|
}
|
|
10878
10841
|
invalidate() {
|
|
10879
10842
|
super.invalidate();
|
|
10880
10843
|
this._linkHeight = null;
|
|
10844
|
+
this.showMoreButton = false;
|
|
10881
10845
|
this.removeShowMore();
|
|
10882
10846
|
}
|
|
10883
10847
|
removeShowMore() {
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
this.showMoreElement = null;
|
|
10887
|
-
}
|
|
10848
|
+
this.showMoreButton = false;
|
|
10849
|
+
this.cdr.detectChanges();
|
|
10888
10850
|
}
|
|
10889
10851
|
}
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10852
|
+
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 });
|
|
10853
|
+
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: `
|
|
10854
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10855
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10856
|
+
</span>
|
|
10857
|
+
<ng-container
|
|
10858
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10859
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10860
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10861
|
+
>
|
|
10862
|
+
</ng-container>
|
|
10863
|
+
|
|
10864
|
+
<kendo-icon-wrapper
|
|
10865
|
+
*ngIf="showMoreButton"
|
|
10866
|
+
class="k-more-events k-button"
|
|
10867
|
+
innerCssClass="k-i-more-horizontal"
|
|
10868
|
+
name="more-horizontal"
|
|
10869
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10870
|
+
[style]="style"
|
|
10871
|
+
>
|
|
10872
|
+
</kendo-icon-wrapper>
|
|
10873
|
+
`, 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 } });
|
|
10874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
10875
|
+
type: Component,
|
|
10894
10876
|
args: [{
|
|
10895
10877
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
10896
|
-
selector: '[monthSlot]'
|
|
10878
|
+
selector: '[monthSlot]',
|
|
10879
|
+
template: `
|
|
10880
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10881
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10882
|
+
</span>
|
|
10883
|
+
<ng-container
|
|
10884
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10885
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10886
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10887
|
+
>
|
|
10888
|
+
</ng-container>
|
|
10889
|
+
|
|
10890
|
+
<kendo-icon-wrapper
|
|
10891
|
+
*ngIf="showMoreButton"
|
|
10892
|
+
class="k-more-events k-button"
|
|
10893
|
+
innerCssClass="k-i-more-horizontal"
|
|
10894
|
+
name="more-horizontal"
|
|
10895
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10896
|
+
[style]="style"
|
|
10897
|
+
>
|
|
10898
|
+
</kendo-icon-wrapper>
|
|
10899
|
+
`
|
|
10900
|
+
}]
|
|
10901
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { resourcesByIndex: [{
|
|
10902
|
+
type: Input
|
|
10903
|
+
}], monthDaySlotTemplateRef: [{
|
|
10904
|
+
type: Input
|
|
10905
|
+
}], start: [{
|
|
10906
|
+
type: Input,
|
|
10907
|
+
args: ['monthSlot']
|
|
10908
|
+
}] } });
|
|
10909
|
+
|
|
10910
|
+
/**
|
|
10911
|
+
* @hidden
|
|
10912
|
+
*/
|
|
10913
|
+
class HintContainerComponent {
|
|
10914
|
+
constructor(changeDetector) {
|
|
10915
|
+
this.changeDetector = changeDetector;
|
|
10916
|
+
this.changeDetector.detach();
|
|
10917
|
+
}
|
|
10918
|
+
detectChanges() {
|
|
10919
|
+
this.changeDetector.detectChanges();
|
|
10920
|
+
}
|
|
10921
|
+
}
|
|
10922
|
+
HintContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10923
|
+
HintContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HintContainerComponent, selector: "kendo-hint-container", queries: [{ propertyName: "hintTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
10924
|
+
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10925
|
+
</ng-container>
|
|
10926
|
+
`, isInline: true, directives: [{ type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
10927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintContainerComponent, decorators: [{
|
|
10928
|
+
type: Component,
|
|
10929
|
+
args: [{
|
|
10930
|
+
selector: 'kendo-hint-container',
|
|
10931
|
+
template: `
|
|
10932
|
+
<ng-container [ngTemplateOutlet]="hintTemplate">
|
|
10933
|
+
</ng-container>
|
|
10934
|
+
`
|
|
10935
|
+
}]
|
|
10936
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hintTemplate: [{
|
|
10937
|
+
type: ContentChild,
|
|
10938
|
+
args: [TemplateRef, { static: false }]
|
|
10939
|
+
}] } });
|
|
10940
|
+
|
|
10941
|
+
/**
|
|
10942
|
+
* @hidden
|
|
10943
|
+
*/
|
|
10944
|
+
class ResizeHintComponent {
|
|
10945
|
+
constructor() {
|
|
10946
|
+
this.marqueeClasses = true;
|
|
10947
|
+
}
|
|
10948
|
+
get left() {
|
|
10949
|
+
return this.hint.rect.left;
|
|
10950
|
+
}
|
|
10951
|
+
get top() {
|
|
10952
|
+
return this.hint.rect.top;
|
|
10953
|
+
}
|
|
10954
|
+
get width() {
|
|
10955
|
+
return this.hint.rect.width;
|
|
10956
|
+
}
|
|
10957
|
+
get height() {
|
|
10958
|
+
return this.hint.rect.height;
|
|
10959
|
+
}
|
|
10960
|
+
get start() {
|
|
10961
|
+
return toLocalDate(this.hint.start);
|
|
10962
|
+
}
|
|
10963
|
+
get end() {
|
|
10964
|
+
return toLocalDate(this.hint.end);
|
|
10965
|
+
}
|
|
10966
|
+
}
|
|
10967
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10968
|
+
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: `
|
|
10969
|
+
<div class="k-marquee-color"></div>
|
|
10970
|
+
<div class="k-marquee-text">
|
|
10971
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10972
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10973
|
+
</div>
|
|
10974
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10976
|
+
type: Component,
|
|
10977
|
+
args: [{
|
|
10978
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10979
|
+
selector: '[kendoResizeHint]',
|
|
10980
|
+
template: `
|
|
10981
|
+
<div class="k-marquee-color"></div>
|
|
10982
|
+
<div class="k-marquee-text">
|
|
10983
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10984
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10985
|
+
</div>
|
|
10986
|
+
`
|
|
10897
10987
|
}]
|
|
10898
|
-
}],
|
|
10988
|
+
}], propDecorators: { hint: [{
|
|
10899
10989
|
type: Input
|
|
10990
|
+
}], format: [{
|
|
10991
|
+
type: Input
|
|
10992
|
+
}], marqueeClasses: [{
|
|
10993
|
+
type: HostBinding,
|
|
10994
|
+
args: ['class.k-marquee']
|
|
10995
|
+
}, {
|
|
10996
|
+
type: HostBinding,
|
|
10997
|
+
args: ['class.k-scheduler-marquee']
|
|
10998
|
+
}, {
|
|
10999
|
+
type: HostBinding,
|
|
11000
|
+
args: ['class.k-first']
|
|
11001
|
+
}, {
|
|
11002
|
+
type: HostBinding,
|
|
11003
|
+
args: ['class.k-last']
|
|
11004
|
+
}], left: [{
|
|
11005
|
+
type: HostBinding,
|
|
11006
|
+
args: ['style.left.px']
|
|
11007
|
+
}, {
|
|
11008
|
+
type: HostBinding,
|
|
11009
|
+
args: ['style.right.px']
|
|
11010
|
+
}], top: [{
|
|
11011
|
+
type: HostBinding,
|
|
11012
|
+
args: ['style.top.px']
|
|
11013
|
+
}], width: [{
|
|
11014
|
+
type: HostBinding,
|
|
11015
|
+
args: ['style.width.px']
|
|
11016
|
+
}], height: [{
|
|
11017
|
+
type: HostBinding,
|
|
11018
|
+
args: ['style.height.px']
|
|
10900
11019
|
}] } });
|
|
10901
11020
|
|
|
10902
11021
|
class ResourceIterator {
|
|
@@ -11039,9 +11158,6 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11039
11158
|
addDay(dayStart) {
|
|
11040
11159
|
return addDays(dayStart, 1);
|
|
11041
11160
|
}
|
|
11042
|
-
isFirstDayOfMonth(day) {
|
|
11043
|
-
return isEqualDate(day, firstDayOfMonth(day));
|
|
11044
|
-
}
|
|
11045
11161
|
optionsChange(changes) {
|
|
11046
11162
|
this.schedulerMonthDaySlotTemplate = changes[`${this.type}DaySlotTemplate`];
|
|
11047
11163
|
super.optionsChange(changes);
|
|
@@ -11227,9 +11343,10 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11227
11343
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11228
11344
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11229
11345
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11230
|
-
monthSlot
|
|
11346
|
+
[monthSlot]="day"
|
|
11347
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11348
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11231
11349
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11232
|
-
[start]="day"
|
|
11233
11350
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11234
11351
|
[title]="cellTitle(day)"
|
|
11235
11352
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11239,12 +11356,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11239
11356
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11240
11357
|
})"
|
|
11241
11358
|
>
|
|
11242
|
-
|
|
11243
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11244
|
-
</span>
|
|
11245
|
-
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11246
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11247
|
-
</td>
|
|
11359
|
+
</td>
|
|
11248
11360
|
</ng-container>
|
|
11249
11361
|
</tr>
|
|
11250
11362
|
</ng-container>
|
|
@@ -11290,7 +11402,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11290
11402
|
</div>
|
|
11291
11403
|
</div>
|
|
11292
11404
|
</div>
|
|
11293
|
-
`, 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:
|
|
11405
|
+
`, 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 } });
|
|
11294
11406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11295
11407
|
type: Component,
|
|
11296
11408
|
args: [{
|
|
@@ -11364,9 +11476,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11364
11476
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11365
11477
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11366
11478
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11367
|
-
monthSlot
|
|
11479
|
+
[monthSlot]="day"
|
|
11480
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11481
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11368
11482
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11369
|
-
[start]="day"
|
|
11370
11483
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11371
11484
|
[title]="cellTitle(day)"
|
|
11372
11485
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11376,12 +11489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11376
11489
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11377
11490
|
})"
|
|
11378
11491
|
>
|
|
11379
|
-
|
|
11380
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
11381
|
-
</span>
|
|
11382
|
-
<ng-container *ngIf="monthDaySlotTemplateRef" [ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
11383
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex) }"></ng-container>
|
|
11384
|
-
</td>
|
|
11492
|
+
</td>
|
|
11385
11493
|
</ng-container>
|
|
11386
11494
|
</tr>
|
|
11387
11495
|
</ng-container>
|
|
@@ -11718,14 +11826,15 @@ ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
11718
11826
|
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: `
|
|
11719
11827
|
<span class="k-scheduler-navigation">
|
|
11720
11828
|
<button
|
|
11829
|
+
*ngFor="let item of items"
|
|
11721
11830
|
type="button"
|
|
11722
11831
|
kendoButton
|
|
11723
|
-
|
|
11832
|
+
[icon]="item.fontIcon"
|
|
11833
|
+
[svgIcon]="item.svgIcon"
|
|
11724
11834
|
[ngClass]="item.cssClass"
|
|
11725
11835
|
(click)="onItemClick($event, item)"
|
|
11726
11836
|
[kendoSchedulerFocusIndex]="0"
|
|
11727
11837
|
containerType='footer'>
|
|
11728
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11729
11838
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11730
11839
|
</button>
|
|
11731
11840
|
</span>
|
|
@@ -11738,14 +11847,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11738
11847
|
template: `
|
|
11739
11848
|
<span class="k-scheduler-navigation">
|
|
11740
11849
|
<button
|
|
11850
|
+
*ngFor="let item of items"
|
|
11741
11851
|
type="button"
|
|
11742
11852
|
kendoButton
|
|
11743
|
-
|
|
11853
|
+
[icon]="item.fontIcon"
|
|
11854
|
+
[svgIcon]="item.svgIcon"
|
|
11744
11855
|
[ngClass]="item.cssClass"
|
|
11745
11856
|
(click)="onItemClick($event, item)"
|
|
11746
11857
|
[kendoSchedulerFocusIndex]="0"
|
|
11747
11858
|
containerType='footer'>
|
|
11748
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11749
11859
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11750
11860
|
</button>
|
|
11751
11861
|
</span>
|
|
@@ -11774,7 +11884,7 @@ class WorkHoursFooterDirective {
|
|
|
11774
11884
|
this.footer = footer;
|
|
11775
11885
|
this.localization = localization;
|
|
11776
11886
|
this.showWorkHours = false;
|
|
11777
|
-
this.footerItems = [{ cssClass: 'k-scheduler-fullday',
|
|
11887
|
+
this.footerItems = [{ cssClass: 'k-scheduler-fullday', fontIcon: 'clock', svgIcon: clockIcon, text: '' }];
|
|
11778
11888
|
}
|
|
11779
11889
|
ngOnInit() {
|
|
11780
11890
|
this.toggleWorkHours();
|
|
@@ -11817,26 +11927,29 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
11817
11927
|
RepeatPipe,
|
|
11818
11928
|
ResourceIteratorPipe,
|
|
11819
11929
|
HintContainerComponent,
|
|
11820
|
-
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule], exports: [ViewFooterComponent,
|
|
11930
|
+
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], exports: [ViewFooterComponent,
|
|
11821
11931
|
WorkHoursFooterDirective,
|
|
11822
11932
|
RepeatPipe,
|
|
11823
11933
|
ResourceIteratorPipe,
|
|
11824
11934
|
HintContainerComponent,
|
|
11825
11935
|
ResizeHintComponent, IntlModule,
|
|
11826
11936
|
CommonModule,
|
|
11827
|
-
SharedModule
|
|
11828
|
-
|
|
11937
|
+
SharedModule,
|
|
11938
|
+
IconsModule] });
|
|
11939
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], IntlModule,
|
|
11829
11940
|
CommonModule,
|
|
11830
|
-
SharedModule
|
|
11941
|
+
SharedModule,
|
|
11942
|
+
IconsModule] });
|
|
11831
11943
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
11832
11944
|
type: NgModule,
|
|
11833
11945
|
args: [{
|
|
11834
|
-
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
11946
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule],
|
|
11835
11947
|
exports: [
|
|
11836
11948
|
DECLARATIONS,
|
|
11837
11949
|
IntlModule,
|
|
11838
11950
|
CommonModule,
|
|
11839
|
-
SharedModule
|
|
11951
|
+
SharedModule,
|
|
11952
|
+
IconsModule
|
|
11840
11953
|
],
|
|
11841
11954
|
declarations: [
|
|
11842
11955
|
DECLARATIONS
|
|
@@ -11853,17 +11966,20 @@ MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
11853
11966
|
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, declarations: [MonthViewComponent,
|
|
11854
11967
|
MonthViewRendererComponent,
|
|
11855
11968
|
MonthViewItemComponent,
|
|
11856
|
-
|
|
11857
|
-
MultiWeekViewComponent], imports: [ViewsSharedModule
|
|
11969
|
+
MonthSlotComponent,
|
|
11970
|
+
MultiWeekViewComponent], imports: [ViewsSharedModule,
|
|
11971
|
+
IconsModule], exports: [MonthViewComponent,
|
|
11858
11972
|
MultiWeekViewComponent] });
|
|
11859
11973
|
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, imports: [[
|
|
11860
|
-
ViewsSharedModule
|
|
11974
|
+
ViewsSharedModule,
|
|
11975
|
+
IconsModule
|
|
11861
11976
|
]] });
|
|
11862
11977
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
11863
11978
|
type: NgModule,
|
|
11864
11979
|
args: [{
|
|
11865
11980
|
imports: [
|
|
11866
|
-
ViewsSharedModule
|
|
11981
|
+
ViewsSharedModule,
|
|
11982
|
+
IconsModule
|
|
11867
11983
|
],
|
|
11868
11984
|
exports: [
|
|
11869
11985
|
MonthViewComponent,
|
|
@@ -11873,7 +11989,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11873
11989
|
MonthViewComponent,
|
|
11874
11990
|
MonthViewRendererComponent,
|
|
11875
11991
|
MonthViewItemComponent,
|
|
11876
|
-
|
|
11992
|
+
MonthSlotComponent,
|
|
11877
11993
|
MultiWeekViewComponent
|
|
11878
11994
|
]
|
|
11879
11995
|
}]
|
|
@@ -12730,6 +12846,13 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12730
12846
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
12731
12847
|
this.intlService = intlService;
|
|
12732
12848
|
this.localeId = localeId;
|
|
12849
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
12850
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
12851
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
12852
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
12853
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
12854
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
12855
|
+
this.xIcon = xIcon;
|
|
12733
12856
|
}
|
|
12734
12857
|
get eventTime() {
|
|
12735
12858
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
@@ -12738,9 +12861,24 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12738
12861
|
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 });
|
|
12739
12862
|
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: `
|
|
12740
12863
|
<span class="k-event-actions">
|
|
12741
|
-
<
|
|
12742
|
-
|
|
12743
|
-
|
|
12864
|
+
<kendo-icon-wrapper
|
|
12865
|
+
*ngIf="item.tail && !vertical"
|
|
12866
|
+
name="caret-alt-left"
|
|
12867
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12868
|
+
>
|
|
12869
|
+
</kendo-icon-wrapper>
|
|
12870
|
+
<kendo-icon-wrapper
|
|
12871
|
+
*ngIf="isRecurrence"
|
|
12872
|
+
name="arrow-rotate-cw"
|
|
12873
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12874
|
+
>
|
|
12875
|
+
</kendo-icon-wrapper>
|
|
12876
|
+
<kendo-icon-wrapper
|
|
12877
|
+
*ngIf="isRecurrenceException"
|
|
12878
|
+
name="arrows-no-repeat"
|
|
12879
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12880
|
+
>
|
|
12881
|
+
</kendo-icon-wrapper>
|
|
12744
12882
|
</span>
|
|
12745
12883
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12746
12884
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12752,17 +12890,22 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12752
12890
|
|
|
12753
12891
|
<span class="k-event-actions">
|
|
12754
12892
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12755
|
-
<
|
|
12893
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12756
12894
|
</span>
|
|
12757
|
-
<
|
|
12895
|
+
<kendo-icon-wrapper
|
|
12896
|
+
*ngIf="item.head && !vertical"
|
|
12897
|
+
name="caret-alt-right"
|
|
12898
|
+
[svgIcon]="caretAltRightIcon"
|
|
12899
|
+
>
|
|
12900
|
+
</kendo-icon-wrapper>
|
|
12758
12901
|
</span>
|
|
12759
12902
|
|
|
12760
12903
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12761
|
-
<
|
|
12904
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12762
12905
|
</span>
|
|
12763
12906
|
|
|
12764
12907
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12765
|
-
<
|
|
12908
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12766
12909
|
</span>
|
|
12767
12910
|
|
|
12768
12911
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -12774,7 +12917,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12774
12917
|
<span class="k-resize-handle k-resize-w"></span>
|
|
12775
12918
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12776
12919
|
</ng-container>
|
|
12777
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12920
|
+
`, 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"] }] });
|
|
12778
12921
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12779
12922
|
type: Component,
|
|
12780
12923
|
args: [{
|
|
@@ -12782,9 +12925,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12782
12925
|
selector: '[dayTimeViewItem]',
|
|
12783
12926
|
template: `
|
|
12784
12927
|
<span class="k-event-actions">
|
|
12785
|
-
<
|
|
12786
|
-
|
|
12787
|
-
|
|
12928
|
+
<kendo-icon-wrapper
|
|
12929
|
+
*ngIf="item.tail && !vertical"
|
|
12930
|
+
name="caret-alt-left"
|
|
12931
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12932
|
+
>
|
|
12933
|
+
</kendo-icon-wrapper>
|
|
12934
|
+
<kendo-icon-wrapper
|
|
12935
|
+
*ngIf="isRecurrence"
|
|
12936
|
+
name="arrow-rotate-cw"
|
|
12937
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12938
|
+
>
|
|
12939
|
+
</kendo-icon-wrapper>
|
|
12940
|
+
<kendo-icon-wrapper
|
|
12941
|
+
*ngIf="isRecurrenceException"
|
|
12942
|
+
name="arrows-no-repeat"
|
|
12943
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12944
|
+
>
|
|
12945
|
+
</kendo-icon-wrapper>
|
|
12788
12946
|
</span>
|
|
12789
12947
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12790
12948
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12796,17 +12954,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12796
12954
|
|
|
12797
12955
|
<span class="k-event-actions">
|
|
12798
12956
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12799
|
-
<
|
|
12957
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12800
12958
|
</span>
|
|
12801
|
-
<
|
|
12959
|
+
<kendo-icon-wrapper
|
|
12960
|
+
*ngIf="item.head && !vertical"
|
|
12961
|
+
name="caret-alt-right"
|
|
12962
|
+
[svgIcon]="caretAltRightIcon"
|
|
12963
|
+
>
|
|
12964
|
+
</kendo-icon-wrapper>
|
|
12802
12965
|
</span>
|
|
12803
12966
|
|
|
12804
12967
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12805
|
-
<
|
|
12968
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12806
12969
|
</span>
|
|
12807
12970
|
|
|
12808
12971
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12809
|
-
<
|
|
12972
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12810
12973
|
</span>
|
|
12811
12974
|
|
|
12812
12975
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -14660,12 +14823,12 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
14660
14823
|
class DayTimeModule {
|
|
14661
14824
|
}
|
|
14662
14825
|
DayTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14663
|
-
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] });
|
|
14664
|
-
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule]] });
|
|
14826
|
+
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] });
|
|
14827
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule, IconsModule]] });
|
|
14665
14828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
14666
14829
|
type: NgModule,
|
|
14667
14830
|
args: [{
|
|
14668
|
-
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
14831
|
+
imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule],
|
|
14669
14832
|
exports: [
|
|
14670
14833
|
DIRECTIVES
|
|
14671
14834
|
],
|
|
@@ -17131,7 +17294,7 @@ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
17131
17294
|
</span>
|
|
17132
17295
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17133
17296
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17134
|
-
`, isInline: true, components: [{ type:
|
|
17297
|
+
`, 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"] }] });
|
|
17135
17298
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
17136
17299
|
type: Component,
|
|
17137
17300
|
args: [{
|