@progress/kendo-angular-scheduler 4.0.0-next.202204060921 → 4.1.0-dev.202205110813
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/bundles/kendo-angular-scheduler.umd.js +1 -1
- package/editing-directives/base-edit.service.d.ts +18 -0
- package/esm2015/editing/edit-dialog.component.js +176 -162
- package/esm2015/editing/recurrence/recurrence-editor.component.js +36 -40
- package/esm2015/editing/recurrence/recurrence-end-rule-editor.component.js +14 -16
- package/esm2015/editing/recurrence/recurrence-frequency-editor.component.js +27 -25
- package/esm2015/editing/recurrence/recurrence-interval-editor.component.js +44 -44
- package/esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +12 -14
- package/esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js +27 -25
- package/esm2015/editing-directives/base-edit.service.js +18 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/scheduler.component.js +8 -1
- package/esm2015/toolbar/navigation.component.js +1 -1
- package/esm2015/toolbar/view-selector.component.js +1 -1
- package/esm2015/types/ongoing-events-settings.interface.js +5 -0
- package/esm2015/views/common/base-view.js +3 -0
- package/esm2015/views/common/configuration-view-base.js +9 -1
- package/esm2015/views/common/view-footer.component.js +1 -1
- package/esm2015/views/constants.js +6 -0
- package/esm2015/views/day-time/day-time-view-base.js +10 -1
- package/esm2015/views/day-time/day-time-view.component.js +32 -3
- package/esm2015/views/month/month-view-renderer.component.js +44 -7
- package/esm2015/views/month/month-view.component.js +3 -1
- package/esm2015/views/multi-day/day-view.component.js +2 -0
- package/esm2015/views/multi-day/multi-day-view.component.js +2 -0
- package/esm2015/views/multi-day/week-view.component.js +2 -0
- package/esm2015/views/multi-day/work-week-view.component.js +2 -0
- package/esm2015/views/timeline/timeline-month-view.component.js +2 -0
- package/esm2015/views/timeline/timeline-view.component.js +2 -0
- package/esm2015/views/timeline/timeline-week-view.component.js +2 -0
- package/esm2015/views/utils.js +5 -1
- package/fesm2015/kendo-angular-scheduler.js +596 -453
- package/package.json +16 -18
- package/scheduler.component.d.ts +6 -2
- package/schematics/ngAdd/index.js +1 -1
- package/types/ongoing-events-settings.interface.d.ts +23 -0
- package/types.d.ts +1 -0
- package/views/common/base-view.d.ts +6 -0
- package/views/common/configuration-view-base.d.ts +10 -2
- package/views/constants.d.ts +6 -0
- package/views/day-time/day-time-view-base.d.ts +10 -2
- package/views/day-time/day-time-view.component.d.ts +7 -1
- package/views/month/month-view-renderer.component.d.ts +11 -2
|
@@ -120,16 +120,15 @@ export class RecurrenceEndRuleEditorComponent {
|
|
|
120
120
|
}
|
|
121
121
|
RecurrenceEndRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceEndRuleEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
122
122
|
RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: { userNumericOptions: "userNumericOptions", userDatePickerOptions: "userDatePickerOptions" }, viewQueries: [{ propertyName: "endRuleRadioButtons", predicate: EndRuleRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
123
|
-
<div class='k-
|
|
124
|
-
<label (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
<li>
|
|
123
|
+
<div class='k-form-field'>
|
|
124
|
+
<label class='k-form-label' (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
125
|
+
|
|
126
|
+
<ul class='k-form-field-wrap k-reset'>
|
|
127
|
+
<li class='k-radio-item'>
|
|
129
128
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-never-{{uniqueId}}' />
|
|
130
129
|
<label class='k-radio-label' for='k-endrule-never-{{uniqueId}}'>{{ textFor('endNever') }}</label>
|
|
131
130
|
</li>
|
|
132
|
-
<li>
|
|
131
|
+
<li class='k-radio-item'>
|
|
133
132
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-count-{{uniqueId}}' />
|
|
134
133
|
<label class='k-radio-label' for='k-endrule-count-{{uniqueId}}'>{{ textFor('endAfter') }}</label>
|
|
135
134
|
|
|
@@ -152,7 +151,7 @@ RecurrenceEndRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
152
151
|
</kendo-numerictextbox>
|
|
153
152
|
<span>{{ textFor('endOccurrence') }}</span>
|
|
154
153
|
</li>
|
|
155
|
-
<li>
|
|
154
|
+
<li class='k-radio-item'>
|
|
156
155
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-until-{{uniqueId}}' />
|
|
157
156
|
<label class='k-radio-label' for='k-endrule-until-{{uniqueId}}'>{{ textFor('endOn') }}</label>
|
|
158
157
|
|
|
@@ -189,16 +188,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
189
188
|
args: [{
|
|
190
189
|
selector: 'kendo-recurrence-end-rule-editor',
|
|
191
190
|
template: `
|
|
192
|
-
<div class='k-
|
|
193
|
-
<label (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<li>
|
|
191
|
+
<div class='k-form-field'>
|
|
192
|
+
<label class='k-form-label' (click)="onEndLabelClick()">{{ textFor('endLabel') }}</label>
|
|
193
|
+
|
|
194
|
+
<ul class='k-form-field-wrap k-reset'>
|
|
195
|
+
<li class='k-radio-item'>
|
|
198
196
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-never-{{uniqueId}}' />
|
|
199
197
|
<label class='k-radio-label' for='k-endrule-never-{{uniqueId}}'>{{ textFor('endNever') }}</label>
|
|
200
198
|
</li>
|
|
201
|
-
<li>
|
|
199
|
+
<li class='k-radio-item'>
|
|
202
200
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-count-{{uniqueId}}' />
|
|
203
201
|
<label class='k-radio-label' for='k-endrule-count-{{uniqueId}}'>{{ textFor('endAfter') }}</label>
|
|
204
202
|
|
|
@@ -221,7 +219,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
221
219
|
</kendo-numerictextbox>
|
|
222
220
|
<span>{{ textFor('endOccurrence') }}</span>
|
|
223
221
|
</li>
|
|
224
|
-
<li>
|
|
222
|
+
<li class='k-radio-item'>
|
|
225
223
|
<input kendoRecurrenceEndRuleRadioButton='k-endrule-until-{{uniqueId}}' />
|
|
226
224
|
<label class='k-radio-label' for='k-endrule-until-{{uniqueId}}'>{{ textFor('endOn') }}</label>
|
|
227
225
|
|
|
@@ -40,37 +40,39 @@ export class RecurrenceFrequencyEditorComponent {
|
|
|
40
40
|
}
|
|
41
41
|
RecurrenceFrequencyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceFrequencyEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
42
|
RecurrenceFrequencyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
43
|
-
<div class='k-
|
|
44
|
-
<label (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
43
|
+
<div class='k-form-field'>
|
|
44
|
+
<label class="k-form-label" (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
45
|
+
|
|
46
|
+
<div class='k-form-field-wrap'>
|
|
47
|
+
<kendo-buttongroup [selection]="'single'">
|
|
48
|
+
<button *ngFor='let freq of frequencies' kendoButton
|
|
49
|
+
[style.width.px]="100"
|
|
50
|
+
[togglable]="true"
|
|
51
|
+
[selected]="freq.value === selected"
|
|
52
|
+
(click)="onClick(freq)"
|
|
53
|
+
>{{ freq.text }}</button>
|
|
54
|
+
</kendo-buttongroup>
|
|
55
|
+
</div>
|
|
45
56
|
</div>
|
|
46
|
-
|
|
47
|
-
<kendo-buttongroup [selection]="'single'">
|
|
48
|
-
<button *ngFor='let freq of frequencies' kendoButton
|
|
49
|
-
[style.width.px]="100"
|
|
50
|
-
[togglable]="true"
|
|
51
|
-
[selected]="freq.value === selected"
|
|
52
|
-
(click)="onClick(freq)"
|
|
53
|
-
>{{ freq.text }}</button>
|
|
54
|
-
</kendo-buttongroup>
|
|
55
|
-
</div>
|
|
56
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "shape", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
57
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
57
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
58
59
|
type: Component,
|
|
59
60
|
args: [{
|
|
60
61
|
selector: 'kendo-recurrence-frequency-editor',
|
|
61
62
|
template: `
|
|
62
|
-
<div class='k-
|
|
63
|
-
<label (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
63
|
+
<div class='k-form-field'>
|
|
64
|
+
<label class="k-form-label" (click)="onFrequencyClick()">{{ textFor('repeat') }}</label>
|
|
65
|
+
|
|
66
|
+
<div class='k-form-field-wrap'>
|
|
67
|
+
<kendo-buttongroup [selection]="'single'">
|
|
68
|
+
<button *ngFor='let freq of frequencies' kendoButton
|
|
69
|
+
[style.width.px]="100"
|
|
70
|
+
[togglable]="true"
|
|
71
|
+
[selected]="freq.value === selected"
|
|
72
|
+
(click)="onClick(freq)"
|
|
73
|
+
>{{ freq.text }}</button>
|
|
74
|
+
</kendo-buttongroup>
|
|
75
|
+
</div>
|
|
74
76
|
</div>
|
|
75
77
|
`
|
|
76
78
|
}]
|
|
@@ -76,30 +76,30 @@ export class RecurrenceIntervalEditorComponent {
|
|
|
76
76
|
}
|
|
77
77
|
RecurrenceIntervalEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceIntervalEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
78
|
RecurrenceIntervalEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: { userNumericOptions: "userNumericOptions" }, ngImport: i0, template: `
|
|
79
|
-
<div class=
|
|
80
|
-
<label (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
81
|
-
</div>
|
|
79
|
+
<div class='k-form-field'>
|
|
80
|
+
<label class="k-form-label" (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
82
|
+
<div class="k-form-field-wrap">
|
|
83
|
+
<kendo-numerictextbox
|
|
84
|
+
#intervalNumeric
|
|
85
|
+
[style.width.px]="70"
|
|
86
|
+
[min]="numericOptions.min"
|
|
87
|
+
[max]="numericOptions.max"
|
|
88
|
+
[decimals]="0"
|
|
89
|
+
[format]="numericOptions.format"
|
|
90
|
+
[autoCorrect]="numericOptions.autoCorrect"
|
|
91
|
+
[readonly]="numericOptions.readonly"
|
|
92
|
+
[selectOnFocus]="numericOptions.selectOnFocus"
|
|
93
|
+
[spinners]="numericOptions.spinners"
|
|
94
|
+
[step]="numericOptions.step"
|
|
95
|
+
[title]="numericOptions.title"
|
|
96
|
+
[(value)]="intervalValue"
|
|
97
|
+
(blur)="onIntervalBlur()"
|
|
98
|
+
(valueChange)="onIntervalChange($event)">
|
|
99
|
+
</kendo-numerictextbox>
|
|
101
100
|
|
|
102
|
-
|
|
101
|
+
<span>{{ textForFrequency() }}</span>
|
|
102
|
+
</div>
|
|
103
103
|
</div>
|
|
104
104
|
`, isInline: true, components: [{ type: i3.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }] });
|
|
105
105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceIntervalEditorComponent, decorators: [{
|
|
@@ -107,30 +107,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
107
107
|
args: [{
|
|
108
108
|
selector: 'kendo-recurrence-interval-editor',
|
|
109
109
|
template: `
|
|
110
|
-
<div class=
|
|
111
|
-
<label (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
112
|
-
</div>
|
|
110
|
+
<div class='k-form-field'>
|
|
111
|
+
<label class="k-form-label" (click)="intervalNumeric.focus()">{{ textForRepeatEvery() }}</label>
|
|
113
112
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
113
|
+
<div class="k-form-field-wrap">
|
|
114
|
+
<kendo-numerictextbox
|
|
115
|
+
#intervalNumeric
|
|
116
|
+
[style.width.px]="70"
|
|
117
|
+
[min]="numericOptions.min"
|
|
118
|
+
[max]="numericOptions.max"
|
|
119
|
+
[decimals]="0"
|
|
120
|
+
[format]="numericOptions.format"
|
|
121
|
+
[autoCorrect]="numericOptions.autoCorrect"
|
|
122
|
+
[readonly]="numericOptions.readonly"
|
|
123
|
+
[selectOnFocus]="numericOptions.selectOnFocus"
|
|
124
|
+
[spinners]="numericOptions.spinners"
|
|
125
|
+
[step]="numericOptions.step"
|
|
126
|
+
[title]="numericOptions.title"
|
|
127
|
+
[(value)]="intervalValue"
|
|
128
|
+
(blur)="onIntervalBlur()"
|
|
129
|
+
(valueChange)="onIntervalChange($event)">
|
|
130
|
+
</kendo-numerictextbox>
|
|
132
131
|
|
|
133
|
-
|
|
132
|
+
<span>{{ textForFrequency() }}</span>
|
|
133
|
+
</div>
|
|
134
134
|
</div>
|
|
135
135
|
`
|
|
136
136
|
}]
|
|
@@ -234,12 +234,11 @@ export class RecurrenceMonthlyYearlyEditorComponent {
|
|
|
234
234
|
}
|
|
235
235
|
RecurrenceMonthlyYearlyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceMonthlyYearlyEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
236
236
|
RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: { userNumericOptions: "userNumericOptions" }, viewQueries: [{ propertyName: "repeatOnRadioButtons", predicate: RepeatOnRadioButtonDirective, descendants: true }], ngImport: i0, template: `
|
|
237
|
-
<div class='k-
|
|
238
|
-
<label (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
<li>
|
|
237
|
+
<div class='k-form-field'>
|
|
238
|
+
<label class='k-form-label' (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
239
|
+
|
|
240
|
+
<ul class='k-form-field-wrap k-reset' [style.width.px]='650'>
|
|
241
|
+
<li class='k-radio-item'>
|
|
243
242
|
<input kendoRecurrenceRepeatOnRadioButton='monthday-{{uniqueId}}' />
|
|
244
243
|
|
|
245
244
|
<label class='k-radio-label' for='k-repeaton-monthday-{{uniqueId}}'>
|
|
@@ -280,7 +279,7 @@ RecurrenceMonthlyYearlyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVe
|
|
|
280
279
|
[style.margin]="'0 .4ex 0 1ex'">
|
|
281
280
|
</kendo-numerictextbox>
|
|
282
281
|
</li>
|
|
283
|
-
<li>
|
|
282
|
+
<li class='k-radio-item'>
|
|
284
283
|
<input kendoRecurrenceRepeatOnRadioButton='weekday-{{uniqueId}}' />
|
|
285
284
|
<label class='k-radio-label' for='k-repeaton-weekday-{{uniqueId}}'></label>
|
|
286
285
|
|
|
@@ -332,12 +331,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
332
331
|
args: [{
|
|
333
332
|
selector: 'kendo-recurrence-monthly-yearly-editor',
|
|
334
333
|
template: `
|
|
335
|
-
<div class='k-
|
|
336
|
-
<label (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
<li>
|
|
334
|
+
<div class='k-form-field'>
|
|
335
|
+
<label class='k-form-label' (click)="onRepeatOnLabelClick()">{{ textForRepeatOn() }}</label>
|
|
336
|
+
|
|
337
|
+
<ul class='k-form-field-wrap k-reset' [style.width.px]='650'>
|
|
338
|
+
<li class='k-radio-item'>
|
|
341
339
|
<input kendoRecurrenceRepeatOnRadioButton='monthday-{{uniqueId}}' />
|
|
342
340
|
|
|
343
341
|
<label class='k-radio-label' for='k-repeaton-monthday-{{uniqueId}}'>
|
|
@@ -378,7 +376,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
378
376
|
[style.margin]="'0 .4ex 0 1ex'">
|
|
379
377
|
</kendo-numerictextbox>
|
|
380
378
|
</li>
|
|
381
|
-
<li>
|
|
379
|
+
<li class='k-radio-item'>
|
|
382
380
|
<input kendoRecurrenceRepeatOnRadioButton='weekday-{{uniqueId}}' />
|
|
383
381
|
<label class='k-radio-label' for='k-repeaton-weekday-{{uniqueId}}'></label>
|
|
384
382
|
|
|
@@ -65,37 +65,39 @@ export class RecurrenceWeekdayRuleEditorComponent {
|
|
|
65
65
|
}
|
|
66
66
|
RecurrenceWeekdayRuleEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
67
|
RecurrenceWeekdayRuleEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor", viewQueries: [{ propertyName: "weekDayButtons", predicate: Button, descendants: true }], ngImport: i0, template: `
|
|
68
|
-
<div class='k-
|
|
69
|
-
<label (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
68
|
+
<div class='k-form-field'>
|
|
69
|
+
<label class='k-form-label' (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
70
|
+
|
|
71
|
+
<div class='k-form-field-wrap'>
|
|
72
|
+
<kendo-buttongroup [selection]="'multiple'">
|
|
73
|
+
<button *ngFor='let day of weekDays' kendoButton
|
|
74
|
+
[style.width.px]="75"
|
|
75
|
+
[toggleable]="true"
|
|
76
|
+
[selected]="isSelected(day)"
|
|
77
|
+
(selectedChange)="onSelectedChange($event, day.value)"
|
|
78
|
+
>{{ capitalize(day.text) }}</button>
|
|
79
|
+
</kendo-buttongroup>
|
|
80
|
+
</div>
|
|
70
81
|
</div>
|
|
71
|
-
|
|
72
|
-
<kendo-buttongroup [selection]="'multiple'">
|
|
73
|
-
<button *ngFor='let day of weekDays' kendoButton
|
|
74
|
-
[style.width.px]="75"
|
|
75
|
-
[toggleable]="true"
|
|
76
|
-
[selected]="isSelected(day)"
|
|
77
|
-
(selectedChange)="onSelectedChange($event, day.value)"
|
|
78
|
-
>{{ capitalize(day.text) }}</button>
|
|
79
|
-
</kendo-buttongroup>
|
|
80
|
-
</div>
|
|
81
|
-
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "shape", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
82
|
+
`, isInline: true, components: [{ type: i3.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
82
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
83
84
|
type: Component,
|
|
84
85
|
args: [{
|
|
85
86
|
selector: 'kendo-recurrence-weekday-rule-editor',
|
|
86
87
|
template: `
|
|
87
|
-
<div class='k-
|
|
88
|
-
<label (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
<div class='k-form-field'>
|
|
89
|
+
<label class='k-form-label' (click)="onWeeklyRepeatOnClick()">{{ textFor('weeklyRepeatOn') }}</label>
|
|
90
|
+
|
|
91
|
+
<div class='k-form-field-wrap'>
|
|
92
|
+
<kendo-buttongroup [selection]="'multiple'">
|
|
93
|
+
<button *ngFor='let day of weekDays' kendoButton
|
|
94
|
+
[style.width.px]="75"
|
|
95
|
+
[toggleable]="true"
|
|
96
|
+
[selected]="isSelected(day)"
|
|
97
|
+
(selectedChange)="onSelectedChange($event, day.value)"
|
|
98
|
+
>{{ capitalize(day.text) }}</button>
|
|
99
|
+
</kendo-buttongroup>
|
|
100
|
+
</div>
|
|
99
101
|
</div>
|
|
100
102
|
`
|
|
101
103
|
}]
|
|
@@ -99,6 +99,12 @@ export class BaseEditService {
|
|
|
99
99
|
this.logRemoveOccurrence(event);
|
|
100
100
|
this.saveChanges();
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns the master recurring event for a specified recurring event.
|
|
104
|
+
*
|
|
105
|
+
* @param event - An event from the recurrence series.
|
|
106
|
+
* @returns the master recurring event for the series.
|
|
107
|
+
*/
|
|
102
108
|
findRecurrenceMaster(event) {
|
|
103
109
|
const id = this.getId(event);
|
|
104
110
|
const recurrenceId = this.getRecurrenceId(event);
|
|
@@ -106,9 +112,21 @@ export class BaseEditService {
|
|
|
106
112
|
const index = this.itemIndex(headId, this.data);
|
|
107
113
|
return this.data[index];
|
|
108
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Checks if the event is part of the recurrence series.
|
|
117
|
+
*
|
|
118
|
+
* @param event - The event that will be checked.
|
|
119
|
+
* @returns `true` if the event is an occurrence, an exception, or a master event. Otherwise, returns `false`.
|
|
120
|
+
*/
|
|
109
121
|
isRecurring(event) {
|
|
110
122
|
return isRecurring(event, this.fields);
|
|
111
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Checks if the event is a recurrence exception.
|
|
126
|
+
*
|
|
127
|
+
* @param event - The event that will be checked.
|
|
128
|
+
* @returns `true` if the event is a unique event which belongs to a recurrence series. Otherwise, returns `false`.
|
|
129
|
+
*/
|
|
112
130
|
isException(event) {
|
|
113
131
|
return isException(event, this.fields);
|
|
114
132
|
}
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-scheduler',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1652256738,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -158,6 +158,10 @@ export class SchedulerComponent {
|
|
|
158
158
|
* Specifies the Scheduler current time marker settings.
|
|
159
159
|
*/
|
|
160
160
|
this.currentTimeMarker = true;
|
|
161
|
+
/**
|
|
162
|
+
* Specifies the settings for the ongoing events highlight of the Scheduler.
|
|
163
|
+
*/
|
|
164
|
+
this.highlightOngoingEvents = true;
|
|
161
165
|
/**
|
|
162
166
|
* A callback that executes for each slot of the Scheduler view.
|
|
163
167
|
* If it returns `true`, the `k-state-selected` CSS class will be added to the cell, making it visibly selected.
|
|
@@ -729,6 +733,7 @@ export class SchedulerComponent {
|
|
|
729
733
|
selectable: this.selectable,
|
|
730
734
|
timezone: this.timezone,
|
|
731
735
|
currentTimeMarker: this.currentTimeMarker,
|
|
736
|
+
highlightOngoingEvents: this.highlightOngoingEvents,
|
|
732
737
|
slotClass: this.slotClass,
|
|
733
738
|
slotFill: this.slotFill,
|
|
734
739
|
columnWidth: this.columnWidth,
|
|
@@ -860,7 +865,7 @@ export class SchedulerComponent {
|
|
|
860
865
|
}
|
|
861
866
|
}
|
|
862
867
|
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.EditService }, { token: i4.DialogsService }, { token: i5.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i6.PDFService }, { token: i7.LocalizationService }, { token: i8.DomEventsService }, { token: i0.Renderer2 }, { token: i9.FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
863
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
868
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
864
869
|
EditService,
|
|
865
870
|
DialogsService,
|
|
866
871
|
DomEventsService,
|
|
@@ -1501,6 +1506,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1501
1506
|
type: Input
|
|
1502
1507
|
}], currentTimeMarker: [{
|
|
1503
1508
|
type: Input
|
|
1509
|
+
}], highlightOngoingEvents: [{
|
|
1510
|
+
type: Input
|
|
1504
1511
|
}], slotClass: [{
|
|
1505
1512
|
type: Input
|
|
1506
1513
|
}], eventClass: [{
|
|
@@ -208,7 +208,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
208
208
|
</kendo-calendar-messages>
|
|
209
209
|
</kendo-calendar>
|
|
210
210
|
</ng-template>
|
|
211
|
-
`, isInline: true, components: [{ type: i4.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i4.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "
|
|
211
|
+
`, isInline: true, components: [{ type: i4.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i4.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i5.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], pipes: { "async": i6.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
212
212
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
213
213
|
type: Component,
|
|
214
214
|
args: [{
|
|
@@ -93,7 +93,7 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
93
93
|
</span>
|
|
94
94
|
</button>
|
|
95
95
|
</span>
|
|
96
|
-
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "
|
|
96
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
98
98
|
type: Component,
|
|
99
99
|
args: [{
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -38,6 +38,9 @@ export class BaseView {
|
|
|
38
38
|
this.pdfService = pdfService;
|
|
39
39
|
this.localization = localization;
|
|
40
40
|
this.cdr = cdr;
|
|
41
|
+
/**
|
|
42
|
+
* The non-all-day events.
|
|
43
|
+
*/
|
|
41
44
|
this.items = new BehaviorSubject(null);
|
|
42
45
|
this.horizontalResources = [];
|
|
43
46
|
this.verticalResources = [];
|
|
@@ -45,6 +45,12 @@ export class ConfigurationViewBase extends SchedulerView {
|
|
|
45
45
|
get viewEventStyles() {
|
|
46
46
|
return isPresent(this.eventStyles) ? this.eventStyles : this.schedulerOptions.eventStyles;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
get viewHighlightOngoingEvents() {
|
|
52
|
+
return isPresent(this.highlightOngoingEvents) ? this.highlightOngoingEvents : this.schedulerOptions.highlightOngoingEvents;
|
|
53
|
+
}
|
|
48
54
|
/**
|
|
49
55
|
* @hidden
|
|
50
56
|
*/
|
|
@@ -62,7 +68,7 @@ export class ConfigurationViewBase extends SchedulerView {
|
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
-
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles" }, queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
71
|
+
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "eventTemplate", first: true, predicate: EventTemplateDirective, descendants: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
66
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
67
73
|
type: Directive
|
|
68
74
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
@@ -71,6 +77,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
71
77
|
type: Input
|
|
72
78
|
}], eventStyles: [{
|
|
73
79
|
type: Input
|
|
80
|
+
}], highlightOngoingEvents: [{
|
|
81
|
+
type: Input
|
|
74
82
|
}], template: [{
|
|
75
83
|
type: ViewChild,
|
|
76
84
|
args: ['content', { static: true }]
|
|
@@ -30,7 +30,7 @@ ViewFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
30
30
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
31
31
|
<span class="k-button-text">{{ item.text }}</span>
|
|
32
32
|
</button>
|
|
33
|
-
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "
|
|
33
|
+
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{
|
|
@@ -21,3 +21,9 @@ export { MS_PER_DAY } from '@progress/kendo-date-math';
|
|
|
21
21
|
export const BORDER_WIDTH = 1;
|
|
22
22
|
/** @hidden */
|
|
23
23
|
export const DEFAULT_EVENT_HEIGHT = 25;
|
|
24
|
+
/** @hidden */
|
|
25
|
+
export const ONGOING_EVENT_CSS_CLASS = 'k-event-ongoing';
|
|
26
|
+
/** @hidden */
|
|
27
|
+
export const DAYS_IN_WEEK_COUNT = 7;
|
|
28
|
+
/** @hidden */
|
|
29
|
+
export const WEEKS_COUNT = 6;
|
|
@@ -22,6 +22,7 @@ const WORK_WEEK_END = 'workWeekEnd';
|
|
|
22
22
|
const SLOT_DURATION = 'slotDuration';
|
|
23
23
|
const SLOT_DIVISIONS = 'slotDivisions';
|
|
24
24
|
const CURRENT_TIME_MARKER = 'currentTimeMarker';
|
|
25
|
+
const HIGHLIGHT_ONGOING_EVENTS = 'highlightOngoingEvents';
|
|
25
26
|
/**
|
|
26
27
|
* @hidden
|
|
27
28
|
*/
|
|
@@ -95,6 +96,12 @@ export class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
95
96
|
get viewCurrentTimeMarker() {
|
|
96
97
|
return this.optionValue(CURRENT_TIME_MARKER);
|
|
97
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
get viewHighlightOngoingEvents() {
|
|
103
|
+
return this.optionValue(HIGHLIGHT_ONGOING_EVENTS);
|
|
104
|
+
}
|
|
98
105
|
/**
|
|
99
106
|
* @hidden
|
|
100
107
|
*/
|
|
@@ -106,7 +113,7 @@ export class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
106
113
|
}
|
|
107
114
|
}
|
|
108
115
|
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
109
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
116
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", eventHeight: "eventHeight", startTime: "startTime", scrollTime: "scrollTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", slotDuration: "slotDuration", slotDivisions: "slotDivisions", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents" }, queries: [{ propertyName: "timeSlotTemplate", first: true, predicate: TimeSlotTemplateDirective, descendants: true }, { propertyName: "dateHeaderTemplate", first: true, predicate: DateHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
110
117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
111
118
|
type: Directive
|
|
112
119
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.ViewContextService }, { type: i3.ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
@@ -139,4 +146,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
139
146
|
type: Input
|
|
140
147
|
}], currentTimeMarker: [{
|
|
141
148
|
type: Input
|
|
149
|
+
}], highlightOngoingEvents: [{
|
|
150
|
+
type: Input
|
|
142
151
|
}] } });
|