@progress/kendo-angular-scheduler 11.0.0-develop.99 → 11.0.1-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +17 -17
- package/esm2020/editing/edit-dialog.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/toolbar/navigation.component.mjs +4 -4
- package/esm2020/toolbar/toolbar.component.mjs +4 -1
- 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 +10 -5
- 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 +127 -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 +392 -225
- package/fesm2020/progress-kendo-angular-scheduler.mjs +361 -194
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +2 -2
- 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,8 +46,8 @@ const packageMetadata = {
|
|
|
46
46
|
name: '@progress/kendo-angular-scheduler',
|
|
47
47
|
productName: 'Kendo UI for Angular',
|
|
48
48
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
49
|
-
publishDate:
|
|
50
|
-
version: '',
|
|
49
|
+
publishDate: 1674059931,
|
|
50
|
+
version: '11.0.1-develop.1',
|
|
51
51
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -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"
|
|
@@ -2801,7 +2801,7 @@ class ToolbarComponent {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
}
|
|
2803
2803
|
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2804
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2804
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2805
2805
|
<ng-template
|
|
2806
2806
|
*ngIf="template; else defaultTemplate"
|
|
2807
2807
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -2840,6 +2840,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2840
2840
|
}, {
|
|
2841
2841
|
type: HostBinding,
|
|
2842
2842
|
args: ['class.k-toolbar']
|
|
2843
|
+
}, {
|
|
2844
|
+
type: HostBinding,
|
|
2845
|
+
args: ['class.k-toolbar-md']
|
|
2843
2846
|
}], selectedView: [{
|
|
2844
2847
|
type: Input
|
|
2845
2848
|
}], views: [{
|
|
@@ -5483,7 +5486,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5483
5486
|
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
5484
5487
|
</kendo-dialog-actions>
|
|
5485
5488
|
</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"] }] });
|
|
5489
|
+
`, 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
5490
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
5488
5491
|
type: Component,
|
|
5489
5492
|
args: [{
|
|
@@ -8179,6 +8182,9 @@ class AgendaTaskItemComponent {
|
|
|
8179
8182
|
constructor(localization, localeId) {
|
|
8180
8183
|
this.localization = localization;
|
|
8181
8184
|
this.localeId = localeId;
|
|
8185
|
+
this.arrowRotateCWIcon = arrowRotateCwIcon;
|
|
8186
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
8187
|
+
this.xIcon = xIcon;
|
|
8182
8188
|
}
|
|
8183
8189
|
get eventTitle() {
|
|
8184
8190
|
const start = toLocalDate(this.item.start);
|
|
@@ -8206,8 +8212,9 @@ AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
8206
8212
|
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
8213
|
<div class="k-task" [title]="item.title">
|
|
8208
8214
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8209
|
-
<
|
|
8210
|
-
|
|
8215
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8216
|
+
|
|
8217
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8211
8218
|
<ng-container *ngIf="!eventTemplate">
|
|
8212
8219
|
{{item?.title }}
|
|
8213
8220
|
</ng-container>
|
|
@@ -8216,10 +8223,10 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
8216
8223
|
</ng-container>
|
|
8217
8224
|
|
|
8218
8225
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8219
|
-
<
|
|
8226
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8220
8227
|
</span>
|
|
8221
8228
|
</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 });
|
|
8229
|
+
`, 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
8230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
|
|
8224
8231
|
type: Component,
|
|
8225
8232
|
args: [{
|
|
@@ -8229,8 +8236,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8229
8236
|
template: `
|
|
8230
8237
|
<div class="k-task" [title]="item.title">
|
|
8231
8238
|
<span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
|
|
8232
|
-
<
|
|
8233
|
-
|
|
8239
|
+
<kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
|
|
8240
|
+
|
|
8241
|
+
<kendo-icon-wrapper *ngIf="isRecurrenceException" name="arrows-no-repeat" [svgIcon]="arrowsNoRepeatIcon"></kendo-icon-wrapper>
|
|
8234
8242
|
<ng-container *ngIf="!eventTemplate">
|
|
8235
8243
|
{{item?.title }}
|
|
8236
8244
|
</ng-container>
|
|
@@ -8239,7 +8247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8239
8247
|
</ng-container>
|
|
8240
8248
|
|
|
8241
8249
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
8242
|
-
<
|
|
8250
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
8243
8251
|
</span>
|
|
8244
8252
|
</div>
|
|
8245
8253
|
`
|
|
@@ -8268,6 +8276,8 @@ class AgendaListComponent {
|
|
|
8268
8276
|
constructor(intlService, localization) {
|
|
8269
8277
|
this.intlService = intlService;
|
|
8270
8278
|
this.localization = localization;
|
|
8279
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
8280
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
8271
8281
|
this.classes = true;
|
|
8272
8282
|
}
|
|
8273
8283
|
extractDataItem(item) {
|
|
@@ -8335,9 +8345,20 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8335
8345
|
</td>
|
|
8336
8346
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8337
8347
|
<div *ngIf="!agendaTimeTemplate">
|
|
8338
|
-
<
|
|
8348
|
+
<kendo-icon-wrapper
|
|
8349
|
+
*ngIf="extractDataItem(item).tail"
|
|
8350
|
+
name="caret-alt-left"
|
|
8351
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8352
|
+
>
|
|
8353
|
+
</kendo-icon-wrapper>
|
|
8354
|
+
|
|
8339
8355
|
{{ formatTime(extractDataItem(item)) }}
|
|
8340
|
-
<
|
|
8356
|
+
<kendo-icon-wrapper
|
|
8357
|
+
*ngIf="extractDataItem(item).head"
|
|
8358
|
+
name="caret-alt-right"
|
|
8359
|
+
[svgIcon]="caretAltRightIcon"
|
|
8360
|
+
>
|
|
8361
|
+
</kendo-icon-wrapper>
|
|
8341
8362
|
</div>
|
|
8342
8363
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8343
8364
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8355,7 +8376,7 @@ AgendaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8355
8376
|
</ng-container>
|
|
8356
8377
|
</tbody>
|
|
8357
8378
|
</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"] }] });
|
|
8379
|
+
`, 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
8380
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaListComponent, decorators: [{
|
|
8360
8381
|
type: Component,
|
|
8361
8382
|
args: [{
|
|
@@ -8377,9 +8398,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8377
8398
|
</td>
|
|
8378
8399
|
<td class="k-scheduler-timecolumn" role="gridcell">
|
|
8379
8400
|
<div *ngIf="!agendaTimeTemplate">
|
|
8380
|
-
<
|
|
8401
|
+
<kendo-icon-wrapper
|
|
8402
|
+
*ngIf="extractDataItem(item).tail"
|
|
8403
|
+
name="caret-alt-left"
|
|
8404
|
+
[svgIcon]="caretAltLeftIcon"
|
|
8405
|
+
>
|
|
8406
|
+
</kendo-icon-wrapper>
|
|
8407
|
+
|
|
8381
8408
|
{{ formatTime(extractDataItem(item)) }}
|
|
8382
|
-
<
|
|
8409
|
+
<kendo-icon-wrapper
|
|
8410
|
+
*ngIf="extractDataItem(item).head"
|
|
8411
|
+
name="caret-alt-right"
|
|
8412
|
+
[svgIcon]="caretAltRightIcon"
|
|
8413
|
+
>
|
|
8414
|
+
</kendo-icon-wrapper>
|
|
8383
8415
|
</div>
|
|
8384
8416
|
<ng-container *ngIf="agendaTimeTemplate" [ngTemplateOutlet]="agendaTimeTemplate"
|
|
8385
8417
|
[ngTemplateOutletContext]="extractDataItem(item)">
|
|
@@ -8901,12 +8933,12 @@ AgendaViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
8901
8933
|
AgendaListComponent,
|
|
8902
8934
|
AgendaTaskItemComponent,
|
|
8903
8935
|
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]] });
|
|
8936
|
+
AgendaViewInternalComponent], imports: [CommonModule, IntlModule, SharedModule, IconsModule], exports: [AgendaViewComponent] });
|
|
8937
|
+
AgendaViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, imports: [[CommonModule, IntlModule, SharedModule, IconsModule]] });
|
|
8906
8938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AgendaViewModule, decorators: [{
|
|
8907
8939
|
type: NgModule,
|
|
8908
8940
|
args: [{
|
|
8909
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
8941
|
+
imports: [CommonModule, IntlModule, SharedModule, IconsModule],
|
|
8910
8942
|
exports: [AgendaViewComponent],
|
|
8911
8943
|
declarations: [COMPONENTS]
|
|
8912
8944
|
}]
|
|
@@ -9464,6 +9496,11 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9464
9496
|
constructor(slotService, localization, focusService, element, renderer, localeId) {
|
|
9465
9497
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
9466
9498
|
this.localeId = localeId;
|
|
9499
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
9500
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
9501
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
9502
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
9503
|
+
this.xIcon = xIcon;
|
|
9467
9504
|
}
|
|
9468
9505
|
reflow() {
|
|
9469
9506
|
if (this.item.data[this.resourceIndex].hidden) {
|
|
@@ -9479,9 +9516,24 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
9479
9516
|
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
9517
|
MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MonthViewItemComponent, selector: "[monthViewItem]", usesInheritance: true, ngImport: i0, template: `
|
|
9481
9518
|
<span class="k-event-actions">
|
|
9482
|
-
<
|
|
9483
|
-
|
|
9484
|
-
|
|
9519
|
+
<kendo-icon-wrapper
|
|
9520
|
+
*ngIf="item.tail"
|
|
9521
|
+
name="caret-alt-left"
|
|
9522
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9523
|
+
>
|
|
9524
|
+
</kendo-icon-wrapper>
|
|
9525
|
+
<kendo-icon-wrapper
|
|
9526
|
+
*ngIf="isRecurrence"
|
|
9527
|
+
name="arrow-rotate-cw"
|
|
9528
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9529
|
+
>
|
|
9530
|
+
</kendo-icon-wrapper>
|
|
9531
|
+
<kendo-icon-wrapper
|
|
9532
|
+
*ngIf="isRecurrenceException"
|
|
9533
|
+
name="arrows-no-repeat"
|
|
9534
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9535
|
+
>
|
|
9536
|
+
</kendo-icon-wrapper>
|
|
9485
9537
|
</span>
|
|
9486
9538
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9487
9539
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9492,16 +9544,21 @@ MonthViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9492
9544
|
|
|
9493
9545
|
<span class="k-event-actions">
|
|
9494
9546
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9495
|
-
<
|
|
9547
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9496
9548
|
</span>
|
|
9497
|
-
<
|
|
9549
|
+
<kendo-icon-wrapper
|
|
9550
|
+
*ngIf="item.head"
|
|
9551
|
+
name="caret-alt-right"
|
|
9552
|
+
[svgIcon]="caretAltRightIcon"
|
|
9553
|
+
>
|
|
9554
|
+
</kendo-icon-wrapper>
|
|
9498
9555
|
</span>
|
|
9499
9556
|
|
|
9500
9557
|
<ng-container *ngIf="resizable">
|
|
9501
9558
|
<span class="k-resize-handle k-resize-w"></span>
|
|
9502
9559
|
<span class="k-resize-handle k-resize-e"></span>
|
|
9503
9560
|
</ng-container>
|
|
9504
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
9561
|
+
`, 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
9562
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewItemComponent, decorators: [{
|
|
9506
9563
|
type: Component,
|
|
9507
9564
|
args: [{
|
|
@@ -9509,9 +9566,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9509
9566
|
selector: '[monthViewItem]',
|
|
9510
9567
|
template: `
|
|
9511
9568
|
<span class="k-event-actions">
|
|
9512
|
-
<
|
|
9513
|
-
|
|
9514
|
-
|
|
9569
|
+
<kendo-icon-wrapper
|
|
9570
|
+
*ngIf="item.tail"
|
|
9571
|
+
name="caret-alt-left"
|
|
9572
|
+
[svgIcon]="caretAltLeftIcon"
|
|
9573
|
+
>
|
|
9574
|
+
</kendo-icon-wrapper>
|
|
9575
|
+
<kendo-icon-wrapper
|
|
9576
|
+
*ngIf="isRecurrence"
|
|
9577
|
+
name="arrow-rotate-cw"
|
|
9578
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
9579
|
+
>
|
|
9580
|
+
</kendo-icon-wrapper>
|
|
9581
|
+
<kendo-icon-wrapper
|
|
9582
|
+
*ngIf="isRecurrenceException"
|
|
9583
|
+
name="arrows-no-repeat"
|
|
9584
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
9585
|
+
>
|
|
9586
|
+
</kendo-icon-wrapper>
|
|
9515
9587
|
</span>
|
|
9516
9588
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
9517
9589
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -9522,9 +9594,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9522
9594
|
|
|
9523
9595
|
<span class="k-event-actions">
|
|
9524
9596
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
9525
|
-
<
|
|
9597
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
9526
9598
|
</span>
|
|
9527
|
-
<
|
|
9599
|
+
<kendo-icon-wrapper
|
|
9600
|
+
*ngIf="item.head"
|
|
9601
|
+
name="caret-alt-right"
|
|
9602
|
+
[svgIcon]="caretAltRightIcon"
|
|
9603
|
+
>
|
|
9604
|
+
</kendo-icon-wrapper>
|
|
9528
9605
|
</span>
|
|
9529
9606
|
|
|
9530
9607
|
<ng-container *ngIf="resizable">
|
|
@@ -10628,86 +10705,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10628
10705
|
args: ['hintContainer', { static: false }]
|
|
10629
10706
|
}] } });
|
|
10630
10707
|
|
|
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
10708
|
/**
|
|
10712
10709
|
* @hidden
|
|
10713
10710
|
*/
|
|
@@ -10799,9 +10796,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10799
10796
|
/**
|
|
10800
10797
|
* @hidden
|
|
10801
10798
|
*/
|
|
10802
|
-
class
|
|
10803
|
-
constructor(element, slotService, localization) {
|
|
10799
|
+
class MonthSlotComponent extends BaseSlotDirective {
|
|
10800
|
+
constructor(element, slotService, localization, cdr) {
|
|
10804
10801
|
super(element, slotService, localization);
|
|
10802
|
+
this.cdr = cdr;
|
|
10803
|
+
this.moreHorizontalIcon = moreHorizontalIcon;
|
|
10805
10804
|
this.isDaySlot = true;
|
|
10806
10805
|
this._linkHeight = null;
|
|
10807
10806
|
}
|
|
@@ -10814,6 +10813,9 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10814
10813
|
get end() {
|
|
10815
10814
|
return addUTCDays(this.start, 1);
|
|
10816
10815
|
}
|
|
10816
|
+
isFirstDayOfMonth(day) {
|
|
10817
|
+
return isEqualDate(day, firstDayOfMonth(day));
|
|
10818
|
+
}
|
|
10817
10819
|
get linkHeight() {
|
|
10818
10820
|
if (this._linkHeight === null) {
|
|
10819
10821
|
const element = firstElementChild(this.nativeElement);
|
|
@@ -10826,41 +10828,159 @@ class MonthSlotDirective extends BaseSlotDirective {
|
|
|
10826
10828
|
this.removeShowMore();
|
|
10827
10829
|
}
|
|
10828
10830
|
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
|
-
}
|
|
10831
|
+
this.showMoreButton = true;
|
|
10832
|
+
this.style = `width: ${rect.width}px; left: ${rect.left}px; top: ${rect.top}px; border-color: inherit;`;
|
|
10833
|
+
this.cdr.detectChanges();
|
|
10838
10834
|
}
|
|
10839
10835
|
hideMore() {
|
|
10836
|
+
this.showMoreButton = false;
|
|
10840
10837
|
this.removeShowMore();
|
|
10841
10838
|
}
|
|
10842
10839
|
invalidate() {
|
|
10843
10840
|
super.invalidate();
|
|
10844
10841
|
this._linkHeight = null;
|
|
10842
|
+
this.showMoreButton = false;
|
|
10845
10843
|
this.removeShowMore();
|
|
10846
10844
|
}
|
|
10847
10845
|
removeShowMore() {
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
this.showMoreElement = null;
|
|
10851
|
-
}
|
|
10846
|
+
this.showMoreButton = false;
|
|
10847
|
+
this.cdr.detectChanges();
|
|
10852
10848
|
}
|
|
10853
10849
|
}
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10850
|
+
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 });
|
|
10851
|
+
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: `
|
|
10852
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10853
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10854
|
+
</span>
|
|
10855
|
+
<ng-container
|
|
10856
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10857
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10858
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10859
|
+
>
|
|
10860
|
+
</ng-container>
|
|
10861
|
+
|
|
10862
|
+
<div *ngIf="showMoreButton" class="k-more-events k-button" [style]="style">
|
|
10863
|
+
<kendo-icon-wrapper
|
|
10864
|
+
innerCssClass="k-i-more-horizontal"
|
|
10865
|
+
name="more-horizontal"
|
|
10866
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10867
|
+
>
|
|
10868
|
+
</kendo-icon-wrapper>
|
|
10869
|
+
</div>
|
|
10870
|
+
`, 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 } });
|
|
10871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
10872
|
+
type: Component,
|
|
10858
10873
|
args: [{
|
|
10859
10874
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
10860
|
-
selector: '[monthSlot]'
|
|
10875
|
+
selector: '[monthSlot]',
|
|
10876
|
+
template: `
|
|
10877
|
+
<span *ngIf="!monthDaySlotTemplateRef" aria-hidden="true" class="k-link k-nav-day">
|
|
10878
|
+
{{ start | kendoDate: isFirstDayOfMonth(start) ? 'MMM dd' : 'dd' }}
|
|
10879
|
+
</span>
|
|
10880
|
+
<ng-container
|
|
10881
|
+
*ngIf="monthDaySlotTemplateRef"
|
|
10882
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
10883
|
+
[ngTemplateOutletContext]="{ date: start, resources: resourcesByIndex }"
|
|
10884
|
+
>
|
|
10885
|
+
</ng-container>
|
|
10886
|
+
|
|
10887
|
+
<div *ngIf="showMoreButton" class="k-more-events k-button" [style]="style">
|
|
10888
|
+
<kendo-icon-wrapper
|
|
10889
|
+
innerCssClass="k-i-more-horizontal"
|
|
10890
|
+
name="more-horizontal"
|
|
10891
|
+
[svgIcon]="moreHorizontalIcon"
|
|
10892
|
+
>
|
|
10893
|
+
</kendo-icon-wrapper>
|
|
10894
|
+
</div>
|
|
10895
|
+
`
|
|
10896
|
+
}]
|
|
10897
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { resourcesByIndex: [{
|
|
10898
|
+
type: Input
|
|
10899
|
+
}], monthDaySlotTemplateRef: [{
|
|
10900
|
+
type: Input
|
|
10901
|
+
}], start: [{
|
|
10902
|
+
type: Input,
|
|
10903
|
+
args: ['monthSlot']
|
|
10904
|
+
}] } });
|
|
10905
|
+
|
|
10906
|
+
/**
|
|
10907
|
+
* @hidden
|
|
10908
|
+
*/
|
|
10909
|
+
class ResizeHintComponent {
|
|
10910
|
+
constructor() {
|
|
10911
|
+
this.marqueeClasses = true;
|
|
10912
|
+
}
|
|
10913
|
+
get left() {
|
|
10914
|
+
return this.hint.rect.left;
|
|
10915
|
+
}
|
|
10916
|
+
get top() {
|
|
10917
|
+
return this.hint.rect.top;
|
|
10918
|
+
}
|
|
10919
|
+
get width() {
|
|
10920
|
+
return this.hint.rect.width;
|
|
10921
|
+
}
|
|
10922
|
+
get height() {
|
|
10923
|
+
return this.hint.rect.height;
|
|
10924
|
+
}
|
|
10925
|
+
get start() {
|
|
10926
|
+
return toLocalDate(this.hint.start);
|
|
10927
|
+
}
|
|
10928
|
+
get end() {
|
|
10929
|
+
return toLocalDate(this.hint.end);
|
|
10930
|
+
}
|
|
10931
|
+
}
|
|
10932
|
+
ResizeHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10933
|
+
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: `
|
|
10934
|
+
<div class="k-marquee-color"></div>
|
|
10935
|
+
<div class="k-marquee-text">
|
|
10936
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10937
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10938
|
+
</div>
|
|
10939
|
+
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "kendoDate": i1$4.DatePipe } });
|
|
10940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHintComponent, decorators: [{
|
|
10941
|
+
type: Component,
|
|
10942
|
+
args: [{
|
|
10943
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10944
|
+
selector: '[kendoResizeHint]',
|
|
10945
|
+
template: `
|
|
10946
|
+
<div class="k-marquee-color"></div>
|
|
10947
|
+
<div class="k-marquee-text">
|
|
10948
|
+
<div class="k-label-top" *ngIf="hint.first">{{ start | kendoDate : format }}</div>
|
|
10949
|
+
<div class="k-label-bottom" *ngIf="hint.last">{{ end | kendoDate : format }}</div>
|
|
10950
|
+
</div>
|
|
10951
|
+
`
|
|
10861
10952
|
}]
|
|
10862
|
-
}],
|
|
10953
|
+
}], propDecorators: { hint: [{
|
|
10954
|
+
type: Input
|
|
10955
|
+
}], format: [{
|
|
10863
10956
|
type: Input
|
|
10957
|
+
}], marqueeClasses: [{
|
|
10958
|
+
type: HostBinding,
|
|
10959
|
+
args: ['class.k-marquee']
|
|
10960
|
+
}, {
|
|
10961
|
+
type: HostBinding,
|
|
10962
|
+
args: ['class.k-scheduler-marquee']
|
|
10963
|
+
}, {
|
|
10964
|
+
type: HostBinding,
|
|
10965
|
+
args: ['class.k-first']
|
|
10966
|
+
}, {
|
|
10967
|
+
type: HostBinding,
|
|
10968
|
+
args: ['class.k-last']
|
|
10969
|
+
}], left: [{
|
|
10970
|
+
type: HostBinding,
|
|
10971
|
+
args: ['style.left.px']
|
|
10972
|
+
}, {
|
|
10973
|
+
type: HostBinding,
|
|
10974
|
+
args: ['style.right.px']
|
|
10975
|
+
}], top: [{
|
|
10976
|
+
type: HostBinding,
|
|
10977
|
+
args: ['style.top.px']
|
|
10978
|
+
}], width: [{
|
|
10979
|
+
type: HostBinding,
|
|
10980
|
+
args: ['style.width.px']
|
|
10981
|
+
}], height: [{
|
|
10982
|
+
type: HostBinding,
|
|
10983
|
+
args: ['style.height.px']
|
|
10864
10984
|
}] } });
|
|
10865
10985
|
|
|
10866
10986
|
class ResourceIterator {
|
|
@@ -11003,9 +11123,6 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
11003
11123
|
addDay(dayStart) {
|
|
11004
11124
|
return addDays(dayStart, 1);
|
|
11005
11125
|
}
|
|
11006
|
-
isFirstDayOfMonth(day) {
|
|
11007
|
-
return isEqualDate(day, firstDayOfMonth(day));
|
|
11008
|
-
}
|
|
11009
11126
|
optionsChange(changes) {
|
|
11010
11127
|
this.schedulerMonthDaySlotTemplate = changes[`${this.type}DaySlotTemplate`];
|
|
11011
11128
|
super.optionsChange(changes);
|
|
@@ -11191,9 +11308,10 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11191
11308
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11192
11309
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11193
11310
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11194
|
-
monthSlot
|
|
11311
|
+
[monthSlot]="day"
|
|
11312
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11313
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11195
11314
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11196
|
-
[start]="day"
|
|
11197
11315
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11198
11316
|
[title]="cellTitle(day)"
|
|
11199
11317
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11203,12 +11321,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11203
11321
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11204
11322
|
})"
|
|
11205
11323
|
>
|
|
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>
|
|
11324
|
+
</td>
|
|
11212
11325
|
</ng-container>
|
|
11213
11326
|
</tr>
|
|
11214
11327
|
</ng-container>
|
|
@@ -11254,7 +11367,7 @@ MonthViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
11254
11367
|
</div>
|
|
11255
11368
|
</div>
|
|
11256
11369
|
</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:
|
|
11370
|
+
`, 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
11371
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
11259
11372
|
type: Component,
|
|
11260
11373
|
args: [{
|
|
@@ -11328,9 +11441,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11328
11441
|
<tr *ngFor="let week of weeks; let rangeIndex = index; trackBy: itemIndex">
|
|
11329
11442
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex">
|
|
11330
11443
|
<td *ngFor="let day of week; let index = index; trackBy: itemIndex"
|
|
11331
|
-
monthSlot
|
|
11444
|
+
[monthSlot]="day"
|
|
11445
|
+
[monthDaySlotTemplateRef]="monthDaySlotTemplateRef"
|
|
11446
|
+
[resourcesByIndex]="resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11332
11447
|
[ngClass]="daySlotClass(day, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
11333
|
-
[start]="day"
|
|
11334
11448
|
[id]="{ resourceIndex: verticalResources.length ? verticalIndex : horizontalIndex, rangeIndex: rangeIndex, index: index }"
|
|
11335
11449
|
[title]="cellTitle(day)"
|
|
11336
11450
|
[class.k-selected]="isSlotSelected({
|
|
@@ -11340,12 +11454,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11340
11454
|
resources: resourcesByIndex(verticalResources.length ? verticalIndex : horizontalIndex)
|
|
11341
11455
|
})"
|
|
11342
11456
|
>
|
|
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>
|
|
11457
|
+
</td>
|
|
11349
11458
|
</ng-container>
|
|
11350
11459
|
</tr>
|
|
11351
11460
|
</ng-container>
|
|
@@ -11679,17 +11788,18 @@ class ViewFooterComponent {
|
|
|
11679
11788
|
}
|
|
11680
11789
|
}
|
|
11681
11790
|
ViewFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11682
|
-
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: `
|
|
11791
|
+
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", "class.k-toolbar-md": "this.hostClasses", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
11683
11792
|
<span class="k-scheduler-navigation">
|
|
11684
11793
|
<button
|
|
11794
|
+
*ngFor="let item of items"
|
|
11685
11795
|
type="button"
|
|
11686
11796
|
kendoButton
|
|
11687
|
-
|
|
11797
|
+
[icon]="item.fontIcon"
|
|
11798
|
+
[svgIcon]="item.svgIcon"
|
|
11688
11799
|
[ngClass]="item.cssClass"
|
|
11689
11800
|
(click)="onItemClick($event, item)"
|
|
11690
11801
|
[kendoSchedulerFocusIndex]="0"
|
|
11691
11802
|
containerType='footer'>
|
|
11692
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11693
11803
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11694
11804
|
</button>
|
|
11695
11805
|
</span>
|
|
@@ -11702,14 +11812,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11702
11812
|
template: `
|
|
11703
11813
|
<span class="k-scheduler-navigation">
|
|
11704
11814
|
<button
|
|
11815
|
+
*ngFor="let item of items"
|
|
11705
11816
|
type="button"
|
|
11706
11817
|
kendoButton
|
|
11707
|
-
|
|
11818
|
+
[icon]="item.fontIcon"
|
|
11819
|
+
[svgIcon]="item.svgIcon"
|
|
11708
11820
|
[ngClass]="item.cssClass"
|
|
11709
11821
|
(click)="onItemClick($event, item)"
|
|
11710
11822
|
[kendoSchedulerFocusIndex]="0"
|
|
11711
11823
|
containerType='footer'>
|
|
11712
|
-
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
11713
11824
|
<span class="k-button-text">{{ item.text }}</span>
|
|
11714
11825
|
</button>
|
|
11715
11826
|
</span>
|
|
@@ -11721,6 +11832,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11721
11832
|
}, {
|
|
11722
11833
|
type: HostBinding,
|
|
11723
11834
|
args: ['class.k-toolbar']
|
|
11835
|
+
}, {
|
|
11836
|
+
type: HostBinding,
|
|
11837
|
+
args: ['class.k-toolbar-md']
|
|
11724
11838
|
}], inlineJustifyContentStyle: [{
|
|
11725
11839
|
type: HostBinding,
|
|
11726
11840
|
args: ['style.justify-content']
|
|
@@ -11738,7 +11852,7 @@ class WorkHoursFooterDirective {
|
|
|
11738
11852
|
this.footer = footer;
|
|
11739
11853
|
this.localization = localization;
|
|
11740
11854
|
this.showWorkHours = false;
|
|
11741
|
-
this.footerItems = [{ cssClass: 'k-scheduler-fullday',
|
|
11855
|
+
this.footerItems = [{ cssClass: 'k-scheduler-fullday', fontIcon: 'clock', svgIcon: clockIcon, text: '' }];
|
|
11742
11856
|
}
|
|
11743
11857
|
ngOnInit() {
|
|
11744
11858
|
this.toggleWorkHours();
|
|
@@ -11781,26 +11895,29 @@ ViewsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
11781
11895
|
RepeatPipe,
|
|
11782
11896
|
ResourceIteratorPipe,
|
|
11783
11897
|
HintContainerComponent,
|
|
11784
|
-
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule], exports: [ViewFooterComponent,
|
|
11898
|
+
ResizeHintComponent], imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], exports: [ViewFooterComponent,
|
|
11785
11899
|
WorkHoursFooterDirective,
|
|
11786
11900
|
RepeatPipe,
|
|
11787
11901
|
ResourceIteratorPipe,
|
|
11788
11902
|
HintContainerComponent,
|
|
11789
11903
|
ResizeHintComponent, IntlModule,
|
|
11790
11904
|
CommonModule,
|
|
11791
|
-
SharedModule
|
|
11792
|
-
|
|
11905
|
+
SharedModule,
|
|
11906
|
+
IconsModule] });
|
|
11907
|
+
ViewsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, imports: [[CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule], IntlModule,
|
|
11793
11908
|
CommonModule,
|
|
11794
|
-
SharedModule
|
|
11909
|
+
SharedModule,
|
|
11910
|
+
IconsModule] });
|
|
11795
11911
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewsSharedModule, decorators: [{
|
|
11796
11912
|
type: NgModule,
|
|
11797
11913
|
args: [{
|
|
11798
|
-
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
11914
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule, IconsModule],
|
|
11799
11915
|
exports: [
|
|
11800
11916
|
DECLARATIONS,
|
|
11801
11917
|
IntlModule,
|
|
11802
11918
|
CommonModule,
|
|
11803
|
-
SharedModule
|
|
11919
|
+
SharedModule,
|
|
11920
|
+
IconsModule
|
|
11804
11921
|
],
|
|
11805
11922
|
declarations: [
|
|
11806
11923
|
DECLARATIONS
|
|
@@ -11817,17 +11934,20 @@ MonthViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
11817
11934
|
MonthViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, declarations: [MonthViewComponent,
|
|
11818
11935
|
MonthViewRendererComponent,
|
|
11819
11936
|
MonthViewItemComponent,
|
|
11820
|
-
|
|
11821
|
-
MultiWeekViewComponent], imports: [ViewsSharedModule
|
|
11937
|
+
MonthSlotComponent,
|
|
11938
|
+
MultiWeekViewComponent], imports: [ViewsSharedModule,
|
|
11939
|
+
IconsModule], exports: [MonthViewComponent,
|
|
11822
11940
|
MultiWeekViewComponent] });
|
|
11823
11941
|
MonthViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, imports: [[
|
|
11824
|
-
ViewsSharedModule
|
|
11942
|
+
ViewsSharedModule,
|
|
11943
|
+
IconsModule
|
|
11825
11944
|
]] });
|
|
11826
11945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewModule, decorators: [{
|
|
11827
11946
|
type: NgModule,
|
|
11828
11947
|
args: [{
|
|
11829
11948
|
imports: [
|
|
11830
|
-
ViewsSharedModule
|
|
11949
|
+
ViewsSharedModule,
|
|
11950
|
+
IconsModule
|
|
11831
11951
|
],
|
|
11832
11952
|
exports: [
|
|
11833
11953
|
MonthViewComponent,
|
|
@@ -11837,7 +11957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11837
11957
|
MonthViewComponent,
|
|
11838
11958
|
MonthViewRendererComponent,
|
|
11839
11959
|
MonthViewItemComponent,
|
|
11840
|
-
|
|
11960
|
+
MonthSlotComponent,
|
|
11841
11961
|
MultiWeekViewComponent
|
|
11842
11962
|
]
|
|
11843
11963
|
}]
|
|
@@ -12688,6 +12808,13 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12688
12808
|
super(slotService, localization, focusService, element, renderer, localeId);
|
|
12689
12809
|
this.intlService = intlService;
|
|
12690
12810
|
this.localeId = localeId;
|
|
12811
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
12812
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
12813
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
12814
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
12815
|
+
this.arrowRotateCwIcon = arrowRotateCwIcon;
|
|
12816
|
+
this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
12817
|
+
this.xIcon = xIcon;
|
|
12691
12818
|
}
|
|
12692
12819
|
get eventTime() {
|
|
12693
12820
|
return this.intlService.format('{0:t}–{1:t}', toLocalDate(this.item.startTime), toLocalDate(this.item.endTime));
|
|
@@ -12696,9 +12823,24 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
12696
12823
|
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
12824
|
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
12825
|
<span class="k-event-actions">
|
|
12699
|
-
<
|
|
12700
|
-
|
|
12701
|
-
|
|
12826
|
+
<kendo-icon-wrapper
|
|
12827
|
+
*ngIf="item.tail && !vertical"
|
|
12828
|
+
name="caret-alt-left"
|
|
12829
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12830
|
+
>
|
|
12831
|
+
</kendo-icon-wrapper>
|
|
12832
|
+
<kendo-icon-wrapper
|
|
12833
|
+
*ngIf="isRecurrence"
|
|
12834
|
+
name="arrow-rotate-cw"
|
|
12835
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12836
|
+
>
|
|
12837
|
+
</kendo-icon-wrapper>
|
|
12838
|
+
<kendo-icon-wrapper
|
|
12839
|
+
*ngIf="isRecurrenceException"
|
|
12840
|
+
name="arrows-no-repeat"
|
|
12841
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12842
|
+
>
|
|
12843
|
+
</kendo-icon-wrapper>
|
|
12702
12844
|
</span>
|
|
12703
12845
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12704
12846
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12710,17 +12852,22 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12710
12852
|
|
|
12711
12853
|
<span class="k-event-actions">
|
|
12712
12854
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12713
|
-
<
|
|
12855
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12714
12856
|
</span>
|
|
12715
|
-
<
|
|
12857
|
+
<kendo-icon-wrapper
|
|
12858
|
+
*ngIf="item.head && !vertical"
|
|
12859
|
+
name="caret-alt-right"
|
|
12860
|
+
[svgIcon]="caretAltRightIcon"
|
|
12861
|
+
>
|
|
12862
|
+
</kendo-icon-wrapper>
|
|
12716
12863
|
</span>
|
|
12717
12864
|
|
|
12718
12865
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12719
|
-
<
|
|
12866
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12720
12867
|
</span>
|
|
12721
12868
|
|
|
12722
12869
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12723
|
-
<
|
|
12870
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12724
12871
|
</span>
|
|
12725
12872
|
|
|
12726
12873
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -12732,7 +12879,7 @@ DayTimeViewItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
12732
12879
|
<span class="k-resize-handle k-resize-w"></span>
|
|
12733
12880
|
<span class="k-resize-handle k-resize-e"></span>
|
|
12734
12881
|
</ng-container>
|
|
12735
|
-
`, isInline: true, directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
12882
|
+
`, 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
12883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeViewItemComponent, decorators: [{
|
|
12737
12884
|
type: Component,
|
|
12738
12885
|
args: [{
|
|
@@ -12740,9 +12887,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12740
12887
|
selector: '[dayTimeViewItem]',
|
|
12741
12888
|
template: `
|
|
12742
12889
|
<span class="k-event-actions">
|
|
12743
|
-
<
|
|
12744
|
-
|
|
12745
|
-
|
|
12890
|
+
<kendo-icon-wrapper
|
|
12891
|
+
*ngIf="item.tail && !vertical"
|
|
12892
|
+
name="caret-alt-left"
|
|
12893
|
+
[svgIcon]="caretAltLeftIcon"
|
|
12894
|
+
>
|
|
12895
|
+
</kendo-icon-wrapper>
|
|
12896
|
+
<kendo-icon-wrapper
|
|
12897
|
+
*ngIf="isRecurrence"
|
|
12898
|
+
name="arrow-rotate-cw"
|
|
12899
|
+
[svgIcon]="arrowRotateCwIcon"
|
|
12900
|
+
>
|
|
12901
|
+
</kendo-icon-wrapper>
|
|
12902
|
+
<kendo-icon-wrapper
|
|
12903
|
+
*ngIf="isRecurrenceException"
|
|
12904
|
+
name="arrows-no-repeat"
|
|
12905
|
+
[svgIcon]="arrowsNoRepeatIcon"
|
|
12906
|
+
>
|
|
12907
|
+
</kendo-icon-wrapper>
|
|
12746
12908
|
</span>
|
|
12747
12909
|
<ng-container *ngIf="eventTemplate" [ngTemplateOutlet]="eventTemplate"
|
|
12748
12910
|
[ngTemplateOutletContext]="{ $implicit: item.event, event: item.event, resources: resources }">
|
|
@@ -12754,17 +12916,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12754
12916
|
|
|
12755
12917
|
<span class="k-event-actions">
|
|
12756
12918
|
<span *ngIf="removable" class="k-link k-event-delete" aria-hidden="true" [attr.title]="deleteMessage">
|
|
12757
|
-
<
|
|
12919
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
12758
12920
|
</span>
|
|
12759
|
-
<
|
|
12921
|
+
<kendo-icon-wrapper
|
|
12922
|
+
*ngIf="item.head && !vertical"
|
|
12923
|
+
name="caret-alt-right"
|
|
12924
|
+
[svgIcon]="caretAltRightIcon"
|
|
12925
|
+
>
|
|
12926
|
+
</kendo-icon-wrapper>
|
|
12760
12927
|
</span>
|
|
12761
12928
|
|
|
12762
12929
|
<span class="k-event-top-actions" *ngIf="item.tail && vertical">
|
|
12763
|
-
<
|
|
12930
|
+
<kendo-icon-wrapper name="caret-alt-up" [svgIcon]="caretAltUpIcon"></kendo-icon-wrapper>
|
|
12764
12931
|
</span>
|
|
12765
12932
|
|
|
12766
12933
|
<span class="k-event-bottom-actions" *ngIf="item.head && vertical">
|
|
12767
|
-
<
|
|
12934
|
+
<kendo-icon-wrapper name="caret-alt-down" [svgIcon]="caretAltDownIcon"></kendo-icon-wrapper>
|
|
12768
12935
|
</span>
|
|
12769
12936
|
|
|
12770
12937
|
<ng-container *ngIf="resizable && vertical">
|
|
@@ -14616,12 +14783,12 @@ const DIRECTIVES = [TimeSlotDirective, DaySlotDirective, DayTimeViewItemComponen
|
|
|
14616
14783
|
class DayTimeModule {
|
|
14617
14784
|
}
|
|
14618
14785
|
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]] });
|
|
14786
|
+
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] });
|
|
14787
|
+
DayTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, imports: [[CommonModule, SharedModule, ViewsSharedModule, IconsModule]] });
|
|
14621
14788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayTimeModule, decorators: [{
|
|
14622
14789
|
type: NgModule,
|
|
14623
14790
|
args: [{
|
|
14624
|
-
imports: [CommonModule, SharedModule, ViewsSharedModule],
|
|
14791
|
+
imports: [CommonModule, SharedModule, ViewsSharedModule, IconsModule],
|
|
14625
14792
|
exports: [
|
|
14626
14793
|
DIRECTIVES
|
|
14627
14794
|
],
|
|
@@ -17087,7 +17254,7 @@ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
17087
17254
|
</span>
|
|
17088
17255
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17089
17256
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17090
|
-
`, isInline: true, components: [{ type:
|
|
17257
|
+
`, 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
17258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
17092
17259
|
type: Component,
|
|
17093
17260
|
args: [{
|