@progress/kendo-angular-scheduler 16.10.0-develop.1 → 16.10.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/navigation/focus.service.mjs +27 -7
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/scheduler.component.mjs +33 -2
- package/esm2020/views/common/base-view.mjs +12 -1
- package/esm2020/views/common/configuration-view-base.mjs +16 -3
- package/esm2020/views/day-time/day-time-view-base.mjs +9 -1
- package/esm2020/views/multi-day/day-view.component.mjs +5 -4
- package/esm2020/views/multi-day/multi-day-view.component.mjs +5 -4
- package/esm2020/views/multi-day/week-view.component.mjs +5 -4
- package/esm2020/views/multi-day/work-week-view.component.mjs +5 -4
- package/esm2020/views/timeline/timeline-month-view.component.mjs +5 -4
- package/esm2020/views/timeline/timeline-view.component.mjs +5 -4
- package/esm2020/views/timeline/timeline-week-view.component.mjs +5 -4
- package/esm2020/views/view-state.service.mjs +6 -2
- package/fesm2015/progress-kendo-angular-scheduler.mjs +134 -46
- package/fesm2020/progress-kendo-angular-scheduler.mjs +133 -46
- package/navigation/focus.service.d.ts +1 -0
- package/package.json +14 -14
- package/scheduler.component.d.ts +19 -1
- package/schematics/ngAdd/index.js +3 -3
- package/views/common/base-view.d.ts +4 -1
- package/views/common/configuration-view-base.d.ts +8 -2
- package/views/day-time/day-time-view-base.d.ts +9 -1
- package/views/view-state.service.d.ts +6 -2
|
@@ -42,8 +42,8 @@ const packageMetadata = {
|
|
|
42
42
|
name: '@progress/kendo-angular-scheduler',
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
45
|
-
publishDate:
|
|
46
|
-
version: '16.10.0-develop.
|
|
45
|
+
publishDate: 1726725711,
|
|
46
|
+
version: '16.10.0-develop.3',
|
|
47
47
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -893,6 +893,10 @@ class ViewStateService {
|
|
|
893
893
|
* @hidden
|
|
894
894
|
*/
|
|
895
895
|
this.toggleWorkHours = new Subject();
|
|
896
|
+
/**
|
|
897
|
+
* @hidden
|
|
898
|
+
*/
|
|
899
|
+
this.toolbarVisibilityByView = new Map();
|
|
896
900
|
this.dateRangeSource = new BehaviorSubject(emptyDateRange());
|
|
897
901
|
this.nextDateSource = new Subject();
|
|
898
902
|
this.navigateSource = new Subject();
|
|
@@ -942,8 +946,8 @@ class ViewStateService {
|
|
|
942
946
|
/**
|
|
943
947
|
* Notifies the Scheduler that the view options have been changed.
|
|
944
948
|
*/
|
|
945
|
-
notifyOptionsChange() {
|
|
946
|
-
this.optionsChangeSource.next(
|
|
949
|
+
notifyOptionsChange(changes) {
|
|
950
|
+
this.optionsChangeSource.next(changes);
|
|
947
951
|
}
|
|
948
952
|
/**
|
|
949
953
|
* Emits a DOM event to the Scheduler.
|
|
@@ -1418,6 +1422,7 @@ class FocusService {
|
|
|
1418
1422
|
this.items = new Set();
|
|
1419
1423
|
this.elementMap = new WeakMap();
|
|
1420
1424
|
this.subs = new Subscription();
|
|
1425
|
+
this.hasContentRendered = false;
|
|
1421
1426
|
this.subs.add(this.domEvents.focus.subscribe(e => this.onFocusIn(e)));
|
|
1422
1427
|
this.subs.add(this.domEvents.focusOut.subscribe(() => this.onFocusOut()));
|
|
1423
1428
|
}
|
|
@@ -1438,23 +1443,42 @@ class FocusService {
|
|
|
1438
1443
|
item.toggle(true);
|
|
1439
1444
|
}
|
|
1440
1445
|
const items = Array.from(this.focusableItems);
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
items.splice(newContentIndex, 0, item);
|
|
1444
|
-
this.items = new Set(items);
|
|
1446
|
+
if (item.containerType !== 'content') {
|
|
1447
|
+
this.items.add(item);
|
|
1445
1448
|
}
|
|
1446
1449
|
else {
|
|
1447
|
-
|
|
1450
|
+
const newContentIndex = items.map(item => item.containerType).lastIndexOf('content') + 1;
|
|
1451
|
+
const hasFooter = items.find(item => item.containerType === 'footer');
|
|
1452
|
+
if (newContentIndex > 0) {
|
|
1453
|
+
// ensure that new events are positioned after the rest of the events for correct navigation sequence
|
|
1454
|
+
items.splice(newContentIndex, 0, item);
|
|
1455
|
+
this.items = new Set(items);
|
|
1456
|
+
}
|
|
1457
|
+
else if (hasFooter) {
|
|
1458
|
+
// ensure that the first event is before the footer
|
|
1459
|
+
items.splice(items.length - 1, 0, item);
|
|
1460
|
+
this.items = new Set(items);
|
|
1461
|
+
}
|
|
1462
|
+
else {
|
|
1463
|
+
this.items.add(item);
|
|
1464
|
+
}
|
|
1465
|
+
// activate the first content element if there is one; otherwise, keep the toolbar or footer active
|
|
1466
|
+
if (!this.hasContentRendered) {
|
|
1467
|
+
this.activeItem.toggle(false);
|
|
1468
|
+
this.activeItem = item;
|
|
1469
|
+
item.toggle(true);
|
|
1470
|
+
this.hasContentRendered = true;
|
|
1471
|
+
}
|
|
1448
1472
|
}
|
|
1449
1473
|
this.elementMap.set(item.element.nativeElement, item);
|
|
1450
1474
|
this.toggleWrapper();
|
|
1451
1475
|
}
|
|
1452
1476
|
unregister(item) {
|
|
1453
|
-
this.items.delete(item);
|
|
1454
|
-
this.elementMap.delete(item.element.nativeElement);
|
|
1455
1477
|
if (item === this.activeItem) {
|
|
1456
1478
|
this.activateNext();
|
|
1457
1479
|
}
|
|
1480
|
+
this.items.delete(item);
|
|
1481
|
+
this.elementMap.delete(item.element.nativeElement);
|
|
1458
1482
|
this.toggleWrapper();
|
|
1459
1483
|
}
|
|
1460
1484
|
focus() {
|
|
@@ -6495,6 +6519,16 @@ class SchedulerComponent {
|
|
|
6495
6519
|
* @default true
|
|
6496
6520
|
*/
|
|
6497
6521
|
this.highlightOngoingEvents = true;
|
|
6522
|
+
/**
|
|
6523
|
+
* Specifies whether to display the toolbar of the Scheduler.
|
|
6524
|
+
* @default true
|
|
6525
|
+
*/
|
|
6526
|
+
this.showToolbar = true;
|
|
6527
|
+
/**
|
|
6528
|
+
* Specifies whether to display the footer of the Scheduler.
|
|
6529
|
+
* @default true
|
|
6530
|
+
*/
|
|
6531
|
+
this.showFooter = true;
|
|
6498
6532
|
/**
|
|
6499
6533
|
* A callback that executes for each slot of the Scheduler view.
|
|
6500
6534
|
* If it returns `true`, the `k-selected` CSS class will be added to the cell, making it visibly selected.
|
|
@@ -6694,6 +6728,12 @@ class SchedulerComponent {
|
|
|
6694
6728
|
get modelFields() {
|
|
6695
6729
|
return this._modelFields;
|
|
6696
6730
|
}
|
|
6731
|
+
/**
|
|
6732
|
+
* @hidden
|
|
6733
|
+
*/
|
|
6734
|
+
get viewToolbar() {
|
|
6735
|
+
return this.viewState?.toolbarVisibilityByView.get(this.selectedView);
|
|
6736
|
+
}
|
|
6697
6737
|
ngOnInit() {
|
|
6698
6738
|
if (!this.selectedDate) {
|
|
6699
6739
|
this.selectedDate = todayDate();
|
|
@@ -6827,7 +6867,8 @@ class SchedulerComponent {
|
|
|
6827
6867
|
if (anyChanged([
|
|
6828
6868
|
'group', 'resources', 'min', 'max', 'showWorkHours', 'startTime', 'scrollTime', 'endTime', 'eventHeight',
|
|
6829
6869
|
'workDayStart', 'workDayEnd', 'workWeekStart', 'workWeekEnd', 'weekStart', 'slotDuration', 'slotDivisions',
|
|
6830
|
-
'editable', 'timezone', 'slotClass', 'slotFill', 'columnWidth', 'eventClass', 'eventStyles', 'isSlotSelected',
|
|
6870
|
+
'editable', 'timezone', 'slotClass', 'slotFill', 'columnWidth', 'eventClass', 'eventStyles', 'isSlotSelected',
|
|
6871
|
+
'selectable', 'allDaySlot', 'showToolbar', 'showFooter'
|
|
6831
6872
|
], changes)) {
|
|
6832
6873
|
this.notifyOptionsChange(changes);
|
|
6833
6874
|
}
|
|
@@ -7037,6 +7078,12 @@ class SchedulerComponent {
|
|
|
7037
7078
|
focus() {
|
|
7038
7079
|
this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
7039
7080
|
}
|
|
7081
|
+
/**
|
|
7082
|
+
* @hidden
|
|
7083
|
+
*/
|
|
7084
|
+
get toolbarVisibilityState() {
|
|
7085
|
+
return isPresent(this.viewToolbar) ? this.viewToolbar : this.showToolbar;
|
|
7086
|
+
}
|
|
7040
7087
|
isInRange(date) {
|
|
7041
7088
|
return (!this.min || this.min <= date) && (!this.max || date <= this.max);
|
|
7042
7089
|
}
|
|
@@ -7077,6 +7124,8 @@ class SchedulerComponent {
|
|
|
7077
7124
|
timezone: this.timezone,
|
|
7078
7125
|
currentTimeMarker: this.currentTimeMarker,
|
|
7079
7126
|
highlightOngoingEvents: this.highlightOngoingEvents,
|
|
7127
|
+
showToolbar: this.showToolbar,
|
|
7128
|
+
showFooter: this.showFooter,
|
|
7080
7129
|
slotClass: this.slotClass,
|
|
7081
7130
|
slotFill: this.slotFill,
|
|
7082
7131
|
columnWidth: this.columnWidth,
|
|
@@ -7208,7 +7257,7 @@ class SchedulerComponent {
|
|
|
7208
7257
|
}
|
|
7209
7258
|
}
|
|
7210
7259
|
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7211
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerComponent, isStandalone: true, 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", allDaySlot: "allDaySlot", 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", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
7260
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerComponent, isStandalone: true, 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", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar", showFooter: "showFooter", 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", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
7212
7261
|
EditService,
|
|
7213
7262
|
DialogsService,
|
|
7214
7263
|
DomEventsService,
|
|
@@ -7526,6 +7575,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
7526
7575
|
</ng-container>
|
|
7527
7576
|
|
|
7528
7577
|
<kendo-scheduler-toolbar
|
|
7578
|
+
*ngIf="toolbarVisibilityState"
|
|
7529
7579
|
[dateRange]="dateRangeStream"
|
|
7530
7580
|
[selectedDate]="selectedDateStream"
|
|
7531
7581
|
[views]="$any(views)"
|
|
@@ -7882,6 +7932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7882
7932
|
</ng-container>
|
|
7883
7933
|
|
|
7884
7934
|
<kendo-scheduler-toolbar
|
|
7935
|
+
*ngIf="toolbarVisibilityState"
|
|
7885
7936
|
[dateRange]="dateRangeStream"
|
|
7886
7937
|
[selectedDate]="selectedDateStream"
|
|
7887
7938
|
[views]="$any(views)"
|
|
@@ -7987,6 +8038,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7987
8038
|
type: Input
|
|
7988
8039
|
}], highlightOngoingEvents: [{
|
|
7989
8040
|
type: Input
|
|
8041
|
+
}], showToolbar: [{
|
|
8042
|
+
type: Input
|
|
8043
|
+
}], showFooter: [{
|
|
8044
|
+
type: Input
|
|
7990
8045
|
}], slotClass: [{
|
|
7991
8046
|
type: Input
|
|
7992
8047
|
}], eventClass: [{
|
|
@@ -8631,6 +8686,16 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
8631
8686
|
});
|
|
8632
8687
|
this.subs.add(this.viewContext.optionsChange.subscribe(this.optionsChange.bind(this)));
|
|
8633
8688
|
}
|
|
8689
|
+
/**
|
|
8690
|
+
* Specifies whether to display the toolbar of the Scheduler.
|
|
8691
|
+
*/
|
|
8692
|
+
get showToolbar() {
|
|
8693
|
+
return this._showToolbar;
|
|
8694
|
+
}
|
|
8695
|
+
set showToolbar(value) {
|
|
8696
|
+
this._showToolbar = value;
|
|
8697
|
+
this.viewState.toolbarVisibilityByView.set(this, value);
|
|
8698
|
+
}
|
|
8634
8699
|
/**
|
|
8635
8700
|
* @hidden
|
|
8636
8701
|
*/
|
|
@@ -8661,18 +8726,19 @@ class ConfigurationViewBase extends SchedulerView {
|
|
|
8661
8726
|
get viewWeekStart() {
|
|
8662
8727
|
return this.schedulerOptions.weekStart;
|
|
8663
8728
|
}
|
|
8664
|
-
ngOnChanges(
|
|
8665
|
-
this.viewState.notifyOptionsChange();
|
|
8729
|
+
ngOnChanges(changes) {
|
|
8730
|
+
this.viewState.notifyOptionsChange(changes);
|
|
8666
8731
|
}
|
|
8667
8732
|
ngOnDestroy() {
|
|
8668
8733
|
this.subs.unsubscribe();
|
|
8734
|
+
this.viewState.toolbarVisibilityByView.delete(this);
|
|
8669
8735
|
}
|
|
8670
8736
|
optionsChange(options) {
|
|
8671
8737
|
this.schedulerOptions = options;
|
|
8672
8738
|
}
|
|
8673
8739
|
}
|
|
8674
8740
|
ConfigurationViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8675
|
-
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
|
|
8741
|
+
ConfigurationViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ConfigurationViewBase, inputs: { slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", highlightOngoingEvents: "highlightOngoingEvents", showToolbar: "showToolbar" }, 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 });
|
|
8676
8742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationViewBase, decorators: [{
|
|
8677
8743
|
type: Directive
|
|
8678
8744
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { slotClass: [{
|
|
@@ -8683,6 +8749,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8683
8749
|
type: Input
|
|
8684
8750
|
}], highlightOngoingEvents: [{
|
|
8685
8751
|
type: Input
|
|
8752
|
+
}], showToolbar: [{
|
|
8753
|
+
type: Input
|
|
8686
8754
|
}], template: [{
|
|
8687
8755
|
type: ViewChild,
|
|
8688
8756
|
args: ['content', { static: true }]
|
|
@@ -10409,6 +10477,7 @@ class BaseView {
|
|
|
10409
10477
|
const updateView = this.updateView.bind(this);
|
|
10410
10478
|
this.resourcesByIndex = this.resourcesByIndex.bind(this);
|
|
10411
10479
|
this.subs.add(this.viewContext.selectedDate.subscribe(this.onSelectDate.bind(this)));
|
|
10480
|
+
this.subs.add(this.viewState.optionsChange.subscribe(this.onStateOptionsChange.bind(this)));
|
|
10412
10481
|
this.subs.add(this.viewContext.action.subscribe(this.onAction.bind(this)));
|
|
10413
10482
|
this.subs.add(this.viewContext.execute.subscribe(this.execute.bind(this)));
|
|
10414
10483
|
this.subs.add(this.viewContext.resize.subscribe(() => {
|
|
@@ -10552,6 +10621,7 @@ class BaseView {
|
|
|
10552
10621
|
}
|
|
10553
10622
|
this.changes.next(null);
|
|
10554
10623
|
}
|
|
10624
|
+
this.onStateOptionsChange(options);
|
|
10555
10625
|
}
|
|
10556
10626
|
toggleElement(visible) {
|
|
10557
10627
|
if (this.element) {
|
|
@@ -11290,9 +11360,14 @@ class BaseView {
|
|
|
11290
11360
|
end: this.convertDate(slot.end)
|
|
11291
11361
|
};
|
|
11292
11362
|
}
|
|
11363
|
+
onStateOptionsChange(changes) {
|
|
11364
|
+
if (changes?.showFooter || changes?.showToolbar) {
|
|
11365
|
+
this.zone.onStable.pipe(take(1)).subscribe(() => this.updateView());
|
|
11366
|
+
}
|
|
11367
|
+
}
|
|
11293
11368
|
}
|
|
11294
11369
|
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseView, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i1$2.IntlService }, { token: BaseSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11295
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
11370
|
+
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseView, inputs: { eventTemplate: "eventTemplate", groupHeaderTemplate: "groupHeaderTemplate", selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", eventHeight: "eventHeight", showToolbar: "showToolbar", showFooter: "showFooter", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", weekStart: "weekStart" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentTable", first: true, predicate: ["contentTable"], descendants: true }, { propertyName: "times", first: true, predicate: ["times"], descendants: true }, { propertyName: "timesHeader", first: true, predicate: ["timesHeader"], descendants: true }, { propertyName: "timesTable", first: true, predicate: ["timesTable"], descendants: true }, { propertyName: "headerWrap", first: true, predicate: ["headerWrap"], descendants: true }, { propertyName: "hintContainer", first: true, predicate: ["hintContainer"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
11296
11371
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseView, decorators: [{
|
|
11297
11372
|
type: Directive
|
|
11298
11373
|
}], ctorParameters: function () { return [{ type: ViewContextService }, { type: ViewStateService }, { type: i1$2.IntlService }, { type: BaseSlotService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: PDFService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarWidthService }]; }, propDecorators: { eventTemplate: [{
|
|
@@ -11305,6 +11380,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
11305
11380
|
type: Input
|
|
11306
11381
|
}], eventHeight: [{
|
|
11307
11382
|
type: Input
|
|
11383
|
+
}], showToolbar: [{
|
|
11384
|
+
type: Input
|
|
11385
|
+
}], showFooter: [{
|
|
11386
|
+
type: Input
|
|
11308
11387
|
}], slotClass: [{
|
|
11309
11388
|
type: Input
|
|
11310
11389
|
}], eventClass: [{
|
|
@@ -12860,12 +12939,18 @@ class DayTimeViewBase extends ConfigurationViewBase {
|
|
|
12860
12939
|
get viewScrollTime() {
|
|
12861
12940
|
return this.optionValue('scrollTime');
|
|
12862
12941
|
}
|
|
12942
|
+
/**
|
|
12943
|
+
* @hidden
|
|
12944
|
+
*/
|
|
12945
|
+
get viewShowFooter() {
|
|
12946
|
+
return isPresent(this.showFooter) ? this.showFooter : this.schedulerOptions.showFooter;
|
|
12947
|
+
}
|
|
12863
12948
|
optionValue(name) {
|
|
12864
12949
|
return isPresent(this[name]) ? this[name] : this.schedulerOptions[name];
|
|
12865
12950
|
}
|
|
12866
12951
|
}
|
|
12867
12952
|
DayTimeViewBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeViewBase, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12868
|
-
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
12953
|
+
DayTimeViewBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DayTimeViewBase, inputs: { showWorkHours: "showWorkHours", showFooter: "showFooter", 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 }, { propertyName: "majorTimeHeaderTemplate", first: true, predicate: MajorTimeHeaderTemplateDirective, descendants: true }, { propertyName: "minorTimeHeaderTemplate", first: true, predicate: MinorTimeHeaderTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
12869
12954
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayTimeViewBase, decorators: [{
|
|
12870
12955
|
type: Directive
|
|
12871
12956
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { timeSlotTemplate: [{
|
|
@@ -12882,6 +12967,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12882
12967
|
args: [MinorTimeHeaderTemplateDirective, { static: false }]
|
|
12883
12968
|
}], showWorkHours: [{
|
|
12884
12969
|
type: Input
|
|
12970
|
+
}], showFooter: [{
|
|
12971
|
+
type: Input
|
|
12885
12972
|
}], eventHeight: [{
|
|
12886
12973
|
type: Input
|
|
12887
12974
|
}], startTime: [{
|
|
@@ -15268,9 +15355,9 @@ DayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
15268
15355
|
[selectedDateFormat]="selectedDateFormat"
|
|
15269
15356
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15270
15357
|
</multi-day-view>
|
|
15271
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15358
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15272
15359
|
</ng-template>
|
|
15273
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15360
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15274
15361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayViewComponent, decorators: [{
|
|
15275
15362
|
type: Component,
|
|
15276
15363
|
args: [{
|
|
@@ -15313,11 +15400,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
15313
15400
|
[selectedDateFormat]="selectedDateFormat"
|
|
15314
15401
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15315
15402
|
</multi-day-view>
|
|
15316
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15403
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15317
15404
|
</ng-template>
|
|
15318
15405
|
`,
|
|
15319
15406
|
standalone: true,
|
|
15320
|
-
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
15407
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
15321
15408
|
}]
|
|
15322
15409
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15323
15410
|
type: Input
|
|
@@ -15426,9 +15513,9 @@ MultiDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
15426
15513
|
[selectedDateFormat]="selectedDateFormat"
|
|
15427
15514
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15428
15515
|
</multi-day-view>
|
|
15429
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15516
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15430
15517
|
</ng-template>
|
|
15431
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15518
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15432
15519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiDayViewComponent, decorators: [{
|
|
15433
15520
|
type: Component,
|
|
15434
15521
|
args: [{
|
|
@@ -15473,11 +15560,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
15473
15560
|
[selectedDateFormat]="selectedDateFormat"
|
|
15474
15561
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15475
15562
|
</multi-day-view>
|
|
15476
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15563
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15477
15564
|
</ng-template>
|
|
15478
15565
|
`,
|
|
15479
15566
|
standalone: true,
|
|
15480
|
-
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
15567
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
15481
15568
|
}]
|
|
15482
15569
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15483
15570
|
type: Input
|
|
@@ -15572,9 +15659,9 @@ WeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
15572
15659
|
[selectedDateFormat]="selectedDateFormat"
|
|
15573
15660
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15574
15661
|
</multi-day-view>
|
|
15575
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15662
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15576
15663
|
</ng-template>
|
|
15577
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15664
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15578
15665
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekViewComponent, decorators: [{
|
|
15579
15666
|
type: Component,
|
|
15580
15667
|
args: [{
|
|
@@ -15620,11 +15707,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
15620
15707
|
[selectedDateFormat]="selectedDateFormat"
|
|
15621
15708
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15622
15709
|
</multi-day-view>
|
|
15623
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15710
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15624
15711
|
</ng-template>
|
|
15625
15712
|
`,
|
|
15626
15713
|
standalone: true,
|
|
15627
|
-
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
15714
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
15628
15715
|
}]
|
|
15629
15716
|
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
15630
15717
|
type: Input
|
|
@@ -15721,9 +15808,9 @@ WorkWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
15721
15808
|
[selectedDateFormat]="selectedDateFormat"
|
|
15722
15809
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15723
15810
|
</multi-day-view>
|
|
15724
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15811
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15725
15812
|
</ng-template>
|
|
15726
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15813
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: ["allDaySlot", "name", "slotFill", "allDaySlotTemplate", "allDayEventTemplate"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15727
15814
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WorkWeekViewComponent, decorators: [{
|
|
15728
15815
|
type: Component,
|
|
15729
15816
|
args: [{
|
|
@@ -15770,11 +15857,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
15770
15857
|
[selectedDateFormat]="selectedDateFormat"
|
|
15771
15858
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
15772
15859
|
</multi-day-view>
|
|
15773
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15860
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
15774
15861
|
</ng-template>
|
|
15775
15862
|
`,
|
|
15776
15863
|
standalone: true,
|
|
15777
|
-
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
15864
|
+
imports: [MultiDayViewRendererComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
15778
15865
|
}]
|
|
15779
15866
|
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; } });
|
|
15780
15867
|
|
|
@@ -16485,9 +16572,9 @@ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
16485
16572
|
[selectedDateFormat]="selectedDateFormat"
|
|
16486
16573
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16487
16574
|
</timeline-multi-day-view>
|
|
16488
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16575
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16489
16576
|
</ng-template>
|
|
16490
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16577
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16491
16578
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
|
|
16492
16579
|
type: Component,
|
|
16493
16580
|
args: [{
|
|
@@ -16531,11 +16618,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16531
16618
|
[selectedDateFormat]="selectedDateFormat"
|
|
16532
16619
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16533
16620
|
</timeline-multi-day-view>
|
|
16534
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16621
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16535
16622
|
</ng-template>
|
|
16536
16623
|
`,
|
|
16537
16624
|
standalone: true,
|
|
16538
|
-
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
16625
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
16539
16626
|
}]
|
|
16540
16627
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
16541
16628
|
type: Input
|
|
@@ -16643,9 +16730,9 @@ TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
16643
16730
|
[selectedDateFormat]="selectedDateFormat"
|
|
16644
16731
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16645
16732
|
</timeline-multi-day-view>
|
|
16646
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16733
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16647
16734
|
</ng-template>
|
|
16648
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16735
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16649
16736
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineViewComponent, decorators: [{
|
|
16650
16737
|
type: Component,
|
|
16651
16738
|
args: [{
|
|
@@ -16686,11 +16773,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16686
16773
|
[selectedDateFormat]="selectedDateFormat"
|
|
16687
16774
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16688
16775
|
</timeline-multi-day-view>
|
|
16689
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16776
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16690
16777
|
</ng-template>
|
|
16691
16778
|
`,
|
|
16692
16779
|
standalone: true,
|
|
16693
|
-
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
16780
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
16694
16781
|
}]
|
|
16695
16782
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
16696
16783
|
type: Input
|
|
@@ -16792,9 +16879,9 @@ TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
16792
16879
|
[selectedDateFormat]="selectedDateFormat"
|
|
16793
16880
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16794
16881
|
</timeline-multi-day-view>
|
|
16795
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16882
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16796
16883
|
</ng-template>
|
|
16797
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16884
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TimelineMultiDayViewComponent, selector: "timeline-multi-day-view", inputs: ["name", "columnWidth", "viewName"] }, { kind: "component", type: ViewFooterComponent, selector: "[viewFooter]", inputs: ["items"], outputs: ["itemClick"] }, { kind: "directive", type: WorkHoursFooterDirective, selector: "[kendoWorkHoursFooter]", inputs: ["showWorkHours"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16798
16885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineWeekViewComponent, decorators: [{
|
|
16799
16886
|
type: Component,
|
|
16800
16887
|
args: [{
|
|
@@ -16838,11 +16925,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16838
16925
|
[selectedDateFormat]="selectedDateFormat"
|
|
16839
16926
|
[selectedShortDateFormat]="selectedShortDateFormat">
|
|
16840
16927
|
</timeline-multi-day-view>
|
|
16841
|
-
<div viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16928
|
+
<div *ngIf="viewShowFooter" viewFooter kendoWorkHoursFooter [showWorkHours]="shouldShowWorkHours" (itemClick)="showWorkHours = !shouldShowWorkHours"></div>
|
|
16842
16929
|
</ng-template>
|
|
16843
16930
|
`,
|
|
16844
16931
|
standalone: true,
|
|
16845
|
-
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective]
|
|
16932
|
+
imports: [TimelineMultiDayViewComponent, ViewFooterComponent, WorkHoursFooterDirective, NgIf]
|
|
16846
16933
|
}]
|
|
16847
16934
|
}], ctorParameters: function () { return [{ type: i1$2.IntlService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }, { type: ViewStateService }]; }, propDecorators: { selectedDateFormat: [{
|
|
16848
16935
|
type: Input
|
|
@@ -22,6 +22,7 @@ export declare class FocusService implements OnDestroy {
|
|
|
22
22
|
private items;
|
|
23
23
|
private elementMap;
|
|
24
24
|
private subs;
|
|
25
|
+
private hasContentRendered;
|
|
25
26
|
constructor(renderer: Renderer2, wrapper: ElementRef, domEvents: DomEventsService, zone: NgZone);
|
|
26
27
|
ngOnDestroy(): void;
|
|
27
28
|
register(item: FocusableElement): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "16.10.0-develop.
|
|
3
|
+
"version": "16.10.0-develop.3",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"@progress/kendo-data-query": "^1.0.0",
|
|
27
27
|
"@progress/kendo-drawing": "^1.20.3",
|
|
28
28
|
"@progress/kendo-licensing": "^1.0.2",
|
|
29
|
-
"@progress/kendo-angular-tooltip": "16.10.0-develop.
|
|
30
|
-
"@progress/kendo-angular-buttons": "16.10.0-develop.
|
|
31
|
-
"@progress/kendo-angular-common": "16.10.0-develop.
|
|
32
|
-
"@progress/kendo-angular-dateinputs": "16.10.0-develop.
|
|
33
|
-
"@progress/kendo-angular-dialog": "16.10.0-develop.
|
|
34
|
-
"@progress/kendo-angular-dropdowns": "16.10.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "16.10.0-develop.
|
|
36
|
-
"@progress/kendo-angular-inputs": "16.10.0-develop.
|
|
37
|
-
"@progress/kendo-angular-intl": "16.10.0-develop.
|
|
38
|
-
"@progress/kendo-angular-l10n": "16.10.0-develop.
|
|
39
|
-
"@progress/kendo-angular-label": "16.10.0-develop.
|
|
40
|
-
"@progress/kendo-angular-popup": "16.10.0-develop.
|
|
29
|
+
"@progress/kendo-angular-tooltip": "16.10.0-develop.3",
|
|
30
|
+
"@progress/kendo-angular-buttons": "16.10.0-develop.3",
|
|
31
|
+
"@progress/kendo-angular-common": "16.10.0-develop.3",
|
|
32
|
+
"@progress/kendo-angular-dateinputs": "16.10.0-develop.3",
|
|
33
|
+
"@progress/kendo-angular-dialog": "16.10.0-develop.3",
|
|
34
|
+
"@progress/kendo-angular-dropdowns": "16.10.0-develop.3",
|
|
35
|
+
"@progress/kendo-angular-icons": "16.10.0-develop.3",
|
|
36
|
+
"@progress/kendo-angular-inputs": "16.10.0-develop.3",
|
|
37
|
+
"@progress/kendo-angular-intl": "16.10.0-develop.3",
|
|
38
|
+
"@progress/kendo-angular-l10n": "16.10.0-develop.3",
|
|
39
|
+
"@progress/kendo-angular-label": "16.10.0-develop.3",
|
|
40
|
+
"@progress/kendo-angular-popup": "16.10.0-develop.3",
|
|
41
41
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"tslib": "^2.3.1",
|
|
45
|
-
"@progress/kendo-angular-schematics": "16.10.0-develop.
|
|
45
|
+
"@progress/kendo-angular-schematics": "16.10.0-develop.3",
|
|
46
46
|
"@progress/kendo-date-math": "^1.3.2",
|
|
47
47
|
"@progress/kendo-draggable": "^3.0.2",
|
|
48
48
|
"@progress/kendo-file-saver": "^1.0.7",
|
package/scheduler.component.d.ts
CHANGED
|
@@ -226,6 +226,16 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
226
226
|
* @default true
|
|
227
227
|
*/
|
|
228
228
|
highlightOngoingEvents: boolean | OngoingEventsSettings;
|
|
229
|
+
/**
|
|
230
|
+
* Specifies whether to display the toolbar of the Scheduler.
|
|
231
|
+
* @default true
|
|
232
|
+
*/
|
|
233
|
+
showToolbar: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Specifies whether to display the footer of the Scheduler.
|
|
236
|
+
* @default true
|
|
237
|
+
*/
|
|
238
|
+
showFooter: boolean;
|
|
229
239
|
/**
|
|
230
240
|
* Defines a function that is executed for every slot in the view.
|
|
231
241
|
* The function returns a value which is supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
@@ -437,6 +447,10 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
437
447
|
* @hidden
|
|
438
448
|
*/
|
|
439
449
|
showLicenseWatermark: boolean;
|
|
450
|
+
/**
|
|
451
|
+
* @hidden
|
|
452
|
+
*/
|
|
453
|
+
get viewToolbar(): boolean;
|
|
440
454
|
private direction;
|
|
441
455
|
private subs;
|
|
442
456
|
private viewIndex;
|
|
@@ -557,6 +571,10 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
557
571
|
* Focuses the last focused scheduler element or the Scheduler element, if no events are available.
|
|
558
572
|
*/
|
|
559
573
|
focus(): void;
|
|
574
|
+
/**
|
|
575
|
+
* @hidden
|
|
576
|
+
*/
|
|
577
|
+
get toolbarVisibilityState(): boolean;
|
|
560
578
|
private isInRange;
|
|
561
579
|
private notifyOptionsChange;
|
|
562
580
|
private get workWeek();
|
|
@@ -569,5 +587,5 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
569
587
|
private intlChange;
|
|
570
588
|
private attachElementEventHandlers;
|
|
571
589
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchedulerComponent, never>;
|
|
572
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerComponent, "kendo-scheduler", never, { "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"; "allDaySlot": "allDaySlot"; "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"; }, { "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"; "schedulerResize": "schedulerResize"; }, ["editDialogTemplate", "toolbarTemplate", "views", "allDayEventTemplate", "eventTemplate", "timeSlotTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate", "monthDaySlotTemplate", "multiWeekDaySlotTemplate", "dateHeaderTemplate", "allDaySlotTemplate", "groupHeaderTemplate", "agendaDateTemplate", "agendaTimeTemplate"], never, true, never>;
|
|
590
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerComponent, "kendo-scheduler", never, { "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"; "allDaySlot": "allDaySlot"; "scrollTime": "scrollTime"; "group": "group"; "resources": "resources"; "loading": "loading"; "timezone": "timezone"; "events": "events"; "selectedDate": "selectedDate"; "modelFields": "modelFields"; "currentTimeMarker": "currentTimeMarker"; "highlightOngoingEvents": "highlightOngoingEvents"; "showToolbar": "showToolbar"; "showFooter": "showFooter"; "slotClass": "slotClass"; "eventClass": "eventClass"; "eventStyles": "eventStyles"; "isSlotSelected": "isSlotSelected"; }, { "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"; "schedulerResize": "schedulerResize"; }, ["editDialogTemplate", "toolbarTemplate", "views", "allDayEventTemplate", "eventTemplate", "timeSlotTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate", "monthDaySlotTemplate", "multiWeekDaySlotTemplate", "dateHeaderTemplate", "allDaySlotTemplate", "groupHeaderTemplate", "agendaDateTemplate", "agendaTimeTemplate"], never, true, never>;
|
|
573
591
|
}
|