@progress/kendo-angular-dateinputs 7.0.1 → 7.1.0-dev.202207291058
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/README.md +118 -3
- package/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/calendar/header.component.d.ts +5 -1
- package/calendar/horizontal-view-list.component.d.ts +5 -1
- package/calendar/models/orientation.d.ts +8 -0
- package/calendar/multiview-calendar.component.d.ts +10 -1
- package/esm2015/calendar/calendar.component.js +1 -1
- package/esm2015/calendar/header.component.js +14 -2
- package/esm2015/calendar/horizontal-view-list.component.js +16 -4
- package/esm2015/calendar/models/orientation.js +5 -0
- package/esm2015/calendar/multiview-calendar.component.js +16 -2
- package/esm2015/calendar/view-list.component.js +1 -1
- package/esm2015/calendar/view.component.js +3 -3
- package/esm2015/daterange/date-range-popup.component.js +1 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timepicker/timeselector.component.js +6 -6
- package/fesm2015/kendo-angular-dateinputs.js +59 -21
- package/package.json +5 -5
|
@@ -7,6 +7,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
7
7
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
8
|
import { CalendarView } from './models/view.type';
|
|
9
9
|
import { CalendarViewEnum } from './models/view.enum';
|
|
10
|
+
import { CalendarOrientation } from './models/orientation';
|
|
10
11
|
import { BusViewService } from './services/bus-view.service';
|
|
11
12
|
import { DisabledDatesService } from './services/disabled-dates.service';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
@@ -35,10 +36,13 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
35
36
|
isPrevDisabled: boolean;
|
|
36
37
|
isNextDisabled: boolean;
|
|
37
38
|
showNavigationButtons: boolean;
|
|
39
|
+
orientation: CalendarOrientation;
|
|
38
40
|
todayButtonClick: EventEmitter<Date>;
|
|
39
41
|
prevButtonClick: EventEmitter<any>;
|
|
40
42
|
nextButtonClick: EventEmitter<any>;
|
|
41
43
|
getComponentClass: boolean;
|
|
44
|
+
get horizontalHostClass(): boolean;
|
|
45
|
+
get verticalHostClass(): boolean;
|
|
42
46
|
private subscriptions;
|
|
43
47
|
constructor(bus: BusViewService, cdr: ChangeDetectorRef, localization: LocalizationService, intl: IntlService, disabledDatesService: DisabledDatesService);
|
|
44
48
|
ngOnInit(): void;
|
|
@@ -51,5 +55,5 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
51
55
|
private getTitle;
|
|
52
56
|
private setTodayAvailability;
|
|
53
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "kendo-calendar-header", never, { "activeView": "activeView"; "currentDate": "currentDate"; "min": "min"; "max": "max"; "rangeLength": "rangeLength"; "templateRef": "templateRef"; "isPrevDisabled": "isPrevDisabled"; "isNextDisabled": "isNextDisabled"; "showNavigationButtons": "showNavigationButtons"; }, { "todayButtonClick": "todayButtonClick"; "prevButtonClick": "prevButtonClick"; "nextButtonClick": "nextButtonClick"; }, never, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "kendo-calendar-header", never, { "activeView": "activeView"; "currentDate": "currentDate"; "min": "min"; "max": "max"; "rangeLength": "rangeLength"; "templateRef": "templateRef"; "isPrevDisabled": "isPrevDisabled"; "isNextDisabled": "isNextDisabled"; "showNavigationButtons": "showNavigationButtons"; "orientation": "orientation"; }, { "todayButtonClick": "todayButtonClick"; "prevButtonClick": "prevButtonClick"; "nextButtonClick": "nextButtonClick"; }, never, never>;
|
|
55
59
|
}
|
|
@@ -11,6 +11,7 @@ import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
|
11
11
|
import { SelectionRange } from './models/selection-range.interface';
|
|
12
12
|
import { Action } from './models/navigation-action.enum';
|
|
13
13
|
import { CalendarViewEnum } from './models/view.enum';
|
|
14
|
+
import { CalendarOrientation } from './models/orientation';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* @hidden
|
|
@@ -36,6 +37,7 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
|
|
|
36
37
|
views: number;
|
|
37
38
|
showViewHeader: boolean;
|
|
38
39
|
animateNavigation: boolean;
|
|
40
|
+
orientation: CalendarOrientation;
|
|
39
41
|
get weekNumber(): boolean;
|
|
40
42
|
set weekNumber(showWeekNumbers: boolean);
|
|
41
43
|
cellClick: EventEmitter<any>;
|
|
@@ -44,6 +46,8 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
|
|
|
44
46
|
cellLeave: EventEmitter<Date>;
|
|
45
47
|
activeDateChange: EventEmitter<Date>;
|
|
46
48
|
getComponentClass: boolean;
|
|
49
|
+
get horizontalHostClass(): boolean;
|
|
50
|
+
get verticalHostClass(): boolean;
|
|
47
51
|
get getComponentMonthClass(): boolean;
|
|
48
52
|
get getComponentYearClass(): boolean;
|
|
49
53
|
get getComponentDecadeClass(): boolean;
|
|
@@ -78,5 +82,5 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
|
|
|
78
82
|
private isInDates;
|
|
79
83
|
private getTake;
|
|
80
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalViewListComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalViewListComponent, "kendo-calendar-horizontal", never, { "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "activeRangeEnd": "activeRangeEnd"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectionRange": "selectionRange"; "selectedDates": "selectedDates"; "views": "views"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "activeDateChange": "activeDateChange"; }, never, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalViewListComponent, "kendo-calendar-horizontal", never, { "cellTemplateRef": "cellTemplateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "activeRangeEnd": "activeRangeEnd"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "isActive": "isActive"; "min": "min"; "max": "max"; "selectionRange": "selectionRange"; "selectedDates": "selectedDates"; "views": "views"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "orientation": "orientation"; "weekNumber": "weekNumber"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "activeDateChange": "activeDateChange"; }, never, never>;
|
|
82
86
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the Calendar orientation.
|
|
7
|
+
*/
|
|
8
|
+
export declare type CalendarOrientation = 'horizontal' | 'vertical';
|
|
@@ -24,6 +24,7 @@ import { CalendarViewEnum } from './models/view.enum';
|
|
|
24
24
|
import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
25
25
|
import { SelectionRange } from './models/selection-range.interface';
|
|
26
26
|
import { CalendarSelection } from './models/selection';
|
|
27
|
+
import { CalendarOrientation } from './models/orientation';
|
|
27
28
|
import * as i0 from "@angular/core";
|
|
28
29
|
/**
|
|
29
30
|
* @hidden
|
|
@@ -193,6 +194,14 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
193
194
|
* defines the number of rendered months.
|
|
194
195
|
*/
|
|
195
196
|
views: number;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies the orientation of the MultiViewCalendar.
|
|
199
|
+
*
|
|
200
|
+
* The available values are:
|
|
201
|
+
* * `horizontal` (default)
|
|
202
|
+
* * `vertical`
|
|
203
|
+
*/
|
|
204
|
+
orientation: CalendarOrientation;
|
|
196
205
|
/**
|
|
197
206
|
* Fires when the active view is changed
|
|
198
207
|
* ([more information and example]({% slug overview_multiviewcalendar %}#toc-events)).
|
|
@@ -500,5 +509,5 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
|
|
|
500
509
|
private parseSelectionToValue;
|
|
501
510
|
private performSelection;
|
|
502
511
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiViewCalendarComponent, never>;
|
|
503
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "id": "id"; "focusedDate": "focusedDate"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesRangeValidation": "disabledDatesRangeValidation"; "selection": "selection"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "isActive": "isActive"; "disabledDates": "disabledDates"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "views": "views"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "valueChange": "valueChange"; "blurEvent": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
|
|
512
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiViewCalendarComponent, "kendo-multiviewcalendar", ["kendo-multiviewcalendar"], { "id": "id"; "focusedDate": "focusedDate"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesRangeValidation": "disabledDatesRangeValidation"; "selection": "selection"; "value": "value"; "disabled": "disabled"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "isActive": "isActive"; "disabledDates": "disabledDates"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "showViewHeader": "showViewHeader"; "animateNavigation": "animateNavigation"; "weekNumber": "weekNumber"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "views": "views"; "orientation": "orientation"; "cellTemplateRef": "cellTemplate"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; }, { "activeViewChange": "activeViewChange"; "navigate": "navigate"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "valueChange": "valueChange"; "blurEvent": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
|
|
504
513
|
}
|
|
@@ -985,7 +985,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
985
985
|
</kendo-multiviewcalendar-messages>
|
|
986
986
|
</kendo-multiviewcalendar>
|
|
987
987
|
</ng-container>
|
|
988
|
-
`, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }, { type: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
988
|
+
`, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }, { type: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
989
989
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
990
990
|
type: Component,
|
|
991
991
|
args: [{
|
|
@@ -33,12 +33,19 @@ export class HeaderComponent {
|
|
|
33
33
|
this.isPrevDisabled = true;
|
|
34
34
|
this.isNextDisabled = true;
|
|
35
35
|
this.showNavigationButtons = false;
|
|
36
|
+
this.orientation = 'horizontal';
|
|
36
37
|
this.todayButtonClick = new EventEmitter();
|
|
37
38
|
this.prevButtonClick = new EventEmitter();
|
|
38
39
|
this.nextButtonClick = new EventEmitter();
|
|
39
40
|
this.getComponentClass = true;
|
|
40
41
|
this.subscriptions = new Subscription();
|
|
41
42
|
}
|
|
43
|
+
get horizontalHostClass() {
|
|
44
|
+
return this.orientation === 'horizontal';
|
|
45
|
+
}
|
|
46
|
+
get verticalHostClass() {
|
|
47
|
+
return this.orientation === 'vertical';
|
|
48
|
+
}
|
|
42
49
|
ngOnInit() {
|
|
43
50
|
this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
|
|
44
51
|
this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
|
|
@@ -105,7 +112,7 @@ export class HeaderComponent {
|
|
|
105
112
|
}
|
|
106
113
|
}
|
|
107
114
|
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i3.IntlService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", templateRef: "templateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-hstack": "this.
|
|
115
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", templateRef: "templateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
109
116
|
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title" [class.k-disabled]="!navigate"
|
|
110
117
|
[kendoEventsOutsideAngular]="{
|
|
111
118
|
click: handleNavigation
|
|
@@ -226,6 +233,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
226
233
|
type: Input
|
|
227
234
|
}], showNavigationButtons: [{
|
|
228
235
|
type: Input
|
|
236
|
+
}], orientation: [{
|
|
237
|
+
type: Input
|
|
229
238
|
}], todayButtonClick: [{
|
|
230
239
|
type: Output
|
|
231
240
|
}], prevButtonClick: [{
|
|
@@ -235,7 +244,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
235
244
|
}], getComponentClass: [{
|
|
236
245
|
type: HostBinding,
|
|
237
246
|
args: ["class.k-calendar-header"]
|
|
238
|
-
}, {
|
|
247
|
+
}], horizontalHostClass: [{
|
|
239
248
|
type: HostBinding,
|
|
240
249
|
args: ["class.k-hstack"]
|
|
250
|
+
}], verticalHostClass: [{
|
|
251
|
+
type: HostBinding,
|
|
252
|
+
args: ["class.k-vstack"]
|
|
241
253
|
}] } });
|
|
@@ -38,6 +38,7 @@ export class HorizontalViewListComponent {
|
|
|
38
38
|
this.views = DEFAULT_VIEWS_LENGTH;
|
|
39
39
|
this.showViewHeader = false;
|
|
40
40
|
this.animateNavigation = false;
|
|
41
|
+
this.orientation = 'horizontal';
|
|
41
42
|
this.cellClick = new EventEmitter();
|
|
42
43
|
this.weekNumberCellClick = new EventEmitter();
|
|
43
44
|
this.cellEnter = new EventEmitter();
|
|
@@ -54,6 +55,12 @@ export class HorizontalViewListComponent {
|
|
|
54
55
|
set weekNumber(showWeekNumbers) {
|
|
55
56
|
this.showWeekNumbers = showWeekNumbers;
|
|
56
57
|
}
|
|
58
|
+
get horizontalHostClass() {
|
|
59
|
+
return this.orientation === 'horizontal';
|
|
60
|
+
}
|
|
61
|
+
get verticalHostClass() {
|
|
62
|
+
return this.orientation === 'vertical';
|
|
63
|
+
}
|
|
57
64
|
get getComponentMonthClass() {
|
|
58
65
|
return this.activeView === CalendarViewEnum.month;
|
|
59
66
|
}
|
|
@@ -221,7 +228,7 @@ export class HorizontalViewListComponent {
|
|
|
221
228
|
}
|
|
222
229
|
}
|
|
223
230
|
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i3.WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
224
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange" }, host: { properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-
|
|
231
|
+
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange" }, host: { properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
225
232
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
226
233
|
<table
|
|
227
234
|
role="grid"
|
|
@@ -397,6 +404,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
397
404
|
type: Input
|
|
398
405
|
}], animateNavigation: [{
|
|
399
406
|
type: Input
|
|
407
|
+
}], orientation: [{
|
|
408
|
+
type: Input
|
|
400
409
|
}], weekNumber: [{
|
|
401
410
|
type: Input
|
|
402
411
|
}], cellClick: [{
|
|
@@ -412,15 +421,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
412
421
|
}], getComponentClass: [{
|
|
413
422
|
type: HostBinding,
|
|
414
423
|
args: ["class.k-calendar-view"]
|
|
415
|
-
}, {
|
|
416
|
-
type: HostBinding,
|
|
417
|
-
args: ["class.k-hstack"]
|
|
418
424
|
}, {
|
|
419
425
|
type: HostBinding,
|
|
420
426
|
args: ["class.k-align-items-start"]
|
|
421
427
|
}, {
|
|
422
428
|
type: HostBinding,
|
|
423
429
|
args: ["class.k-justify-content-center"]
|
|
430
|
+
}], horizontalHostClass: [{
|
|
431
|
+
type: HostBinding,
|
|
432
|
+
args: ["class.k-hstack"]
|
|
433
|
+
}], verticalHostClass: [{
|
|
434
|
+
type: HostBinding,
|
|
435
|
+
args: ["class.k-vstack"]
|
|
424
436
|
}], getComponentMonthClass: [{
|
|
425
437
|
type: HostBinding,
|
|
426
438
|
args: ["class.k-calendar-monthview"]
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -165,6 +165,14 @@ export class MultiViewCalendarComponent {
|
|
|
165
165
|
* defines the number of rendered months.
|
|
166
166
|
*/
|
|
167
167
|
this.views = 2;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the orientation of the MultiViewCalendar.
|
|
170
|
+
*
|
|
171
|
+
* The available values are:
|
|
172
|
+
* * `horizontal` (default)
|
|
173
|
+
* * `vertical`
|
|
174
|
+
*/
|
|
175
|
+
this.orientation = 'horizontal';
|
|
168
176
|
/**
|
|
169
177
|
* Fires when the active view is changed
|
|
170
178
|
* ([more information and example]({% slug overview_multiviewcalendar %}#toc-events)).
|
|
@@ -748,7 +756,7 @@ export class MultiViewCalendarComponent {
|
|
|
748
756
|
}
|
|
749
757
|
}
|
|
750
758
|
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: i1.BusViewService }, { token: i0.ElementRef }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i3.DisabledDatesService }, { token: i4.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
751
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", blurEvent: "blur" }, host: { listeners: { "focusout": "handleFocusout($event)", "focus": "handleFocus()", "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.tabindex": "this.calendarTabIndex", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled", "attr.aria-activedescendant": "this.ariaActivedescendant" } }, providers: [
|
|
759
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", blurEvent: "blur" }, host: { listeners: { "focusout": "handleFocusout($event)", "focus": "handleFocus()", "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.tabindex": "this.calendarTabIndex", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled", "attr.aria-activedescendant": "this.ariaActivedescendant" } }, providers: [
|
|
752
760
|
BusViewService,
|
|
753
761
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
754
762
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -782,6 +790,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
782
790
|
[isPrevDisabled]="isPrevDisabled"
|
|
783
791
|
[isNextDisabled]="isNextDisabled"
|
|
784
792
|
[showNavigationButtons]="true"
|
|
793
|
+
[orientation]="orientation"
|
|
785
794
|
(todayButtonClick)="handleTodayButtonClick({ selectedDates: [$event], focusedDate: $event })"
|
|
786
795
|
(prevButtonClick)="navigateView(prevView)"
|
|
787
796
|
(nextButtonClick)="navigateView(nextView)"
|
|
@@ -807,6 +816,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
807
816
|
[activeRangeEnd]="activeRangeEnd"
|
|
808
817
|
[selectionRange]="selectionRange"
|
|
809
818
|
[selectedDates]="selectedDates"
|
|
819
|
+
[orientation]="orientation"
|
|
810
820
|
(cellClick)="handleCellClick($event)"
|
|
811
821
|
(weekNumberCellClick)="handleWeekNumberClick($event)"
|
|
812
822
|
(cellEnter)="emitCellEvent(cellEnter, $event)"
|
|
@@ -814,7 +824,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
814
824
|
(activeDateChange)="setActiveDate($event)"
|
|
815
825
|
>
|
|
816
826
|
</kendo-calendar-horizontal>
|
|
817
|
-
`, isInline: true, components: [{ type: i5.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i6.HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange"] }], directives: [{ type: i7.MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
827
|
+
`, isInline: true, components: [{ type: i5.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i6.HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange"] }], directives: [{ type: i7.MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
819
829
|
type: Component,
|
|
820
830
|
args: [{
|
|
@@ -856,6 +866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
856
866
|
[isPrevDisabled]="isPrevDisabled"
|
|
857
867
|
[isNextDisabled]="isNextDisabled"
|
|
858
868
|
[showNavigationButtons]="true"
|
|
869
|
+
[orientation]="orientation"
|
|
859
870
|
(todayButtonClick)="handleTodayButtonClick({ selectedDates: [$event], focusedDate: $event })"
|
|
860
871
|
(prevButtonClick)="navigateView(prevView)"
|
|
861
872
|
(nextButtonClick)="navigateView(nextView)"
|
|
@@ -881,6 +892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
881
892
|
[activeRangeEnd]="activeRangeEnd"
|
|
882
893
|
[selectionRange]="selectionRange"
|
|
883
894
|
[selectedDates]="selectedDates"
|
|
895
|
+
[orientation]="orientation"
|
|
884
896
|
(cellClick)="handleCellClick($event)"
|
|
885
897
|
(weekNumberCellClick)="handleWeekNumberClick($event)"
|
|
886
898
|
(cellEnter)="emitCellEvent(cellEnter, $event)"
|
|
@@ -934,6 +946,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
934
946
|
type: Input
|
|
935
947
|
}], views: [{
|
|
936
948
|
type: Input
|
|
949
|
+
}], orientation: [{
|
|
950
|
+
type: Input
|
|
937
951
|
}], activeViewChange: [{
|
|
938
952
|
type: Output
|
|
939
953
|
}], navigate: [{
|
|
@@ -226,7 +226,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
226
226
|
></tbody>
|
|
227
227
|
</table>
|
|
228
228
|
</kendo-virtualization>
|
|
229
|
-
`, isInline: true, components: [{ type: i4.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i5.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: i6.ViewComponent, selector: "[kendoCalendarView]", inputs: ["direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
229
|
+
`, isInline: true, components: [{ type: i4.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i5.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: i6.ViewComponent, selector: "[kendoCalendarView]", inputs: ["direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
230
230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
231
231
|
type: Component,
|
|
232
232
|
args: [{
|
|
@@ -115,9 +115,9 @@ export class ViewComponent {
|
|
|
115
115
|
'k-range-split-end': !context.isOtherMonth && context.isRangeSplitEnd,
|
|
116
116
|
'k-range-split-start': !context.isOtherMonth && context.isRangeSplitStart,
|
|
117
117
|
'k-range-start': !context.isOtherMonth && isRangeStart,
|
|
118
|
-
'k-
|
|
119
|
-
'k-
|
|
120
|
-
'k-
|
|
118
|
+
'k-active': isStartActive || isEndActive,
|
|
119
|
+
'k-focus': !context.isOtherMonth && this.isActive && context.isFocused,
|
|
120
|
+
'k-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
|
|
121
121
|
'k-today': !context.isOtherMonth && context.isToday,
|
|
122
122
|
'k-weekend': context.isWeekend,
|
|
123
123
|
'k-disabled': context.isDisabled,
|
|
@@ -297,7 +297,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
297
297
|
<ng-template #defaultTemplate>
|
|
298
298
|
<kendo-multiviewcalendar kendoDateRangeSelection></kendo-multiviewcalendar>
|
|
299
299
|
</ng-template>
|
|
300
|
-
`, isInline: true, components: [{ type: i3.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }], directives: [{ type: i4.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }] });
|
|
300
|
+
`, isInline: true, components: [{ type: i3.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }], directives: [{ type: i4.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }] });
|
|
301
301
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
302
302
|
type: Component,
|
|
303
303
|
args: [{
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1659092106,
|
|
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
|
};
|
|
@@ -154,13 +154,13 @@ export class TimeSelectorComponent {
|
|
|
154
154
|
return;
|
|
155
155
|
}
|
|
156
156
|
this.timeListWrappers.forEach(listWrapper => {
|
|
157
|
-
this.renderer.removeClass(listWrapper.nativeElement, 'k-
|
|
157
|
+
this.renderer.removeClass(listWrapper.nativeElement, 'k-focus');
|
|
158
158
|
});
|
|
159
159
|
if (value >= 0) {
|
|
160
160
|
const listIndex = this.listIndex(value);
|
|
161
161
|
const focusedWrapper = this.timeListWrappers.toArray()[listIndex];
|
|
162
162
|
if (focusedWrapper) {
|
|
163
|
-
this.renderer.addClass(focusedWrapper.nativeElement, 'k-
|
|
163
|
+
this.renderer.addClass(focusedWrapper.nativeElement, 'k-focus');
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -405,7 +405,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
405
405
|
#now
|
|
406
406
|
*ngIf="showNowButton"
|
|
407
407
|
type="button"
|
|
408
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-
|
|
408
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary k-time-now"
|
|
409
409
|
[attr.title]="localization.get('nowLabel')"
|
|
410
410
|
[attr.aria-label]="localization.get('nowLabel')"
|
|
411
411
|
[kendoEventsOutsideAngular]="{
|
|
@@ -447,7 +447,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
447
447
|
</div>
|
|
448
448
|
</ng-template>
|
|
449
449
|
</div>
|
|
450
|
-
<div class="k-time-footer k-action-buttons k-actions k-
|
|
450
|
+
<div class="k-time-footer k-action-buttons k-actions k-actions-stretched" *ngIf="setButton || cancelButton">
|
|
451
451
|
<button
|
|
452
452
|
#cancel
|
|
453
453
|
*ngIf="cancelButton"
|
|
@@ -522,7 +522,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
522
522
|
#now
|
|
523
523
|
*ngIf="showNowButton"
|
|
524
524
|
type="button"
|
|
525
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-
|
|
525
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary k-time-now"
|
|
526
526
|
[attr.title]="localization.get('nowLabel')"
|
|
527
527
|
[attr.aria-label]="localization.get('nowLabel')"
|
|
528
528
|
[kendoEventsOutsideAngular]="{
|
|
@@ -564,7 +564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
564
564
|
</div>
|
|
565
565
|
</ng-template>
|
|
566
566
|
</div>
|
|
567
|
-
<div class="k-time-footer k-action-buttons k-actions k-
|
|
567
|
+
<div class="k-time-footer k-action-buttons k-actions k-actions-stretched" *ngIf="setButton || cancelButton">
|
|
568
568
|
<button
|
|
569
569
|
#cancel
|
|
570
570
|
*ngIf="cancelButton"
|