@progress/kendo-angular-dateinputs 16.11.0-develop.15 → 16.11.0-develop.17
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/calendar/horizontal-view-list.component.d.ts +1 -3
- package/calendar/services/weeknames.service.d.ts +3 -0
- package/esm2020/calendar/calendar.module.mjs +0 -3
- package/esm2020/calendar/calendars.module.mjs +0 -3
- package/esm2020/calendar/horizontal-view-list.component.mjs +6 -8
- package/esm2020/calendar/multiview-calendar.module.mjs +2 -5
- package/esm2020/calendar/services/weeknames.service.mjs +3 -0
- package/esm2020/dateinputs.module.mjs +0 -3
- package/esm2020/datepicker/datepicker.module.mjs +0 -3
- package/esm2020/daterange/date-range.module.mjs +0 -3
- package/esm2020/datetimepicker/datetimepicker.module.mjs +0 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +33 -44
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +33 -44
- package/package.json +9 -9
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import { ChangeDetectorRef, EventEmitter, OnChanges, TemplateRef, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { BusViewService } from './services/bus-view.service';
|
|
7
7
|
import { ViewService } from './models/view-service.interface';
|
|
8
|
-
import { WeekNamesService } from './services/weeknames.service';
|
|
9
8
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
10
9
|
import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
11
10
|
import { SelectionRange } from './models/selection-range.interface';
|
|
@@ -20,7 +19,6 @@ import * as i0 from "@angular/core";
|
|
|
20
19
|
export declare class HorizontalViewListComponent implements OnChanges, OnDestroy {
|
|
21
20
|
private bus;
|
|
22
21
|
intl: IntlService;
|
|
23
|
-
private weekService;
|
|
24
22
|
private cdr;
|
|
25
23
|
private element;
|
|
26
24
|
private renderer;
|
|
@@ -84,7 +82,7 @@ export declare class HorizontalViewListComponent implements OnChanges, OnDestroy
|
|
|
84
82
|
private showWeekNumbers;
|
|
85
83
|
private intlSubscription;
|
|
86
84
|
private animation;
|
|
87
|
-
constructor(bus: BusViewService, intl: IntlService,
|
|
85
|
+
constructor(bus: BusViewService, intl: IntlService, cdr: ChangeDetectorRef, element: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
88
86
|
ngOnChanges(changes: any): void;
|
|
89
87
|
ngOnDestroy(): void;
|
|
90
88
|
initService(): void;
|
|
@@ -7,6 +7,9 @@ import { WeekDaysFormat } from '../../common/models/week-days-format';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
|
+
* @deprecated
|
|
11
|
+
*
|
|
12
|
+
* This service is deprecated and will be removed in a future major version release.
|
|
10
13
|
*/
|
|
11
14
|
export declare class WeekNamesService {
|
|
12
15
|
private intl;
|
|
@@ -8,7 +8,6 @@ import { CenturyViewService } from "./services/century-view.service";
|
|
|
8
8
|
import { DecadeViewService } from "./services/decade-view.service";
|
|
9
9
|
import { CalendarDOMService } from "./services/dom.service";
|
|
10
10
|
import { MonthViewService } from "./services/month-view.service";
|
|
11
|
-
import { WeekNamesService } from "./services/weeknames.service";
|
|
12
11
|
import { YearViewService } from "./services/year-view.service";
|
|
13
12
|
import { IconsService } from "@progress/kendo-angular-icons";
|
|
14
13
|
import { PopupService } from "@progress/kendo-angular-popup";
|
|
@@ -80,7 +79,6 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
80
79
|
DecadeViewService,
|
|
81
80
|
MonthViewService,
|
|
82
81
|
YearViewService,
|
|
83
|
-
WeekNamesService,
|
|
84
82
|
PopupService,
|
|
85
83
|
NavigationService
|
|
86
84
|
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent] });
|
|
@@ -97,7 +95,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
97
95
|
DecadeViewService,
|
|
98
96
|
MonthViewService,
|
|
99
97
|
YearViewService,
|
|
100
|
-
WeekNamesService,
|
|
101
98
|
PopupService,
|
|
102
99
|
NavigationService
|
|
103
100
|
]
|
|
@@ -12,7 +12,6 @@ import { DecadeViewService } from './services/decade-view.service';
|
|
|
12
12
|
import { CalendarDOMService } from './services/dom.service';
|
|
13
13
|
import { MonthViewService } from './services/month-view.service';
|
|
14
14
|
import { NavigationService } from './services/navigation.service';
|
|
15
|
-
import { WeekNamesService } from './services/weeknames.service';
|
|
16
15
|
import { YearViewService } from './services/year-view.service';
|
|
17
16
|
import * as i0 from "@angular/core";
|
|
18
17
|
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
@@ -76,7 +75,6 @@ CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
76
75
|
DecadeViewService,
|
|
77
76
|
MonthViewService,
|
|
78
77
|
YearViewService,
|
|
79
|
-
WeekNamesService,
|
|
80
78
|
PopupService,
|
|
81
79
|
NavigationService
|
|
82
80
|
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent] });
|
|
@@ -93,7 +91,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
93
91
|
DecadeViewService,
|
|
94
92
|
MonthViewService,
|
|
95
93
|
YearViewService,
|
|
96
|
-
WeekNamesService,
|
|
97
94
|
PopupService,
|
|
98
95
|
NavigationService
|
|
99
96
|
]
|
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
import { Component, ChangeDetectionStrategy, ChangeDetectorRef, EventEmitter, HostBinding, Input, Output, TemplateRef, ElementRef, Renderer2, HostListener } from '@angular/core';
|
|
7
7
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { BusViewService } from './services/bus-view.service';
|
|
9
|
-
import { WeekNamesService } from './services/weeknames.service';
|
|
10
9
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
11
10
|
import { Action } from './models/navigation-action.enum';
|
|
12
11
|
import { CalendarViewEnum } from './models/view.enum';
|
|
13
12
|
import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
14
|
-
import { dateInRange, hasChange } from '../util';
|
|
13
|
+
import { dateInRange, hasChange, shiftWeekNames } from '../util';
|
|
15
14
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
16
15
|
import { attributeNames, isPresent } from '../common/utils';
|
|
17
16
|
import { KForOf } from './for.directive';
|
|
@@ -20,16 +19,14 @@ import { NgClass, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
|
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
import * as i1 from "./services/bus-view.service";
|
|
22
21
|
import * as i2 from "@progress/kendo-angular-intl";
|
|
23
|
-
import * as i3 from "./services/weeknames.service";
|
|
24
22
|
const DEFAULT_VIEWS_LENGTH = 2;
|
|
25
23
|
/**
|
|
26
24
|
* @hidden
|
|
27
25
|
*/
|
|
28
26
|
export class HorizontalViewListComponent {
|
|
29
|
-
constructor(bus, intl,
|
|
27
|
+
constructor(bus, intl, cdr, element, renderer) {
|
|
30
28
|
this.bus = bus;
|
|
31
29
|
this.intl = intl;
|
|
32
|
-
this.weekService = weekService;
|
|
33
30
|
this.cdr = cdr;
|
|
34
31
|
this.element = element;
|
|
35
32
|
this.renderer = renderer;
|
|
@@ -232,7 +229,8 @@ export class HorizontalViewListComponent {
|
|
|
232
229
|
return this.isListInRange(this.service.datesList(this.move(action), this.getTake(this.skip)));
|
|
233
230
|
}
|
|
234
231
|
getWeekNames(type) {
|
|
235
|
-
|
|
232
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: type, type: 'days' }), this.intl.firstDay());
|
|
233
|
+
return this.weekNumber ? [''].concat(weekNames) : weekNames;
|
|
236
234
|
}
|
|
237
235
|
intlChange() {
|
|
238
236
|
this.weekNames = this.getWeekNames(this.weekDaysFormat);
|
|
@@ -262,7 +260,7 @@ export class HorizontalViewListComponent {
|
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
}
|
|
265
|
-
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token:
|
|
263
|
+
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
266
264
|
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, isStandalone: true, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", 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", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, 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", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
267
265
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
268
266
|
<table
|
|
@@ -439,7 +437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
439
437
|
standalone: true,
|
|
440
438
|
imports: [NgClass, NgIf, NgFor, ViewComponent, NgTemplateOutlet, KForOf]
|
|
441
439
|
}]
|
|
442
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type:
|
|
440
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { handleMultiViewCalendarFocus: [{
|
|
443
441
|
type: HostListener,
|
|
444
442
|
args: ["focus"]
|
|
445
443
|
}], handleMultiViewCalendarBlur: [{
|
|
@@ -8,7 +8,6 @@ import { CenturyViewService } from './services/century-view.service';
|
|
|
8
8
|
import { DecadeViewService } from './services/decade-view.service';
|
|
9
9
|
import { MonthViewService } from './services/month-view.service';
|
|
10
10
|
import { NavigationService } from './services/navigation.service';
|
|
11
|
-
import { WeekNamesService } from './services/weeknames.service';
|
|
12
11
|
import { YearViewService } from './services/year-view.service';
|
|
13
12
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
14
13
|
import * as i0 from "@angular/core";
|
|
@@ -70,8 +69,7 @@ MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
70
69
|
CenturyViewService,
|
|
71
70
|
DecadeViewService,
|
|
72
71
|
MonthViewService,
|
|
73
|
-
YearViewService
|
|
74
|
-
WeekNamesService
|
|
72
|
+
YearViewService
|
|
75
73
|
], imports: [i1.MultiViewCalendarCustomMessagesComponent, i2.MultiViewCalendarComponent] });
|
|
76
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
77
75
|
type: NgModule,
|
|
@@ -84,8 +82,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
84
82
|
CenturyViewService,
|
|
85
83
|
DecadeViewService,
|
|
86
84
|
MonthViewService,
|
|
87
|
-
YearViewService
|
|
88
|
-
WeekNamesService
|
|
85
|
+
YearViewService
|
|
89
86
|
]
|
|
90
87
|
}]
|
|
91
88
|
}] });
|
|
@@ -9,6 +9,9 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
|
+
* @deprecated
|
|
13
|
+
*
|
|
14
|
+
* This service is deprecated and will be removed in a future major version release.
|
|
12
15
|
*/
|
|
13
16
|
export class WeekNamesService {
|
|
14
17
|
constructor(intl) {
|
|
@@ -12,7 +12,6 @@ import { DecadeViewService } from './calendar/services/decade-view.service';
|
|
|
12
12
|
import { CalendarDOMService } from './calendar/services/dom.service';
|
|
13
13
|
import { MonthViewService } from './calendar/services/month-view.service';
|
|
14
14
|
import { NavigationService } from './calendar/services/navigation.service';
|
|
15
|
-
import { WeekNamesService } from './calendar/services/weeknames.service';
|
|
16
15
|
import { YearViewService } from './calendar/services/year-view.service';
|
|
17
16
|
import { DayPeriodService } from './timepicker/services/dayperiod.service';
|
|
18
17
|
import { TimePickerDOMService } from './timepicker/services/dom.service';
|
|
@@ -95,7 +94,6 @@ DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
95
94
|
DecadeViewService,
|
|
96
95
|
MonthViewService,
|
|
97
96
|
YearViewService,
|
|
98
|
-
WeekNamesService,
|
|
99
97
|
PopupService,
|
|
100
98
|
NavigationService,
|
|
101
99
|
// TimePickerModule providers
|
|
@@ -120,7 +118,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
120
118
|
DecadeViewService,
|
|
121
119
|
MonthViewService,
|
|
122
120
|
YearViewService,
|
|
123
|
-
WeekNamesService,
|
|
124
121
|
PopupService,
|
|
125
122
|
NavigationService,
|
|
126
123
|
// TimePickerModule providers
|
|
@@ -12,7 +12,6 @@ import { DecadeViewService } from '../calendar/services/decade-view.service';
|
|
|
12
12
|
import { CalendarDOMService } from '../calendar/services/dom.service';
|
|
13
13
|
import { MonthViewService } from '../calendar/services/month-view.service';
|
|
14
14
|
import { NavigationService } from '../calendar/services/navigation.service';
|
|
15
|
-
import { WeekNamesService } from '../calendar/services/weeknames.service';
|
|
16
15
|
import { YearViewService } from '../calendar/services/year-view.service';
|
|
17
16
|
import * as i0 from "@angular/core";
|
|
18
17
|
import * as i1 from "./localization/datepicker-custom-messages.component";
|
|
@@ -46,7 +45,6 @@ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
46
45
|
DecadeViewService,
|
|
47
46
|
MonthViewService,
|
|
48
47
|
YearViewService,
|
|
49
|
-
WeekNamesService,
|
|
50
48
|
PopupService,
|
|
51
49
|
NavigationService
|
|
52
50
|
], imports: [i1.DatePickerCustomMessagesComponent, i2.DatePickerComponent] });
|
|
@@ -65,7 +63,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
65
63
|
DecadeViewService,
|
|
66
64
|
MonthViewService,
|
|
67
65
|
YearViewService,
|
|
68
|
-
WeekNamesService,
|
|
69
66
|
PopupService,
|
|
70
67
|
NavigationService
|
|
71
68
|
]
|
|
@@ -9,7 +9,6 @@ import { CenturyViewService } from '../calendar/services/century-view.service';
|
|
|
9
9
|
import { DecadeViewService } from '../calendar/services/decade-view.service';
|
|
10
10
|
import { MonthViewService } from '../calendar/services/month-view.service';
|
|
11
11
|
import { NavigationService } from '../calendar/services/navigation.service';
|
|
12
|
-
import { WeekNamesService } from '../calendar/services/weeknames.service';
|
|
13
12
|
import { YearViewService } from '../calendar/services/year-view.service';
|
|
14
13
|
import { IconsService } from '@progress/kendo-angular-icons';
|
|
15
14
|
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
@@ -74,7 +73,6 @@ DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
74
73
|
DecadeViewService,
|
|
75
74
|
MonthViewService,
|
|
76
75
|
YearViewService,
|
|
77
|
-
WeekNamesService,
|
|
78
76
|
// DateInputModule providers
|
|
79
77
|
IconsService,
|
|
80
78
|
// AdaptiveModule providers
|
|
@@ -93,7 +91,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
93
91
|
DecadeViewService,
|
|
94
92
|
MonthViewService,
|
|
95
93
|
YearViewService,
|
|
96
|
-
WeekNamesService,
|
|
97
94
|
// DateInputModule providers
|
|
98
95
|
IconsService,
|
|
99
96
|
// AdaptiveModule providers
|
|
@@ -12,7 +12,6 @@ import { DecadeViewService } from '../calendar/services/decade-view.service';
|
|
|
12
12
|
import { CalendarDOMService } from '../calendar/services/dom.service';
|
|
13
13
|
import { MonthViewService } from '../calendar/services/month-view.service';
|
|
14
14
|
import { NavigationService } from '../calendar/services/navigation.service';
|
|
15
|
-
import { WeekNamesService } from '../calendar/services/weeknames.service';
|
|
16
15
|
import { YearViewService } from '../calendar/services/year-view.service';
|
|
17
16
|
import { DayPeriodService } from '../timepicker/services/dayperiod.service';
|
|
18
17
|
import { TimePickerDOMService } from '../timepicker/services/dom.service';
|
|
@@ -51,7 +50,6 @@ DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
51
50
|
DecadeViewService,
|
|
52
51
|
MonthViewService,
|
|
53
52
|
YearViewService,
|
|
54
|
-
WeekNamesService,
|
|
55
53
|
PopupService,
|
|
56
54
|
NavigationService,
|
|
57
55
|
// TimePickerModule providers
|
|
@@ -76,7 +74,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
76
74
|
DecadeViewService,
|
|
77
75
|
MonthViewService,
|
|
78
76
|
YearViewService,
|
|
79
|
-
WeekNamesService,
|
|
80
77
|
PopupService,
|
|
81
78
|
NavigationService,
|
|
82
79
|
// TimePickerModule providers
|
|
@@ -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:
|
|
13
|
-
version: '16.11.0-develop.
|
|
12
|
+
publishDate: 1728289336,
|
|
13
|
+
version: '16.11.0-develop.17',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -35,8 +35,8 @@ const packageMetadata = {
|
|
|
35
35
|
name: '@progress/kendo-angular-dateinputs',
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
39
|
-
version: '16.11.0-develop.
|
|
38
|
+
publishDate: 1728289336,
|
|
39
|
+
version: '16.11.0-develop.17',
|
|
40
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -2028,37 +2028,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2028
2028
|
type: Output
|
|
2029
2029
|
}] } });
|
|
2030
2030
|
|
|
2031
|
-
/**
|
|
2032
|
-
* @hidden
|
|
2033
|
-
*/
|
|
2034
|
-
class WeekNamesService {
|
|
2035
|
-
constructor(intl) {
|
|
2036
|
-
this.intl = intl;
|
|
2037
|
-
}
|
|
2038
|
-
getWeekNames(includeWeekNumber = false, nameType) {
|
|
2039
|
-
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
2040
|
-
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2044
|
-
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
2045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
2046
|
-
type: Injectable,
|
|
2047
|
-
args: [{
|
|
2048
|
-
providedIn: 'root'
|
|
2049
|
-
}]
|
|
2050
|
-
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
2051
|
-
|
|
2052
2031
|
/* eslint-disable @angular-eslint/component-selector */
|
|
2053
2032
|
const DEFAULT_VIEWS_LENGTH = 2;
|
|
2054
2033
|
/**
|
|
2055
2034
|
* @hidden
|
|
2056
2035
|
*/
|
|
2057
2036
|
class HorizontalViewListComponent {
|
|
2058
|
-
constructor(bus, intl,
|
|
2037
|
+
constructor(bus, intl, cdr, element, renderer) {
|
|
2059
2038
|
this.bus = bus;
|
|
2060
2039
|
this.intl = intl;
|
|
2061
|
-
this.weekService = weekService;
|
|
2062
2040
|
this.cdr = cdr;
|
|
2063
2041
|
this.element = element;
|
|
2064
2042
|
this.renderer = renderer;
|
|
@@ -2261,7 +2239,8 @@ class HorizontalViewListComponent {
|
|
|
2261
2239
|
return this.isListInRange(this.service.datesList(this.move(action), this.getTake(this.skip)));
|
|
2262
2240
|
}
|
|
2263
2241
|
getWeekNames(type) {
|
|
2264
|
-
|
|
2242
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: type, type: 'days' }), this.intl.firstDay());
|
|
2243
|
+
return this.weekNumber ? [''].concat(weekNames) : weekNames;
|
|
2265
2244
|
}
|
|
2266
2245
|
intlChange() {
|
|
2267
2246
|
this.weekNames = this.getWeekNames(this.weekDaysFormat);
|
|
@@ -2291,7 +2270,7 @@ class HorizontalViewListComponent {
|
|
|
2291
2270
|
}
|
|
2292
2271
|
}
|
|
2293
2272
|
}
|
|
2294
|
-
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token:
|
|
2273
|
+
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2295
2274
|
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, isStandalone: true, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", 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", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, 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", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2296
2275
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2297
2276
|
<table
|
|
@@ -2468,7 +2447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2468
2447
|
standalone: true,
|
|
2469
2448
|
imports: [NgClass, NgIf, NgFor, ViewComponent, NgTemplateOutlet, KForOf]
|
|
2470
2449
|
}]
|
|
2471
|
-
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type:
|
|
2450
|
+
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { handleMultiViewCalendarFocus: [{
|
|
2472
2451
|
type: HostListener,
|
|
2473
2452
|
args: ["focus"]
|
|
2474
2453
|
}], handleMultiViewCalendarBlur: [{
|
|
@@ -16743,6 +16722,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16743
16722
|
args: ['actionSheet']
|
|
16744
16723
|
}] } });
|
|
16745
16724
|
|
|
16725
|
+
/**
|
|
16726
|
+
* @hidden
|
|
16727
|
+
* @deprecated
|
|
16728
|
+
*
|
|
16729
|
+
* This service is deprecated and will be removed in a future major version release.
|
|
16730
|
+
*/
|
|
16731
|
+
class WeekNamesService {
|
|
16732
|
+
constructor(intl) {
|
|
16733
|
+
this.intl = intl;
|
|
16734
|
+
}
|
|
16735
|
+
getWeekNames(includeWeekNumber = false, nameType) {
|
|
16736
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
16737
|
+
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
16738
|
+
}
|
|
16739
|
+
}
|
|
16740
|
+
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16741
|
+
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
16742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
16743
|
+
type: Injectable,
|
|
16744
|
+
args: [{
|
|
16745
|
+
providedIn: 'root'
|
|
16746
|
+
}]
|
|
16747
|
+
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
16748
|
+
|
|
16746
16749
|
/**
|
|
16747
16750
|
* A directive which renders the content of the DateRange Popup. To define the cell template, nest an
|
|
16748
16751
|
* `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
|
|
@@ -18669,7 +18672,6 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
18669
18672
|
DecadeViewService,
|
|
18670
18673
|
MonthViewService,
|
|
18671
18674
|
YearViewService,
|
|
18672
|
-
WeekNamesService,
|
|
18673
18675
|
PopupService,
|
|
18674
18676
|
NavigationService
|
|
18675
18677
|
], imports: [CalendarCustomMessagesComponent, CalendarComponent] });
|
|
@@ -18686,7 +18688,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18686
18688
|
DecadeViewService,
|
|
18687
18689
|
MonthViewService,
|
|
18688
18690
|
YearViewService,
|
|
18689
|
-
WeekNamesService,
|
|
18690
18691
|
PopupService,
|
|
18691
18692
|
NavigationService
|
|
18692
18693
|
]
|
|
@@ -18740,7 +18741,6 @@ CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
18740
18741
|
DecadeViewService,
|
|
18741
18742
|
MonthViewService,
|
|
18742
18743
|
YearViewService,
|
|
18743
|
-
WeekNamesService,
|
|
18744
18744
|
PopupService,
|
|
18745
18745
|
NavigationService
|
|
18746
18746
|
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
@@ -18757,7 +18757,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18757
18757
|
DecadeViewService,
|
|
18758
18758
|
MonthViewService,
|
|
18759
18759
|
YearViewService,
|
|
18760
|
-
WeekNamesService,
|
|
18761
18760
|
PopupService,
|
|
18762
18761
|
NavigationService
|
|
18763
18762
|
]
|
|
@@ -18806,7 +18805,6 @@ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
18806
18805
|
DecadeViewService,
|
|
18807
18806
|
MonthViewService,
|
|
18808
18807
|
YearViewService,
|
|
18809
|
-
WeekNamesService,
|
|
18810
18808
|
PopupService,
|
|
18811
18809
|
NavigationService
|
|
18812
18810
|
], imports: [DatePickerCustomMessagesComponent, DatePickerComponent] });
|
|
@@ -18825,7 +18823,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18825
18823
|
DecadeViewService,
|
|
18826
18824
|
MonthViewService,
|
|
18827
18825
|
YearViewService,
|
|
18828
|
-
WeekNamesService,
|
|
18829
18826
|
PopupService,
|
|
18830
18827
|
NavigationService
|
|
18831
18828
|
]
|
|
@@ -18877,7 +18874,6 @@ DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
18877
18874
|
DecadeViewService,
|
|
18878
18875
|
MonthViewService,
|
|
18879
18876
|
YearViewService,
|
|
18880
|
-
WeekNamesService,
|
|
18881
18877
|
PopupService,
|
|
18882
18878
|
NavigationService,
|
|
18883
18879
|
// TimePickerModule providers
|
|
@@ -18902,7 +18898,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18902
18898
|
DecadeViewService,
|
|
18903
18899
|
MonthViewService,
|
|
18904
18900
|
YearViewService,
|
|
18905
|
-
WeekNamesService,
|
|
18906
18901
|
PopupService,
|
|
18907
18902
|
NavigationService,
|
|
18908
18903
|
// TimePickerModule providers
|
|
@@ -18973,7 +18968,6 @@ DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
18973
18968
|
DecadeViewService,
|
|
18974
18969
|
MonthViewService,
|
|
18975
18970
|
YearViewService,
|
|
18976
|
-
WeekNamesService,
|
|
18977
18971
|
PopupService,
|
|
18978
18972
|
NavigationService,
|
|
18979
18973
|
// TimePickerModule providers
|
|
@@ -18998,7 +18992,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18998
18992
|
DecadeViewService,
|
|
18999
18993
|
MonthViewService,
|
|
19000
18994
|
YearViewService,
|
|
19001
|
-
WeekNamesService,
|
|
19002
18995
|
PopupService,
|
|
19003
18996
|
NavigationService,
|
|
19004
18997
|
// TimePickerModule providers
|
|
@@ -19058,8 +19051,7 @@ MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
19058
19051
|
CenturyViewService,
|
|
19059
19052
|
DecadeViewService,
|
|
19060
19053
|
MonthViewService,
|
|
19061
|
-
YearViewService
|
|
19062
|
-
WeekNamesService
|
|
19054
|
+
YearViewService
|
|
19063
19055
|
], imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
19064
19056
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
19065
19057
|
type: NgModule,
|
|
@@ -19072,8 +19064,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19072
19064
|
CenturyViewService,
|
|
19073
19065
|
DecadeViewService,
|
|
19074
19066
|
MonthViewService,
|
|
19075
|
-
YearViewService
|
|
19076
|
-
WeekNamesService
|
|
19067
|
+
YearViewService
|
|
19077
19068
|
]
|
|
19078
19069
|
}]
|
|
19079
19070
|
}] });
|
|
@@ -19129,7 +19120,6 @@ DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
19129
19120
|
DecadeViewService,
|
|
19130
19121
|
MonthViewService,
|
|
19131
19122
|
YearViewService,
|
|
19132
|
-
WeekNamesService,
|
|
19133
19123
|
// DateInputModule providers
|
|
19134
19124
|
IconsService,
|
|
19135
19125
|
// AdaptiveModule providers
|
|
@@ -19148,7 +19138,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19148
19138
|
DecadeViewService,
|
|
19149
19139
|
MonthViewService,
|
|
19150
19140
|
YearViewService,
|
|
19151
|
-
WeekNamesService,
|
|
19152
19141
|
// DateInputModule providers
|
|
19153
19142
|
IconsService,
|
|
19154
19143
|
// AdaptiveModule providers
|
|
@@ -35,8 +35,8 @@ const packageMetadata = {
|
|
|
35
35
|
name: '@progress/kendo-angular-dateinputs',
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
39
|
-
version: '16.11.0-develop.
|
|
38
|
+
publishDate: 1728289336,
|
|
39
|
+
version: '16.11.0-develop.17',
|
|
40
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -1477,27 +1477,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1477
1477
|
type: Injectable
|
|
1478
1478
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1479
1479
|
|
|
1480
|
-
/**
|
|
1481
|
-
* @hidden
|
|
1482
|
-
*/
|
|
1483
|
-
class WeekNamesService {
|
|
1484
|
-
constructor(intl) {
|
|
1485
|
-
this.intl = intl;
|
|
1486
|
-
}
|
|
1487
|
-
getWeekNames(includeWeekNumber = false, nameType) {
|
|
1488
|
-
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
1489
|
-
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1493
|
-
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
1494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
1495
|
-
type: Injectable,
|
|
1496
|
-
args: [{
|
|
1497
|
-
providedIn: 'root'
|
|
1498
|
-
}]
|
|
1499
|
-
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1500
|
-
|
|
1501
1480
|
/**
|
|
1502
1481
|
* @hidden
|
|
1503
1482
|
*/
|
|
@@ -2055,10 +2034,9 @@ const DEFAULT_VIEWS_LENGTH = 2;
|
|
|
2055
2034
|
* @hidden
|
|
2056
2035
|
*/
|
|
2057
2036
|
class HorizontalViewListComponent {
|
|
2058
|
-
constructor(bus, intl,
|
|
2037
|
+
constructor(bus, intl, cdr, element, renderer) {
|
|
2059
2038
|
this.bus = bus;
|
|
2060
2039
|
this.intl = intl;
|
|
2061
|
-
this.weekService = weekService;
|
|
2062
2040
|
this.cdr = cdr;
|
|
2063
2041
|
this.element = element;
|
|
2064
2042
|
this.renderer = renderer;
|
|
@@ -2261,7 +2239,8 @@ class HorizontalViewListComponent {
|
|
|
2261
2239
|
return this.isListInRange(this.service.datesList(this.move(action), this.getTake(this.skip)));
|
|
2262
2240
|
}
|
|
2263
2241
|
getWeekNames(type) {
|
|
2264
|
-
|
|
2242
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: type, type: 'days' }), this.intl.firstDay());
|
|
2243
|
+
return this.weekNumber ? [''].concat(weekNames) : weekNames;
|
|
2265
2244
|
}
|
|
2266
2245
|
intlChange() {
|
|
2267
2246
|
this.weekNames = this.getWeekNames(this.weekDaysFormat);
|
|
@@ -2291,7 +2270,7 @@ class HorizontalViewListComponent {
|
|
|
2291
2270
|
}
|
|
2292
2271
|
}
|
|
2293
2272
|
}
|
|
2294
|
-
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token:
|
|
2273
|
+
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2295
2274
|
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, isStandalone: true, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", 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", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, 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", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2296
2275
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2297
2276
|
<table
|
|
@@ -2468,7 +2447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2468
2447
|
standalone: true,
|
|
2469
2448
|
imports: [NgClass, NgIf, NgFor, ViewComponent, NgTemplateOutlet, KForOf]
|
|
2470
2449
|
}]
|
|
2471
|
-
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type:
|
|
2450
|
+
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { handleMultiViewCalendarFocus: [{
|
|
2472
2451
|
type: HostListener,
|
|
2473
2452
|
args: ["focus"]
|
|
2474
2453
|
}], handleMultiViewCalendarBlur: [{
|
|
@@ -16697,6 +16676,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16697
16676
|
args: ['actionSheet']
|
|
16698
16677
|
}] } });
|
|
16699
16678
|
|
|
16679
|
+
/**
|
|
16680
|
+
* @hidden
|
|
16681
|
+
* @deprecated
|
|
16682
|
+
*
|
|
16683
|
+
* This service is deprecated and will be removed in a future major version release.
|
|
16684
|
+
*/
|
|
16685
|
+
class WeekNamesService {
|
|
16686
|
+
constructor(intl) {
|
|
16687
|
+
this.intl = intl;
|
|
16688
|
+
}
|
|
16689
|
+
getWeekNames(includeWeekNumber = false, nameType) {
|
|
16690
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
16691
|
+
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
16692
|
+
}
|
|
16693
|
+
}
|
|
16694
|
+
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16695
|
+
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
16696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
16697
|
+
type: Injectable,
|
|
16698
|
+
args: [{
|
|
16699
|
+
providedIn: 'root'
|
|
16700
|
+
}]
|
|
16701
|
+
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
16702
|
+
|
|
16700
16703
|
/**
|
|
16701
16704
|
* A directive which renders the content of the DateRange Popup. To define the cell template, nest an
|
|
16702
16705
|
* `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
|
|
@@ -18613,7 +18616,6 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
18613
18616
|
DecadeViewService,
|
|
18614
18617
|
MonthViewService,
|
|
18615
18618
|
YearViewService,
|
|
18616
|
-
WeekNamesService,
|
|
18617
18619
|
PopupService,
|
|
18618
18620
|
NavigationService
|
|
18619
18621
|
], imports: [CalendarCustomMessagesComponent, CalendarComponent] });
|
|
@@ -18630,7 +18632,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18630
18632
|
DecadeViewService,
|
|
18631
18633
|
MonthViewService,
|
|
18632
18634
|
YearViewService,
|
|
18633
|
-
WeekNamesService,
|
|
18634
18635
|
PopupService,
|
|
18635
18636
|
NavigationService
|
|
18636
18637
|
]
|
|
@@ -18684,7 +18685,6 @@ CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
18684
18685
|
DecadeViewService,
|
|
18685
18686
|
MonthViewService,
|
|
18686
18687
|
YearViewService,
|
|
18687
|
-
WeekNamesService,
|
|
18688
18688
|
PopupService,
|
|
18689
18689
|
NavigationService
|
|
18690
18690
|
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
@@ -18701,7 +18701,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18701
18701
|
DecadeViewService,
|
|
18702
18702
|
MonthViewService,
|
|
18703
18703
|
YearViewService,
|
|
18704
|
-
WeekNamesService,
|
|
18705
18704
|
PopupService,
|
|
18706
18705
|
NavigationService
|
|
18707
18706
|
]
|
|
@@ -18750,7 +18749,6 @@ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
18750
18749
|
DecadeViewService,
|
|
18751
18750
|
MonthViewService,
|
|
18752
18751
|
YearViewService,
|
|
18753
|
-
WeekNamesService,
|
|
18754
18752
|
PopupService,
|
|
18755
18753
|
NavigationService
|
|
18756
18754
|
], imports: [DatePickerCustomMessagesComponent, DatePickerComponent] });
|
|
@@ -18769,7 +18767,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18769
18767
|
DecadeViewService,
|
|
18770
18768
|
MonthViewService,
|
|
18771
18769
|
YearViewService,
|
|
18772
|
-
WeekNamesService,
|
|
18773
18770
|
PopupService,
|
|
18774
18771
|
NavigationService
|
|
18775
18772
|
]
|
|
@@ -18821,7 +18818,6 @@ DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
18821
18818
|
DecadeViewService,
|
|
18822
18819
|
MonthViewService,
|
|
18823
18820
|
YearViewService,
|
|
18824
|
-
WeekNamesService,
|
|
18825
18821
|
PopupService,
|
|
18826
18822
|
NavigationService,
|
|
18827
18823
|
// TimePickerModule providers
|
|
@@ -18846,7 +18842,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18846
18842
|
DecadeViewService,
|
|
18847
18843
|
MonthViewService,
|
|
18848
18844
|
YearViewService,
|
|
18849
|
-
WeekNamesService,
|
|
18850
18845
|
PopupService,
|
|
18851
18846
|
NavigationService,
|
|
18852
18847
|
// TimePickerModule providers
|
|
@@ -18917,7 +18912,6 @@ DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
18917
18912
|
DecadeViewService,
|
|
18918
18913
|
MonthViewService,
|
|
18919
18914
|
YearViewService,
|
|
18920
|
-
WeekNamesService,
|
|
18921
18915
|
PopupService,
|
|
18922
18916
|
NavigationService,
|
|
18923
18917
|
// TimePickerModule providers
|
|
@@ -18942,7 +18936,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18942
18936
|
DecadeViewService,
|
|
18943
18937
|
MonthViewService,
|
|
18944
18938
|
YearViewService,
|
|
18945
|
-
WeekNamesService,
|
|
18946
18939
|
PopupService,
|
|
18947
18940
|
NavigationService,
|
|
18948
18941
|
// TimePickerModule providers
|
|
@@ -19002,8 +18995,7 @@ MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
19002
18995
|
CenturyViewService,
|
|
19003
18996
|
DecadeViewService,
|
|
19004
18997
|
MonthViewService,
|
|
19005
|
-
YearViewService
|
|
19006
|
-
WeekNamesService
|
|
18998
|
+
YearViewService
|
|
19007
18999
|
], imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
19008
19000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
19009
19001
|
type: NgModule,
|
|
@@ -19016,8 +19008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19016
19008
|
CenturyViewService,
|
|
19017
19009
|
DecadeViewService,
|
|
19018
19010
|
MonthViewService,
|
|
19019
|
-
YearViewService
|
|
19020
|
-
WeekNamesService
|
|
19011
|
+
YearViewService
|
|
19021
19012
|
]
|
|
19022
19013
|
}]
|
|
19023
19014
|
}] });
|
|
@@ -19073,7 +19064,6 @@ DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
19073
19064
|
DecadeViewService,
|
|
19074
19065
|
MonthViewService,
|
|
19075
19066
|
YearViewService,
|
|
19076
|
-
WeekNamesService,
|
|
19077
19067
|
// DateInputModule providers
|
|
19078
19068
|
IconsService,
|
|
19079
19069
|
// AdaptiveModule providers
|
|
@@ -19092,7 +19082,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19092
19082
|
DecadeViewService,
|
|
19093
19083
|
MonthViewService,
|
|
19094
19084
|
YearViewService,
|
|
19095
|
-
WeekNamesService,
|
|
19096
19085
|
// DateInputModule providers
|
|
19097
19086
|
IconsService,
|
|
19098
19087
|
// AdaptiveModule providers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "16.11.0-develop.
|
|
3
|
+
"version": "16.11.0-develop.17",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"@angular/forms": "15 - 18",
|
|
35
35
|
"@angular/platform-browser": "15 - 18",
|
|
36
36
|
"@progress/kendo-licensing": "^1.0.2",
|
|
37
|
-
"@progress/kendo-angular-buttons": "16.11.0-develop.
|
|
38
|
-
"@progress/kendo-angular-common": "16.11.0-develop.
|
|
39
|
-
"@progress/kendo-angular-intl": "16.11.0-develop.
|
|
40
|
-
"@progress/kendo-angular-l10n": "16.11.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "16.11.0-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "16.11.0-develop.
|
|
43
|
-
"@progress/kendo-angular-navigation": "16.11.0-develop.
|
|
37
|
+
"@progress/kendo-angular-buttons": "16.11.0-develop.17",
|
|
38
|
+
"@progress/kendo-angular-common": "16.11.0-develop.17",
|
|
39
|
+
"@progress/kendo-angular-intl": "16.11.0-develop.17",
|
|
40
|
+
"@progress/kendo-angular-l10n": "16.11.0-develop.17",
|
|
41
|
+
"@progress/kendo-angular-icons": "16.11.0-develop.17",
|
|
42
|
+
"@progress/kendo-angular-popup": "16.11.0-develop.17",
|
|
43
|
+
"@progress/kendo-angular-navigation": "16.11.0-develop.17",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "16.11.0-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "16.11.0-develop.17",
|
|
49
49
|
"@progress/kendo-common": "^0.2.0",
|
|
50
50
|
"@progress/kendo-date-math": "^1.1.0",
|
|
51
51
|
"@progress/kendo-dateinputs-common": "^0.3.5"
|