@progress/kendo-angular-scheduler 13.0.0-develop.2 → 13.0.0-develop.21
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/editing/date-time-picker.component.d.ts +6 -1
- package/editing/edit-dialog.component.d.ts +3 -0
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -0
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -0
- package/editing/timezone-editor.component.d.ts +4 -0
- package/esm2020/editing/date-time-picker.component.mjs +24 -13
- package/esm2020/editing/edit-dialog.component.mjs +351 -240
- package/esm2020/editing/recurrence/recurrence-editor.component.mjs +40 -36
- package/esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs +156 -130
- package/esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs +26 -13
- package/esm2020/editing/recurrence/recurrence-interval-editor.component.mjs +26 -14
- package/esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +157 -149
- package/esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +40 -23
- package/esm2020/editing/timezone-editor.component.mjs +6 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command.directive.mjs +1 -1
- package/esm2020/scheduler.module.mjs +5 -3
- package/esm2020/toolbar/navigation.component.mjs +14 -8
- package/esm2020/views/agenda/agenda-task-item.component.mjs +1 -1
- package/esm2020/views/agenda/agenda-view-list.component.mjs +16 -10
- package/esm2020/views/day-time/day-time-view-item.component.mjs +9 -9
- package/esm2020/views/month/month-slot.component.mjs +1 -1
- package/esm2020/views/month/month-view-item.component.mjs +9 -9
- package/esm2020/views/view-items/base-view-item.mjs +9 -0
- package/fesm2015/progress-kendo-angular-scheduler.mjs +878 -650
- package/fesm2020/progress-kendo-angular-scheduler.mjs +877 -650
- package/package.json +12 -12
- package/scheduler.module.d.ts +1 -1
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/navigation.component.d.ts +2 -0
- package/views/agenda/agenda-view-list.component.d.ts +4 -2
- package/views/view-items/base-view-item.d.ts +5 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import { EventEmitter } from '@angular/core';
|
|
7
|
-
import { DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
7
|
+
import { DatePickerComponent, DateTimePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
@@ -15,8 +15,13 @@ export declare const SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR: any;
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class SchedulerDateTimePickerComponent implements ControlValueAccessor {
|
|
17
17
|
datePicker: DatePickerComponent;
|
|
18
|
+
dateTimePicker: DateTimePickerComponent;
|
|
18
19
|
isAllDay: boolean;
|
|
19
20
|
valueChange: EventEmitter<Date>;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
get focusableId(): string;
|
|
20
25
|
date: Date;
|
|
21
26
|
writeValue(newDate: any): void;
|
|
22
27
|
onValueChange(newValue: Date): void;
|
|
@@ -13,6 +13,7 @@ import { MultipleResourceEditorComponent } from './resource-multiple-editor.comp
|
|
|
13
13
|
import { SingleResourceEditorComponent } from './resource-single-editor.component';
|
|
14
14
|
import { FocusService } from '../navigation';
|
|
15
15
|
import { Day } from '@progress/kendo-date-math';
|
|
16
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
/**
|
|
18
19
|
* @hidden
|
|
@@ -44,6 +45,8 @@ export declare class EditDialogComponent implements OnDestroy {
|
|
|
44
45
|
formGroup: FormGroup;
|
|
45
46
|
editedEvent: any;
|
|
46
47
|
isNew: boolean;
|
|
48
|
+
saveIcon: SVGIcon;
|
|
49
|
+
cancelIcon: SVGIcon;
|
|
47
50
|
private subs;
|
|
48
51
|
constructor(ngZone: NgZone, editService: EditService, localization: LocalizationService, changeDetector: ChangeDetectorRef, element: ElementRef, focusService: FocusService);
|
|
49
52
|
onChange(): void;
|
|
@@ -16,6 +16,7 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
export declare class RecurrenceEndRuleEditorComponent implements OnDestroy {
|
|
17
17
|
private recurrence;
|
|
18
18
|
private localization;
|
|
19
|
+
cssClass: boolean;
|
|
19
20
|
set userNumericOptions(options: NumericTextBoxOptions);
|
|
20
21
|
set userDatePickerOptions(options: DatePickerOptions);
|
|
21
22
|
endRuleRadioButtons: QueryList<EndRuleRadioButtonDirective>;
|
|
@@ -12,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class RecurrenceIntervalEditorComponent {
|
|
13
13
|
private recurrence;
|
|
14
14
|
private localization;
|
|
15
|
+
cssClass: boolean;
|
|
15
16
|
set userNumericOptions(options: NumericTextBoxOptions);
|
|
16
17
|
intervalValue: number;
|
|
17
18
|
numericOptions: NumericTextBoxOptions;
|
|
@@ -25,6 +25,10 @@ export declare class TimeZoneEditorComponent implements ControlValueAccessor {
|
|
|
25
25
|
* Fires when the value of the component has changed.
|
|
26
26
|
*/
|
|
27
27
|
valueChange: EventEmitter<string>;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
get focusableId(): string;
|
|
28
32
|
tz: string;
|
|
29
33
|
tzNames: Array<string>;
|
|
30
34
|
tzSource: Array<string>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { ViewChild } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
import { Component, forwardRef, Input, Output, EventEmitter } from '@angular/core';
|
|
8
|
-
import { DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
8
|
+
import { DatePickerComponent, DateTimePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "@progress/kendo-angular-dateinputs";
|
|
11
11
|
import * as i2 from "@angular/common";
|
|
@@ -26,6 +26,12 @@ export class SchedulerDateTimePickerComponent {
|
|
|
26
26
|
this.onTouchedCallback = (_) => { };
|
|
27
27
|
this.onChangeCallback = (_) => { };
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
get focusableId() {
|
|
33
|
+
return this.isAllDay ? this.datePicker?.focusableId : this.dateTimePicker?.focusableId;
|
|
34
|
+
}
|
|
29
35
|
writeValue(newDate) {
|
|
30
36
|
if (newDate instanceof Date) {
|
|
31
37
|
this.date = newDate;
|
|
@@ -39,7 +45,7 @@ export class SchedulerDateTimePickerComponent {
|
|
|
39
45
|
* @hidden
|
|
40
46
|
*/
|
|
41
47
|
focus() {
|
|
42
|
-
this.datePicker.focus();
|
|
48
|
+
this.datePicker ? this.datePicker.focus() : this.dateTimePicker.focus();
|
|
43
49
|
}
|
|
44
50
|
/**
|
|
45
51
|
* @hidden
|
|
@@ -57,19 +63,20 @@ export class SchedulerDateTimePickerComponent {
|
|
|
57
63
|
SchedulerDateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerDateTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
58
64
|
SchedulerDateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: { isAllDay: "isAllDay" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
59
65
|
SCHEDULER_DATETIMEPICKER_VALUE_ACCESSOR
|
|
60
|
-
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true,
|
|
66
|
+
], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datepicker"], descendants: true }, { propertyName: "dateTimePicker", first: true, predicate: ["datetimepicker"], descendants: true }], ngImport: i0, template: `
|
|
61
67
|
<kendo-datepicker
|
|
68
|
+
*ngIf='isAllDay'
|
|
62
69
|
#datepicker
|
|
63
70
|
[(value)]='date'
|
|
64
71
|
(valueChange)='onValueChange($event)'
|
|
65
|
-
[style.width.px]="170"
|
|
66
72
|
></kendo-datepicker>
|
|
67
|
-
<kendo-
|
|
73
|
+
<kendo-datetimepicker
|
|
74
|
+
*ngIf='!isAllDay'
|
|
75
|
+
#datetimepicker
|
|
68
76
|
[(value)]='date'
|
|
69
77
|
(valueChange)='onValueChange($event)'
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
`, isInline: true, components: [{ type: i1.DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i1.TimePickerComponent, selector: "kendo-timepicker", inputs: ["focusableId", "disabled", "readonly", "readOnlyInput", "format", "formatPlaceholder", "placeholder", "min", "max", "incompleteDateValidation", "cancelButton", "nowButton", "steps", "popupSettings", "tabindex", "tabIndex", "title", "subtitle", "rangeValidation", "adaptiveMode", "value", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-timepicker"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
78
|
+
>
|
|
79
|
+
`, isInline: true, components: [{ type: i1.DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i1.DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "adaptiveMode", "defaultTab", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur"], exportAs: ["kendo-datetimepicker"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
73
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerDateTimePickerComponent, decorators: [{
|
|
74
81
|
type: Component,
|
|
75
82
|
args: [{
|
|
@@ -79,21 +86,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
79
86
|
selector: 'kendo-scheduler-datetime-picker',
|
|
80
87
|
template: `
|
|
81
88
|
<kendo-datepicker
|
|
89
|
+
*ngIf='isAllDay'
|
|
82
90
|
#datepicker
|
|
83
91
|
[(value)]='date'
|
|
84
92
|
(valueChange)='onValueChange($event)'
|
|
85
|
-
[style.width.px]="170"
|
|
86
93
|
></kendo-datepicker>
|
|
87
|
-
<kendo-
|
|
94
|
+
<kendo-datetimepicker
|
|
95
|
+
*ngIf='!isAllDay'
|
|
96
|
+
#datetimepicker
|
|
88
97
|
[(value)]='date'
|
|
89
98
|
(valueChange)='onValueChange($event)'
|
|
90
|
-
|
|
91
|
-
></kendo-timepicker>
|
|
99
|
+
>
|
|
92
100
|
`
|
|
93
101
|
}]
|
|
94
102
|
}], propDecorators: { datePicker: [{
|
|
95
103
|
type: ViewChild,
|
|
96
|
-
args: ['datepicker'
|
|
104
|
+
args: ['datepicker']
|
|
105
|
+
}], dateTimePicker: [{
|
|
106
|
+
type: ViewChild,
|
|
107
|
+
args: ['datetimepicker']
|
|
97
108
|
}], isAllDay: [{
|
|
98
109
|
type: Input
|
|
99
110
|
}], valueChange: [{
|