@progress/kendo-angular-scheduler 2.2.0-dev.202112171600 → 3.0.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/dist/cdn/js/kendo-angular-scheduler.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/editing/date-time-picker.component.js +2 -1
- package/dist/es/editing/edit-dialog.component.js +1 -1
- package/dist/es/editing/recurrence/end-rule-radio-button.directive.js +5 -0
- package/dist/es/editing/recurrence/recurrence-monthly-yearly-editor.component.js +1 -1
- package/dist/es/editing/recurrence/repeat-on-radio-button.directive.js +5 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/scheduler.module.js +3 -1
- package/dist/es/toolbar/view-selector.component.js +1 -1
- package/dist/es/views/common/base-view.js +2 -1
- package/dist/es/views/common/slot-selectable.directive.js +4 -4
- package/dist/es/views/common/view-footer.component.js +1 -1
- package/dist/es/views/common/views-shared.module.js +2 -1
- package/dist/es/views/utils.js +5 -5
- package/dist/es2015/editing/date-time-picker.component.js +7 -1
- package/dist/es2015/editing/edit-dialog.component.js +7 -7
- package/dist/es2015/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -0
- package/dist/es2015/editing/recurrence/end-rule-radio-button.directive.js +5 -0
- package/dist/es2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js +14 -5
- package/dist/es2015/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -0
- package/dist/es2015/editing/recurrence/repeat-on-radio-button.directive.js +5 -0
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/scheduler.module.js +3 -1
- package/dist/es2015/toolbar/view-selector.component.js +1 -1
- package/dist/es2015/views/common/base-view.js +2 -1
- package/dist/es2015/views/common/slot-selectable.directive.js +4 -4
- package/dist/es2015/views/common/view-footer.component.js +1 -1
- package/dist/es2015/views/common/views-shared.module.js +2 -1
- package/dist/es2015/views/utils.d.ts +2 -2
- package/dist/es2015/views/utils.js +5 -5
- package/dist/fesm2015/index.js +56 -28
- package/dist/fesm5/index.js +32 -18
- package/dist/npm/editing/date-time-picker.component.js +2 -1
- package/dist/npm/editing/edit-dialog.component.js +1 -1
- package/dist/npm/editing/recurrence/end-rule-radio-button.directive.js +5 -0
- package/dist/npm/editing/recurrence/recurrence-monthly-yearly-editor.component.js +1 -1
- package/dist/npm/editing/recurrence/repeat-on-radio-button.directive.js +5 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/scheduler.module.js +2 -0
- package/dist/npm/toolbar/view-selector.component.js +1 -1
- package/dist/npm/views/common/base-view.js +2 -1
- package/dist/npm/views/common/slot-selectable.directive.js +4 -4
- package/dist/npm/views/common/view-footer.component.js +1 -1
- package/dist/npm/views/common/views-shared.module.js +2 -1
- package/dist/npm/views/utils.js +6 -6
- package/dist/systemjs/kendo-angular-scheduler.js +1 -1
- package/package.json +20 -19
- package/schematics/ngAdd/index.js +1 -1
|
@@ -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: 1644230710,
|
|
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
|
};
|
|
@@ -35,7 +35,7 @@ import { EditDialogComponent } from './editing/edit-dialog.component';
|
|
|
35
35
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
36
36
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
37
37
|
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
38
|
-
import { NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
38
|
+
import { CheckBoxModule, NumericTextBoxModule, TextAreaModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
39
39
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
40
40
|
import { SchedulerDateTimePickerComponent } from './editing/date-time-picker.component';
|
|
41
41
|
import { RecurrenceEditorComponent } from './editing/recurrence/recurrence-editor.component';
|
|
@@ -108,6 +108,8 @@ const publicDirectives = [
|
|
|
108
108
|
];
|
|
109
109
|
const importedKendoModules = [
|
|
110
110
|
ButtonsModule,
|
|
111
|
+
CheckBoxModule,
|
|
112
|
+
TextAreaModule,
|
|
111
113
|
DateInputsModule,
|
|
112
114
|
DialogModule,
|
|
113
115
|
NumericTextBoxModule,
|
|
@@ -77,7 +77,7 @@ ToolbarViewSelectorComponent = tslib_1.__decorate([
|
|
|
77
77
|
template: `
|
|
78
78
|
<select *ngIf="ctx.views?.length > 1"
|
|
79
79
|
(change)="onChange($event)"
|
|
80
|
-
class="k-views-dropdown k-
|
|
80
|
+
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker">
|
|
81
81
|
<option *ngFor="let view of ctx.views"
|
|
82
82
|
[selected]="isSelected(view) == true"
|
|
83
83
|
[value]="view.name"
|
|
@@ -57,19 +57,19 @@ let SlotSelectableDirective = class SlotSelectableDirective {
|
|
|
57
57
|
if (!start || !end || !this.selectedRange) {
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
|
-
const match = resourcesMatch(this.selectedRange.resources, resources
|
|
60
|
+
const match = resourcesMatch(this.selectedRange.resources, resources);
|
|
61
61
|
if (!match) {
|
|
62
62
|
return false; // Limit selection to the grouped resource where the drag started.
|
|
63
63
|
}
|
|
64
64
|
return this.selectedRange && isAllDay === this.selectedRange.isAllDay && this.isInRange(start, end);
|
|
65
65
|
}
|
|
66
|
-
initDragSelect({ start, end, isAllDay, resources
|
|
66
|
+
initDragSelect({ start, end, isAllDay, resources }) {
|
|
67
67
|
this.selectionOriginResources = resources.slice();
|
|
68
|
-
this.selectedRange = { start, end, isAllDay, resources: resources.slice()
|
|
68
|
+
this.selectedRange = { start, end, isAllDay, resources: resources.slice() };
|
|
69
69
|
this.cdr.markForCheck();
|
|
70
70
|
}
|
|
71
71
|
onDrag({ start, end, resources }) {
|
|
72
|
-
const match = resourcesMatch(this.selectionOriginResources, resources
|
|
72
|
+
const match = resourcesMatch(this.selectionOriginResources, resources);
|
|
73
73
|
if (!match) {
|
|
74
74
|
return; // Don't change selection when dragging over a different grouped resource's cells.
|
|
75
75
|
}
|
|
@@ -47,7 +47,7 @@ ViewFooterComponent = tslib_1.__decorate([
|
|
|
47
47
|
// tslint:disable-next-line:component-selector
|
|
48
48
|
selector: '[viewFooter]',
|
|
49
49
|
template: `
|
|
50
|
-
<button type="button"
|
|
50
|
+
<button type="button" kendoButton *ngFor="let item of items" [ngClass]="item.cssClass" (click)="onItemClick($event, item)">
|
|
51
51
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
52
52
|
<span class="k-button-text">{{ item.text }}</span>
|
|
53
53
|
</button>
|
|
@@ -13,6 +13,7 @@ import { ResourceIteratorPipe } from './resource-iterator.pipe';
|
|
|
13
13
|
import { HintContainerComponent } from './hint-container.component';
|
|
14
14
|
import { ResizeHintComponent } from './resize-hint.component';
|
|
15
15
|
import { SharedModule } from '../../shared.module';
|
|
16
|
+
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
16
17
|
const DECLARATIONS = [
|
|
17
18
|
ViewFooterComponent,
|
|
18
19
|
WorkHoursFooterDirective,
|
|
@@ -28,7 +29,7 @@ let ViewsSharedModule = class ViewsSharedModule {
|
|
|
28
29
|
};
|
|
29
30
|
ViewsSharedModule = tslib_1.__decorate([
|
|
30
31
|
NgModule({
|
|
31
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
32
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
32
33
|
exports: [
|
|
33
34
|
DECLARATIONS,
|
|
34
35
|
IntlModule,
|
|
@@ -56,11 +56,11 @@ export declare function assignTasksResources(tasks: any[], options: any): void;
|
|
|
56
56
|
/**
|
|
57
57
|
* @hidden
|
|
58
58
|
*/
|
|
59
|
-
export declare function
|
|
59
|
+
export declare function isEmptyResource(resources: Resource[]): boolean;
|
|
60
60
|
/**
|
|
61
61
|
* @hidden
|
|
62
62
|
*/
|
|
63
|
-
export declare function resourcesMatch(res1: any[], res2: any[]
|
|
63
|
+
export declare function resourcesMatch(res1: any[], res2: any[]): boolean;
|
|
64
64
|
/**
|
|
65
65
|
* @hidden
|
|
66
66
|
*/
|
|
@@ -193,17 +193,17 @@ export function assignTasksResources(tasks, options) {
|
|
|
193
193
|
/**
|
|
194
194
|
* @hidden
|
|
195
195
|
*/
|
|
196
|
-
export function
|
|
197
|
-
return Array.isArray(resources) && resources.length
|
|
196
|
+
export function isEmptyResource(resources) {
|
|
197
|
+
return Array.isArray(resources) && resources.length === 1 && resources[0] === undefined;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* @hidden
|
|
201
201
|
*/
|
|
202
|
-
export function resourcesMatch(res1, res2
|
|
202
|
+
export function resourcesMatch(res1, res2) {
|
|
203
203
|
if (res1.length !== res2.length) {
|
|
204
204
|
return false;
|
|
205
205
|
}
|
|
206
|
-
if (
|
|
206
|
+
if (isEmptyResource(res1) && isEmptyResource(res2)) {
|
|
207
207
|
return true;
|
|
208
208
|
}
|
|
209
209
|
return res1.every(r1 => res2.some(r2 => r2.value === r1.value));
|
|
@@ -215,7 +215,7 @@ export function isSameRange(range1, range2) {
|
|
|
215
215
|
return (range1.start.getTime() === range2.start.getTime() &&
|
|
216
216
|
range1.end.getTime() === range2.end.getTime() &&
|
|
217
217
|
range1.isAllDay === range2.isAllDay &&
|
|
218
|
-
resourcesMatch(range1.resources, range2.resources
|
|
218
|
+
resourcesMatch(range1.resources, range2.resources));
|
|
219
219
|
}
|
|
220
220
|
/** @hidden */
|
|
221
221
|
export function findRowIndex(events, data) {
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
|
|
21
21
|
import { orderBy, groupBy } from '@progress/kendo-data-query';
|
|
22
22
|
import Draggable from '@telerik/kendo-draggable';
|
|
23
23
|
import { MultiSelectComponent, DropDownListComponent, ComboBoxComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
24
|
-
import { NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
24
|
+
import { CheckBoxModule, TextAreaModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
25
25
|
import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
26
26
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
27
27
|
|
|
@@ -32,7 +32,7 @@ const packageMetadata = {
|
|
|
32
32
|
name: '@progress/kendo-angular-scheduler',
|
|
33
33
|
productName: 'Kendo UI for Angular',
|
|
34
34
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
35
|
-
publishDate:
|
|
35
|
+
publishDate: 1644230710,
|
|
36
36
|
version: '',
|
|
37
37
|
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'
|
|
38
38
|
};
|
|
@@ -1996,17 +1996,17 @@ function assignTasksResources(tasks, options) {
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* @hidden
|
|
1998
1998
|
*/
|
|
1999
|
-
function
|
|
2000
|
-
return Array.isArray(resources) && resources.length
|
|
1999
|
+
function isEmptyResource(resources) {
|
|
2000
|
+
return Array.isArray(resources) && resources.length === 1 && resources[0] === undefined;
|
|
2001
2001
|
}
|
|
2002
2002
|
/**
|
|
2003
2003
|
* @hidden
|
|
2004
2004
|
*/
|
|
2005
|
-
function resourcesMatch(res1, res2
|
|
2005
|
+
function resourcesMatch(res1, res2) {
|
|
2006
2006
|
if (res1.length !== res2.length) {
|
|
2007
2007
|
return false;
|
|
2008
2008
|
}
|
|
2009
|
-
if (
|
|
2009
|
+
if (isEmptyResource(res1) && isEmptyResource(res2)) {
|
|
2010
2010
|
return true;
|
|
2011
2011
|
}
|
|
2012
2012
|
return res1.every(r1 => res2.some(r2 => r2.value === r1.value));
|
|
@@ -2018,7 +2018,7 @@ function isSameRange(range1, range2) {
|
|
|
2018
2018
|
return (range1.start.getTime() === range2.start.getTime() &&
|
|
2019
2019
|
range1.end.getTime() === range2.end.getTime() &&
|
|
2020
2020
|
range1.isAllDay === range2.isAllDay &&
|
|
2021
|
-
resourcesMatch(range1.resources, range2.resources
|
|
2021
|
+
resourcesMatch(range1.resources, range2.resources));
|
|
2022
2022
|
}
|
|
2023
2023
|
/** @hidden */
|
|
2024
2024
|
function findRowIndex(events, data) {
|
|
@@ -4431,7 +4431,7 @@ ToolbarViewSelectorComponent = __decorate([
|
|
|
4431
4431
|
template: `
|
|
4432
4432
|
<select *ngIf="ctx.views?.length > 1"
|
|
4433
4433
|
(change)="onChange($event)"
|
|
4434
|
-
class="k-views-dropdown k-
|
|
4434
|
+
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker">
|
|
4435
4435
|
<option *ngFor="let view of ctx.views"
|
|
4436
4436
|
[selected]="isSelected(view) == true"
|
|
4437
4437
|
[value]="view.name"
|
|
@@ -6656,7 +6656,8 @@ class BaseView {
|
|
|
6656
6656
|
this.pressTarget = task;
|
|
6657
6657
|
}
|
|
6658
6658
|
}
|
|
6659
|
-
|
|
6659
|
+
const notDraggingEvent = !this.pressTarget;
|
|
6660
|
+
if (notDraggingEvent && this.selectable) {
|
|
6660
6661
|
this.initDragSelect(args);
|
|
6661
6662
|
}
|
|
6662
6663
|
this.dragArgs = args;
|
|
@@ -7879,7 +7880,7 @@ ViewFooterComponent = __decorate([
|
|
|
7879
7880
|
// tslint:disable-next-line:component-selector
|
|
7880
7881
|
selector: '[viewFooter]',
|
|
7881
7882
|
template: `
|
|
7882
|
-
<button type="button"
|
|
7883
|
+
<button type="button" kendoButton *ngFor="let item of items" [ngClass]="item.cssClass" (click)="onItemClick($event, item)">
|
|
7883
7884
|
<span class="k-button-icon k-icon" [ngClass]="item.iconClass"></span>
|
|
7884
7885
|
<span class="k-button-text">{{ item.text }}</span>
|
|
7885
7886
|
</button>
|
|
@@ -8075,7 +8076,7 @@ let ViewsSharedModule = class ViewsSharedModule {
|
|
|
8075
8076
|
};
|
|
8076
8077
|
ViewsSharedModule = __decorate([
|
|
8077
8078
|
NgModule({
|
|
8078
|
-
imports: [CommonModule, IntlModule, SharedModule],
|
|
8079
|
+
imports: [CommonModule, IntlModule, SharedModule, ButtonsModule],
|
|
8079
8080
|
exports: [
|
|
8080
8081
|
DECLARATIONS,
|
|
8081
8082
|
IntlModule,
|
|
@@ -12129,7 +12130,7 @@ EditDialogComponent = __decorate([
|
|
|
12129
12130
|
<label for='k-event-title'>{{ textFor('editorEventTitle') }}</label>
|
|
12130
12131
|
</div>
|
|
12131
12132
|
<div class='k-edit-field'>
|
|
12132
|
-
<input #title id='k-event-title'
|
|
12133
|
+
<input #title id='k-event-title' kendoTextBox placeholder='Title' [formControl]='formGroup.get(fields.title)' />
|
|
12133
12134
|
</div>
|
|
12134
12135
|
|
|
12135
12136
|
<div class='k-edit-label'>
|
|
@@ -12171,17 +12172,17 @@ EditDialogComponent = __decorate([
|
|
|
12171
12172
|
</ng-container>
|
|
12172
12173
|
|
|
12173
12174
|
<div class='k-edit-field' *ngIf="hasAllDay">
|
|
12174
|
-
<input type='checkbox' id='k-is-allday-chkbox'
|
|
12175
|
+
<input type='checkbox' id='k-is-allday-chkbox' kendoCheckBox [formControl]='formGroup.get(fields.isAllDay)' />
|
|
12175
12176
|
<label class='k-checkbox-label' for='k-is-allday-chkbox'>{{ textFor('editorEventAllDay') }}</label>
|
|
12176
12177
|
</div>
|
|
12177
12178
|
|
|
12178
12179
|
<div class='k-edit-field' *ngIf="hasStartTimeZone">
|
|
12179
|
-
<input type='checkbox' id='k-set-timezone'
|
|
12180
|
+
<input type='checkbox' id='k-set-timezone' kendoCheckBox
|
|
12180
12181
|
formControlName='startTimezoneCheckbox' />
|
|
12181
12182
|
<label class='k-checkbox-label' for='k-set-timezone'>{{ textFor('editorEventTimeZone') }}</label>
|
|
12182
12183
|
|
|
12183
12184
|
<ng-container *ngIf="isStartTimeZoneVisible && hasEndTimeZone">
|
|
12184
|
-
<input type='checkbox' id='k-use-separate'
|
|
12185
|
+
<input type='checkbox' id='k-use-separate' kendoCheckBox formControlName='endTimezoneCheckbox' />
|
|
12185
12186
|
<label class='k-checkbox-label' for='k-use-separate'>{{ textFor('editorEventSeparateTimeZones') }}</label>
|
|
12186
12187
|
</ng-container>
|
|
12187
12188
|
</div>
|
|
@@ -12200,7 +12201,7 @@ EditDialogComponent = __decorate([
|
|
|
12200
12201
|
<label for='k-event-description'>{{ textFor('editorEventDescription') }}</label>
|
|
12201
12202
|
</div>
|
|
12202
12203
|
<div class='k-edit-field'>
|
|
12203
|
-
<textarea id='k-event-description'
|
|
12204
|
+
<textarea id='k-event-description' kendoTextArea [formControl]='formGroup.get(fields.description)'></textarea>
|
|
12204
12205
|
</div>
|
|
12205
12206
|
</ng-container>
|
|
12206
12207
|
|
|
@@ -12245,8 +12246,8 @@ EditDialogComponent = __decorate([
|
|
|
12245
12246
|
</ng-container>
|
|
12246
12247
|
|
|
12247
12248
|
<kendo-dialog-actions>
|
|
12248
|
-
<button
|
|
12249
|
-
<button
|
|
12249
|
+
<button kendoButton (click)="onCancel($event)">{{ textFor('cancel') }}</button>
|
|
12250
|
+
<button kendoButton themeColor="primary" (click)="onSave($event)" [disabled]="!formGroup.valid">{{ textFor('save') }}</button>
|
|
12250
12251
|
</kendo-dialog-actions>
|
|
12251
12252
|
</kendo-dialog>
|
|
12252
12253
|
`
|
|
@@ -12337,7 +12338,13 @@ SchedulerDateTimePickerComponent = __decorate([
|
|
|
12337
12338
|
[(value)]='date'
|
|
12338
12339
|
(valueChange)='onValueChange($event)'
|
|
12339
12340
|
></kendo-timepicker>
|
|
12340
|
-
|
|
12341
|
+
`,
|
|
12342
|
+
styles: [`
|
|
12343
|
+
kendo-datepicker,
|
|
12344
|
+
kendo-timepicker {
|
|
12345
|
+
width: 170px;
|
|
12346
|
+
}
|
|
12347
|
+
`]
|
|
12341
12348
|
})
|
|
12342
12349
|
], SchedulerDateTimePickerComponent);
|
|
12343
12350
|
|
|
@@ -12939,6 +12946,7 @@ let EndRuleRadioButtonDirective = class EndRuleRadioButtonDirective {
|
|
|
12939
12946
|
this.changeDetector = changeDetector;
|
|
12940
12947
|
this.type = 'radio';
|
|
12941
12948
|
this.radioClass = true;
|
|
12949
|
+
this.radioSizeClass = true;
|
|
12942
12950
|
this.destroyChange = this.renderer.listen(this.elem, 'change', this.onChange.bind(this));
|
|
12943
12951
|
}
|
|
12944
12952
|
ngOnInit() {
|
|
@@ -12976,6 +12984,10 @@ __decorate([
|
|
|
12976
12984
|
HostBinding('class.k-radio'),
|
|
12977
12985
|
__metadata("design:type", Boolean)
|
|
12978
12986
|
], EndRuleRadioButtonDirective.prototype, "radioClass", void 0);
|
|
12987
|
+
__decorate([
|
|
12988
|
+
HostBinding('class.k-radio-md'),
|
|
12989
|
+
__metadata("design:type", Boolean)
|
|
12990
|
+
], EndRuleRadioButtonDirective.prototype, "radioSizeClass", void 0);
|
|
12979
12991
|
__decorate([
|
|
12980
12992
|
Input("kendoRecurrenceEndRuleRadioButton"),
|
|
12981
12993
|
__metadata("design:type", String)
|
|
@@ -13299,6 +13311,7 @@ let RepeatOnRadioButtonDirective = class RepeatOnRadioButtonDirective {
|
|
|
13299
13311
|
this.changeDetector = changeDetector;
|
|
13300
13312
|
this.type = 'radio';
|
|
13301
13313
|
this.radioClass = true;
|
|
13314
|
+
this.radioSizeClass = true;
|
|
13302
13315
|
this.destroyChange = this.renderer.listen(this.elem, 'change', this.onChange.bind(this));
|
|
13303
13316
|
}
|
|
13304
13317
|
/* tslint:disable-next-line:no-input-rename */
|
|
@@ -13341,6 +13354,10 @@ __decorate([
|
|
|
13341
13354
|
HostBinding('class.k-radio'),
|
|
13342
13355
|
__metadata("design:type", Boolean)
|
|
13343
13356
|
], RepeatOnRadioButtonDirective.prototype, "radioClass", void 0);
|
|
13357
|
+
__decorate([
|
|
13358
|
+
HostBinding('class.k-radio-md'),
|
|
13359
|
+
__metadata("design:type", Boolean)
|
|
13360
|
+
], RepeatOnRadioButtonDirective.prototype, "radioSizeClass", void 0);
|
|
13344
13361
|
__decorate([
|
|
13345
13362
|
Input("kendoRecurrenceRepeatOnRadioButton"),
|
|
13346
13363
|
__metadata("design:type", String),
|
|
@@ -13610,7 +13627,9 @@ RecurrenceMonthlyYearlyEditorComponent = __decorate([
|
|
|
13610
13627
|
[value]='currentMonthMonthDay'
|
|
13611
13628
|
[valuePrimitive]='true'
|
|
13612
13629
|
(valueChange)="onMonthChange($event, 'monthday')"
|
|
13613
|
-
[disabled]="isDisabled('monthday')"
|
|
13630
|
+
[disabled]="isDisabled('monthday')"
|
|
13631
|
+
[style.width.px]="170"
|
|
13632
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
13614
13633
|
</kendo-dropdownlist>
|
|
13615
13634
|
</ng-template>
|
|
13616
13635
|
|
|
@@ -13628,7 +13647,8 @@ RecurrenceMonthlyYearlyEditorComponent = __decorate([
|
|
|
13628
13647
|
[title]="numericOptions.title"
|
|
13629
13648
|
[value]='monthDay'
|
|
13630
13649
|
(valueChange)='onMonthDayChange($event)'
|
|
13631
|
-
[disabled]="isDisabled('monthday')"
|
|
13650
|
+
[disabled]="isDisabled('monthday')"
|
|
13651
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
13632
13652
|
</kendo-numerictextbox>
|
|
13633
13653
|
</li>
|
|
13634
13654
|
<li>
|
|
@@ -13642,7 +13662,9 @@ RecurrenceMonthlyYearlyEditorComponent = __decorate([
|
|
|
13642
13662
|
[value]='offset'
|
|
13643
13663
|
[valuePrimitive]='true'
|
|
13644
13664
|
(valueChange)='onOffsetPositionChange($event)'
|
|
13645
|
-
[disabled]="isDisabled('weekday')"
|
|
13665
|
+
[disabled]="isDisabled('weekday')"
|
|
13666
|
+
[style.width.px]="170"
|
|
13667
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
13646
13668
|
</kendo-dropdownlist>
|
|
13647
13669
|
|
|
13648
13670
|
<kendo-dropdownlist
|
|
@@ -13652,7 +13674,9 @@ RecurrenceMonthlyYearlyEditorComponent = __decorate([
|
|
|
13652
13674
|
[value]='weekDay'
|
|
13653
13675
|
[valuePrimitive]='true'
|
|
13654
13676
|
(valueChange)='onWeekDayChange($event)'
|
|
13655
|
-
[disabled]="isDisabled('weekday')"
|
|
13677
|
+
[disabled]="isDisabled('weekday')"
|
|
13678
|
+
[style.width.px]="170"
|
|
13679
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
13656
13680
|
</kendo-dropdownlist>
|
|
13657
13681
|
|
|
13658
13682
|
<ng-template [ngIf]="currentFreq === 'yearly'">
|
|
@@ -13665,7 +13689,9 @@ RecurrenceMonthlyYearlyEditorComponent = __decorate([
|
|
|
13665
13689
|
[value]='currentMonthWeekDay'
|
|
13666
13690
|
[valuePrimitive]='true'
|
|
13667
13691
|
(valueChange)="onMonthChange($event, 'weekday')"
|
|
13668
|
-
[disabled]="isDisabled('weekday')"
|
|
13692
|
+
[disabled]="isDisabled('weekday')"
|
|
13693
|
+
[style.width.px]="170"
|
|
13694
|
+
[style.margin]="'0 .4ex 0 1ex'">
|
|
13669
13695
|
</kendo-dropdownlist>
|
|
13670
13696
|
</ng-template>
|
|
13671
13697
|
</li>
|
|
@@ -14239,19 +14265,19 @@ let SlotSelectableDirective = class SlotSelectableDirective {
|
|
|
14239
14265
|
if (!start || !end || !this.selectedRange) {
|
|
14240
14266
|
return false;
|
|
14241
14267
|
}
|
|
14242
|
-
const match = resourcesMatch(this.selectedRange.resources, resources
|
|
14268
|
+
const match = resourcesMatch(this.selectedRange.resources, resources);
|
|
14243
14269
|
if (!match) {
|
|
14244
14270
|
return false; // Limit selection to the grouped resource where the drag started.
|
|
14245
14271
|
}
|
|
14246
14272
|
return this.selectedRange && isAllDay === this.selectedRange.isAllDay && this.isInRange(start, end);
|
|
14247
14273
|
}
|
|
14248
|
-
initDragSelect({ start, end, isAllDay, resources
|
|
14274
|
+
initDragSelect({ start, end, isAllDay, resources }) {
|
|
14249
14275
|
this.selectionOriginResources = resources.slice();
|
|
14250
|
-
this.selectedRange = { start, end, isAllDay, resources: resources.slice()
|
|
14276
|
+
this.selectedRange = { start, end, isAllDay, resources: resources.slice() };
|
|
14251
14277
|
this.cdr.markForCheck();
|
|
14252
14278
|
}
|
|
14253
14279
|
onDrag({ start, end, resources }) {
|
|
14254
|
-
const match = resourcesMatch(this.selectionOriginResources, resources
|
|
14280
|
+
const match = resourcesMatch(this.selectionOriginResources, resources);
|
|
14255
14281
|
if (!match) {
|
|
14256
14282
|
return; // Don't change selection when dragging over a different grouped resource's cells.
|
|
14257
14283
|
}
|
|
@@ -14344,6 +14370,8 @@ const publicDirectives$1 = [
|
|
|
14344
14370
|
];
|
|
14345
14371
|
const importedKendoModules = [
|
|
14346
14372
|
ButtonsModule,
|
|
14373
|
+
CheckBoxModule,
|
|
14374
|
+
TextAreaModule,
|
|
14347
14375
|
DateInputsModule,
|
|
14348
14376
|
DialogModule,
|
|
14349
14377
|
NumericTextBoxModule,
|