@progress/kendo-angular-scheduler 12.2.0-develop.2 → 12.2.0-develop.4
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/package-metadata.mjs +2 -2
- package/esm2020/scheduler.component.mjs +18 -4
- package/esm2020/toolbar/navigation.component.mjs +6 -26
- package/esm2020/toolbar/toolbar.component.mjs +28 -11
- package/esm2020/toolbar/toolbar.module.mjs +7 -3
- package/esm2020/toolbar/view-selector.component.mjs +23 -11
- package/fesm2015/progress-kendo-angular-scheduler.mjs +80 -55
- package/fesm2020/progress-kendo-angular-scheduler.mjs +80 -55
- package/package.json +12 -12
- package/scheduler.component.d.ts +9 -1
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/navigation.component.d.ts +1 -15
- package/toolbar/toolbar.component.d.ts +9 -4
- package/toolbar/toolbar.module.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +11 -3
|
@@ -7,7 +7,7 @@ import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode
|
|
|
7
7
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
|
-
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, anyChanged, ResizeSensorComponent, EventsModule,
|
|
10
|
+
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, anyChanged, ResizeSensorComponent, EventsModule, ResizeSensorModule, guid } from '@progress/kendo-angular-common';
|
|
11
11
|
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '12.2.0-develop.
|
|
51
|
+
publishDate: 1684491536,
|
|
52
|
+
version: '12.2.0-develop.4',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -2380,21 +2380,7 @@ class ToolbarNavigationComponent {
|
|
|
2380
2380
|
this.localization = localization;
|
|
2381
2381
|
this.cd = cd;
|
|
2382
2382
|
this.viewContext = viewContext;
|
|
2383
|
-
|
|
2384
|
-
* @hidden
|
|
2385
|
-
* TODO: Drop in next MAJOR version
|
|
2386
|
-
*/
|
|
2387
|
-
this.inlineDisplayStyle = 'flex';
|
|
2388
|
-
/**
|
|
2389
|
-
* @hidden
|
|
2390
|
-
* TODO: Drop in next MAJOR version
|
|
2391
|
-
*/
|
|
2392
|
-
this.inlineFlexFlowStyle = 'inherit';
|
|
2393
|
-
/**
|
|
2394
|
-
* @hidden
|
|
2395
|
-
* TODO: Drop in next MAJOR version
|
|
2396
|
-
*/
|
|
2397
|
-
this.inlineGapStyle = 'inherit';
|
|
2383
|
+
this.hostClass = true;
|
|
2398
2384
|
/**
|
|
2399
2385
|
* @hidden
|
|
2400
2386
|
*/
|
|
@@ -2536,10 +2522,10 @@ class ToolbarNavigationComponent {
|
|
|
2536
2522
|
}
|
|
2537
2523
|
}
|
|
2538
2524
|
ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$2.PopupService }, { token: ToolbarService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2539
|
-
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "
|
|
2525
|
+
ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
2540
2526
|
PopupService
|
|
2541
2527
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
2542
|
-
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
2528
|
+
<span class="k-scheduler-navigation k-button-group k-button-group-solid" role="group">
|
|
2543
2529
|
<button kendoButton
|
|
2544
2530
|
(click)="todayClick()"
|
|
2545
2531
|
class="k-nav-today"
|
|
@@ -2611,7 +2597,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2611
2597
|
PopupService
|
|
2612
2598
|
],
|
|
2613
2599
|
template: `
|
|
2614
|
-
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
2600
|
+
<span class="k-scheduler-navigation k-button-group k-button-group-solid" role="group">
|
|
2615
2601
|
<button kendoButton
|
|
2616
2602
|
(click)="todayClick()"
|
|
2617
2603
|
class="k-nav-today"
|
|
@@ -2677,15 +2663,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2677
2663
|
}], ctorParameters: function () { return [{ type: i1$2.PopupService }, { type: ToolbarService }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: ViewContextService }]; }, propDecorators: { calendar: [{
|
|
2678
2664
|
type: ViewChild,
|
|
2679
2665
|
args: ['calendar', { static: false }]
|
|
2680
|
-
}],
|
|
2666
|
+
}], hostClass: [{
|
|
2681
2667
|
type: HostBinding,
|
|
2682
|
-
args: ['
|
|
2683
|
-
}], inlineFlexFlowStyle: [{
|
|
2684
|
-
type: HostBinding,
|
|
2685
|
-
args: ['style.flex-flow']
|
|
2686
|
-
}], inlineGapStyle: [{
|
|
2687
|
-
type: HostBinding,
|
|
2688
|
-
args: ['style.gap']
|
|
2668
|
+
args: ['class.k-toolbar-group']
|
|
2689
2669
|
}], min: [{
|
|
2690
2670
|
type: Input
|
|
2691
2671
|
}], max: [{
|
|
@@ -2712,9 +2692,12 @@ class ToolbarViewSelectorComponent {
|
|
|
2712
2692
|
this.service = service;
|
|
2713
2693
|
this.localization = localization;
|
|
2714
2694
|
/**
|
|
2715
|
-
*
|
|
2695
|
+
* Specifies the Toolbar width (in pixels) at which the responsive behavior should be enabled.
|
|
2696
|
+
* The responsive behavior means that the ButtonGroup with the views will be replaced by a `select` element.
|
|
2697
|
+
*
|
|
2698
|
+
* @default 1024
|
|
2716
2699
|
*/
|
|
2717
|
-
this.
|
|
2700
|
+
this.responsiveBreakpoint = 1024;
|
|
2718
2701
|
}
|
|
2719
2702
|
/**
|
|
2720
2703
|
* @hidden
|
|
@@ -2761,9 +2744,9 @@ class ToolbarViewSelectorComponent {
|
|
|
2761
2744
|
}
|
|
2762
2745
|
}
|
|
2763
2746
|
ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2764
|
-
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]",
|
|
2747
|
+
ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
2765
2748
|
<select
|
|
2766
|
-
*ngIf="ctx.views?.length > 1"
|
|
2749
|
+
*ngIf="ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint"
|
|
2767
2750
|
(change)="onChange($event)"
|
|
2768
2751
|
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2769
2752
|
[attr.aria-label]="selectView"
|
|
@@ -2776,7 +2759,11 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2776
2759
|
{{ view.title }}
|
|
2777
2760
|
</option>
|
|
2778
2761
|
</select>
|
|
2779
|
-
<span
|
|
2762
|
+
<span
|
|
2763
|
+
*ngIf="toolbarWidth > responsiveBreakpoint"
|
|
2764
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group k-button-group-solid"
|
|
2765
|
+
role="group"
|
|
2766
|
+
>
|
|
2780
2767
|
<button kendoButton
|
|
2781
2768
|
type="button"
|
|
2782
2769
|
*ngFor="let view of ctx.views"
|
|
@@ -2798,7 +2785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2798
2785
|
selector: '[kendoSchedulerToolbarViewSelector]',
|
|
2799
2786
|
template: `
|
|
2800
2787
|
<select
|
|
2801
|
-
*ngIf="ctx.views?.length > 1"
|
|
2788
|
+
*ngIf="ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint"
|
|
2802
2789
|
(change)="onChange($event)"
|
|
2803
2790
|
class="k-views-dropdown k-picker-md k-rounded-md k-picker-solid k-dropdownlist k-picker"
|
|
2804
2791
|
[attr.aria-label]="selectView"
|
|
@@ -2811,7 +2798,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2811
2798
|
{{ view.title }}
|
|
2812
2799
|
</option>
|
|
2813
2800
|
</select>
|
|
2814
|
-
<span
|
|
2801
|
+
<span
|
|
2802
|
+
*ngIf="toolbarWidth > responsiveBreakpoint"
|
|
2803
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group k-button-group-solid"
|
|
2804
|
+
role="group"
|
|
2805
|
+
>
|
|
2815
2806
|
<button kendoButton
|
|
2816
2807
|
type="button"
|
|
2817
2808
|
*ngFor="let view of ctx.views"
|
|
@@ -2827,20 +2818,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2827
2818
|
</span>
|
|
2828
2819
|
`
|
|
2829
2820
|
}]
|
|
2830
|
-
}], ctorParameters: function () { return [{ type: ToolbarService }, { type: i1$1.LocalizationService }]; }, propDecorators: {
|
|
2831
|
-
type:
|
|
2832
|
-
|
|
2821
|
+
}], ctorParameters: function () { return [{ type: ToolbarService }, { type: i1$1.LocalizationService }]; }, propDecorators: { toolbarWidth: [{
|
|
2822
|
+
type: Input
|
|
2823
|
+
}], responsiveBreakpoint: [{
|
|
2824
|
+
type: Input
|
|
2833
2825
|
}] } });
|
|
2834
2826
|
|
|
2835
2827
|
/**
|
|
2836
2828
|
* @hidden
|
|
2837
2829
|
*/
|
|
2838
2830
|
class ToolbarComponent {
|
|
2839
|
-
constructor(service) {
|
|
2831
|
+
constructor(service, element, zone) {
|
|
2840
2832
|
this.service = service;
|
|
2833
|
+
this.element = element;
|
|
2834
|
+
this.zone = zone;
|
|
2841
2835
|
this.hostClasses = true;
|
|
2842
2836
|
this.toolbarRole = 'toolbar';
|
|
2843
2837
|
this.navigate = new EventEmitter();
|
|
2838
|
+
this.toolbarWidthChange = new EventEmitter();
|
|
2844
2839
|
// The template context is the same as the service context,
|
|
2845
2840
|
// but with resolved values instead of observables.
|
|
2846
2841
|
this.templateContext = {};
|
|
@@ -2850,6 +2845,7 @@ class ToolbarComponent {
|
|
|
2850
2845
|
ngOnInit() {
|
|
2851
2846
|
this.subs.add(this.selectedDate.subscribe(date => this.templateContext.selectedDate = date));
|
|
2852
2847
|
this.subs.add(this.dateRange.subscribe(dateRange => this.templateContext.dateRange = dateRange));
|
|
2848
|
+
this.resizeHandler();
|
|
2853
2849
|
}
|
|
2854
2850
|
ngOnChanges() {
|
|
2855
2851
|
this.service.context = {
|
|
@@ -2868,9 +2864,15 @@ class ToolbarComponent {
|
|
|
2868
2864
|
ngOnDestroy() {
|
|
2869
2865
|
this.subs.unsubscribe();
|
|
2870
2866
|
}
|
|
2867
|
+
resizeHandler() {
|
|
2868
|
+
const element = this.element.nativeElement;
|
|
2869
|
+
this.zone.run(() => this.toolbarWidth = element.offsetWidth);
|
|
2870
|
+
this.toolbarWidthChange.emit(this.toolbarWidth);
|
|
2871
|
+
}
|
|
2872
|
+
;
|
|
2871
2873
|
}
|
|
2872
|
-
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2873
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2874
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2875
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2874
2876
|
<ng-template
|
|
2875
2877
|
*ngIf="template; else defaultTemplate"
|
|
2876
2878
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -2881,9 +2883,11 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
2881
2883
|
<ng-template #defaultTemplate>
|
|
2882
2884
|
<div kendoSchedulerToolbarNavigation [min]="min" [max]="max"></div>
|
|
2883
2885
|
<span class="k-spacer"></span>
|
|
2884
|
-
<div kendoSchedulerToolbarViewSelector></div>
|
|
2886
|
+
<div kendoSchedulerToolbarViewSelector [toolbarWidth]="toolbarWidth"></div>
|
|
2885
2887
|
</ng-template>
|
|
2886
|
-
|
|
2888
|
+
|
|
2889
|
+
<kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
|
|
2890
|
+
`, isInline: true, components: [{ type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max"] }, { type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: ["toolbarWidth", "responsiveBreakpoint"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2887
2891
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2888
2892
|
type: Component,
|
|
2889
2893
|
args: [{
|
|
@@ -2899,11 +2903,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2899
2903
|
<ng-template #defaultTemplate>
|
|
2900
2904
|
<div kendoSchedulerToolbarNavigation [min]="min" [max]="max"></div>
|
|
2901
2905
|
<span class="k-spacer"></span>
|
|
2902
|
-
<div kendoSchedulerToolbarViewSelector></div>
|
|
2906
|
+
<div kendoSchedulerToolbarViewSelector [toolbarWidth]="toolbarWidth"></div>
|
|
2903
2907
|
</ng-template>
|
|
2908
|
+
|
|
2909
|
+
<kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
|
|
2904
2910
|
`
|
|
2905
2911
|
}]
|
|
2906
|
-
}], ctorParameters: function () { return [{ type: ToolbarService }]; }, propDecorators: { hostClasses: [{
|
|
2912
|
+
}], ctorParameters: function () { return [{ type: ToolbarService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
2907
2913
|
type: HostBinding,
|
|
2908
2914
|
args: ['class.k-scheduler-toolbar']
|
|
2909
2915
|
}, {
|
|
@@ -2925,12 +2931,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2925
2931
|
type: Input
|
|
2926
2932
|
}], template: [{
|
|
2927
2933
|
type: Input
|
|
2928
|
-
}], navigate: [{
|
|
2929
|
-
type: Output
|
|
2930
2934
|
}], min: [{
|
|
2931
2935
|
type: Input
|
|
2932
2936
|
}], max: [{
|
|
2933
2937
|
type: Input
|
|
2938
|
+
}], navigate: [{
|
|
2939
|
+
type: Output
|
|
2940
|
+
}], toolbarWidthChange: [{
|
|
2941
|
+
type: Output
|
|
2934
2942
|
}] } });
|
|
2935
2943
|
|
|
2936
2944
|
/**
|
|
@@ -6117,6 +6125,10 @@ class SchedulerComponent {
|
|
|
6117
6125
|
* Fires when the user clicks the **PDF export** command button.
|
|
6118
6126
|
*/
|
|
6119
6127
|
this.pdfExport = new EventEmitter();
|
|
6128
|
+
/**
|
|
6129
|
+
* Fires when the Scheduler is resized horizontally.
|
|
6130
|
+
*/
|
|
6131
|
+
this.schedulerResize = new EventEmitter();
|
|
6120
6132
|
/**
|
|
6121
6133
|
* @hidden
|
|
6122
6134
|
*/
|
|
@@ -6399,6 +6411,12 @@ class SchedulerComponent {
|
|
|
6399
6411
|
this.viewContext.notifyAction(action);
|
|
6400
6412
|
}
|
|
6401
6413
|
}
|
|
6414
|
+
/**
|
|
6415
|
+
* @hidden
|
|
6416
|
+
*/
|
|
6417
|
+
onToolbarWidthChange(width) {
|
|
6418
|
+
this.schedulerResize.emit(width);
|
|
6419
|
+
}
|
|
6402
6420
|
/**
|
|
6403
6421
|
* Creates a popup editor for the new event.
|
|
6404
6422
|
*
|
|
@@ -6738,7 +6756,7 @@ class SchedulerComponent {
|
|
|
6738
6756
|
}
|
|
6739
6757
|
}
|
|
6740
6758
|
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: ViewContextService }, { token: ViewStateService }, { token: EditService }, { token: DialogsService }, { token: i1$4.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: PDFService }, { token: i1$1.LocalizationService }, { token: DomEventsService }, { token: i0.Renderer2 }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6741
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
6759
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
6742
6760
|
EditService,
|
|
6743
6761
|
DialogsService,
|
|
6744
6762
|
DomEventsService,
|
|
@@ -7001,9 +7019,10 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7001
7019
|
[views]="$any(views)"
|
|
7002
7020
|
[selectedView]="selectedView"
|
|
7003
7021
|
[template]="toolbarTemplate"
|
|
7004
|
-
(navigate)="onNavigationAction($event)"
|
|
7005
7022
|
[min]="min"
|
|
7006
7023
|
[max]="max"
|
|
7024
|
+
(navigate)="onNavigationAction($event)"
|
|
7025
|
+
(toolbarWidthChange)="onToolbarWidthChange($event)"
|
|
7007
7026
|
></kendo-scheduler-toolbar>
|
|
7008
7027
|
|
|
7009
7028
|
<ng-container *ngTemplateOutlet="selectedView?.template">
|
|
@@ -7024,7 +7043,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7024
7043
|
|
|
7025
7044
|
<div [loading]="loading" kendoSchedulerLoading>
|
|
7026
7045
|
</div>
|
|
7027
|
-
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7046
|
+
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate", "toolbarWidthChange"] }, { type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7028
7047
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
7029
7048
|
type: Component,
|
|
7030
7049
|
args: [{
|
|
@@ -7294,9 +7313,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
7294
7313
|
[views]="$any(views)"
|
|
7295
7314
|
[selectedView]="selectedView"
|
|
7296
7315
|
[template]="toolbarTemplate"
|
|
7297
|
-
(navigate)="onNavigationAction($event)"
|
|
7298
7316
|
[min]="min"
|
|
7299
7317
|
[max]="max"
|
|
7318
|
+
(navigate)="onNavigationAction($event)"
|
|
7319
|
+
(toolbarWidthChange)="onToolbarWidthChange($event)"
|
|
7300
7320
|
></kendo-scheduler-toolbar>
|
|
7301
7321
|
|
|
7302
7322
|
<ng-container *ngTemplateOutlet="selectedView?.template">
|
|
@@ -7445,6 +7465,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
7445
7465
|
type: Output
|
|
7446
7466
|
}], pdfExport: [{
|
|
7447
7467
|
type: Output
|
|
7468
|
+
}], schedulerResize: [{
|
|
7469
|
+
type: Output
|
|
7448
7470
|
}], editDialogTemplate: [{
|
|
7449
7471
|
type: ContentChild,
|
|
7450
7472
|
args: [EditDialogTemplateDirective, { static: false }]
|
|
@@ -7768,7 +7790,8 @@ ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
7768
7790
|
CalendarModule,
|
|
7769
7791
|
PopupModule,
|
|
7770
7792
|
EventsModule,
|
|
7771
|
-
SharedModule
|
|
7793
|
+
SharedModule,
|
|
7794
|
+
ResizeSensorModule], exports: [ToolbarComponent, ToolbarNavigationComponent,
|
|
7772
7795
|
ToolbarTemplateDirective,
|
|
7773
7796
|
ToolbarViewSelectorComponent] });
|
|
7774
7797
|
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarModule, imports: [[
|
|
@@ -7777,7 +7800,8 @@ ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
7777
7800
|
CalendarModule,
|
|
7778
7801
|
PopupModule,
|
|
7779
7802
|
EventsModule,
|
|
7780
|
-
SharedModule
|
|
7803
|
+
SharedModule,
|
|
7804
|
+
ResizeSensorModule
|
|
7781
7805
|
]] });
|
|
7782
7806
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarModule, decorators: [{
|
|
7783
7807
|
type: NgModule,
|
|
@@ -7788,7 +7812,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
7788
7812
|
CalendarModule,
|
|
7789
7813
|
PopupModule,
|
|
7790
7814
|
EventsModule,
|
|
7791
|
-
SharedModule
|
|
7815
|
+
SharedModule,
|
|
7816
|
+
ResizeSensorModule
|
|
7792
7817
|
],
|
|
7793
7818
|
exports: [
|
|
7794
7819
|
ToolbarComponent,
|