@progress/kendo-angular-dateinputs 25.0.0-develop.7 → 25.0.0
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/NOTICE.txt +33 -34
- package/codemods/libs/common/src/codemods/utils.js +15 -0
- package/codemods/libs/dateinputs/codemods/v25/dateinputs-rendering-changes.js +38 -0
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +636 -383
- package/index.d.ts +67 -13
- package/package-metadata.mjs +2 -2
- package/package.json +18 -11
|
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, lastDecadeOfCentury, firstDecadeOfCentury, addCenturies, addDecades, lastYearOfDecade, firstYearOfDecade, createDate, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, firstDayOfMonth, addMonths, addWeeks, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
11
|
import * as i19 from '@progress/kendo-angular-common';
|
|
12
|
-
import { normalizeKeys, Keys, isDocumentAvailable, EventsOutsideAngularDirective, guid, hasObservers, isObject, KendoInput, ResizeSensorComponent, KENDO_WEBMCP_HOST, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, parseCSSClassNames, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
12
|
+
import { normalizeKeys, Keys, isDocumentAvailable, EventsOutsideAngularDirective, guid, hasObservers, isObject, provideComponentName, KendoInput, ResizeSensorComponent, KENDO_WEBMCP_HOST, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, parseCSSClassNames, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
13
13
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCode: 'KENDOUIANGULAR',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '25.0.0
|
|
39
|
+
publishDate: 1786525914,
|
|
40
|
+
version: '25.0.0',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -739,10 +739,10 @@ class CenturyViewService {
|
|
|
739
739
|
}
|
|
740
740
|
return cellDate;
|
|
741
741
|
}
|
|
742
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
743
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
742
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
743
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CenturyViewService, providedIn: 'root' });
|
|
744
744
|
}
|
|
745
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CenturyViewService, decorators: [{
|
|
746
746
|
type: Injectable,
|
|
747
747
|
args: [{
|
|
748
748
|
providedIn: 'root'
|
|
@@ -946,10 +946,10 @@ class DecadeViewService {
|
|
|
946
946
|
}
|
|
947
947
|
return cellDate;
|
|
948
948
|
}
|
|
949
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
950
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
949
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
950
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DecadeViewService, providedIn: 'root' });
|
|
951
951
|
}
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DecadeViewService, decorators: [{
|
|
953
953
|
type: Injectable,
|
|
954
954
|
args: [{
|
|
955
955
|
providedIn: 'root'
|
|
@@ -1157,10 +1157,10 @@ class MonthViewService {
|
|
|
1157
1157
|
wideMonthNames() {
|
|
1158
1158
|
return this._intlService.dateFormatNames({ nameType: 'wide', type: 'months' });
|
|
1159
1159
|
}
|
|
1160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1161
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1161
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthViewService, providedIn: 'root' });
|
|
1162
1162
|
}
|
|
1163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthViewService, decorators: [{
|
|
1164
1164
|
type: Injectable,
|
|
1165
1165
|
args: [{
|
|
1166
1166
|
providedIn: 'root'
|
|
@@ -1349,10 +1349,10 @@ class YearViewService {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
return cellDate;
|
|
1351
1351
|
}
|
|
1352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1353
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1353
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: YearViewService, providedIn: 'root' });
|
|
1354
1354
|
}
|
|
1355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: YearViewService, decorators: [{
|
|
1356
1356
|
type: Injectable,
|
|
1357
1357
|
args: [{
|
|
1358
1358
|
providedIn: 'root'
|
|
@@ -1438,10 +1438,10 @@ class BusViewService {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
this.viewChanged.emit({ view: candidate });
|
|
1440
1440
|
}
|
|
1441
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1442
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1441
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BusViewService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1442
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BusViewService });
|
|
1443
1443
|
}
|
|
1444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BusViewService, decorators: [{
|
|
1445
1445
|
type: Injectable
|
|
1446
1446
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
1447
1447
|
|
|
@@ -1531,10 +1531,10 @@ class KForOf {
|
|
|
1531
1531
|
view.context.$implicit = tuples[i] || null;
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1535
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1534
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1535
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: KForOf, isStandalone: true, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
1536
1536
|
}
|
|
1537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: KForOf, decorators: [{
|
|
1538
1538
|
type: Directive,
|
|
1539
1539
|
args: [{
|
|
1540
1540
|
selector: '[kFor][kForOf]',
|
|
@@ -1605,10 +1605,10 @@ class DisabledDatesService {
|
|
|
1605
1605
|
notifyServiceChange() {
|
|
1606
1606
|
this.changes.next();
|
|
1607
1607
|
}
|
|
1608
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1609
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1608
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1609
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledDatesService });
|
|
1610
1610
|
}
|
|
1611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledDatesService, decorators: [{
|
|
1612
1612
|
type: Injectable
|
|
1613
1613
|
}] });
|
|
1614
1614
|
|
|
@@ -1871,8 +1871,8 @@ class ViewComponent {
|
|
|
1871
1871
|
const [rowIndex, cellIndex] = index.split(':');
|
|
1872
1872
|
return this.data[rowIndex][cellIndex];
|
|
1873
1873
|
}
|
|
1874
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1875
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ViewComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1875
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ViewComponent, isStandalone: true, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1876
1876
|
@if (!isHorizontal()) {
|
|
1877
1877
|
<tr class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
1878
1878
|
}
|
|
@@ -1881,7 +1881,6 @@ class ViewComponent {
|
|
|
1881
1881
|
@if (firstDate(row)) {
|
|
1882
1882
|
<td
|
|
1883
1883
|
class="k-alt k-calendar-td"
|
|
1884
|
-
role="gridcell"
|
|
1885
1884
|
(click)="handleWeekNumberClick(row)"
|
|
1886
1885
|
>
|
|
1887
1886
|
@if (!weekNumberTemplateRef) {
|
|
@@ -1907,8 +1906,8 @@ class ViewComponent {
|
|
|
1907
1906
|
role="gridcell"
|
|
1908
1907
|
[attr.id]="cell.id"
|
|
1909
1908
|
[attr.data-cell-index]="tableCellIndex(rowIndex, cellIndex)"
|
|
1910
|
-
[attr.aria-selected]="cell.isSelected || cell.isRangeStart || cell.isRangeMid || cell.isRangeEnd"
|
|
1911
|
-
[attr.aria-disabled]="cell.isDisabled"
|
|
1909
|
+
[attr.aria-selected]="(cell.isSelected || cell.isRangeStart || cell.isRangeMid || cell.isRangeEnd) || null"
|
|
1910
|
+
[attr.aria-disabled]="cell.isDisabled || null"
|
|
1912
1911
|
[attr.aria-label]="getMonthLabel(cell.value)"
|
|
1913
1912
|
[ngClass]="getStyles(cell)"
|
|
1914
1913
|
[title]="cell.title"
|
|
@@ -1930,7 +1929,7 @@ class ViewComponent {
|
|
|
1930
1929
|
</tr>
|
|
1931
1930
|
`, isInline: true, dependencies: [{ kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1932
1931
|
}
|
|
1933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ViewComponent, decorators: [{
|
|
1934
1933
|
type: Component,
|
|
1935
1934
|
args: [{
|
|
1936
1935
|
selector: '[kendoCalendarView]',
|
|
@@ -1943,7 +1942,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1943
1942
|
@if (firstDate(row)) {
|
|
1944
1943
|
<td
|
|
1945
1944
|
class="k-alt k-calendar-td"
|
|
1946
|
-
role="gridcell"
|
|
1947
1945
|
(click)="handleWeekNumberClick(row)"
|
|
1948
1946
|
>
|
|
1949
1947
|
@if (!weekNumberTemplateRef) {
|
|
@@ -1969,8 +1967,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1969
1967
|
role="gridcell"
|
|
1970
1968
|
[attr.id]="cell.id"
|
|
1971
1969
|
[attr.data-cell-index]="tableCellIndex(rowIndex, cellIndex)"
|
|
1972
|
-
[attr.aria-selected]="cell.isSelected || cell.isRangeStart || cell.isRangeMid || cell.isRangeEnd"
|
|
1973
|
-
[attr.aria-disabled]="cell.isDisabled"
|
|
1970
|
+
[attr.aria-selected]="(cell.isSelected || cell.isRangeStart || cell.isRangeMid || cell.isRangeEnd) || null"
|
|
1971
|
+
[attr.aria-disabled]="cell.isDisabled || null"
|
|
1974
1972
|
[attr.aria-label]="getMonthLabel(cell.value)"
|
|
1975
1973
|
[ngClass]="getStyles(cell)"
|
|
1976
1974
|
[title]="cell.title"
|
|
@@ -2052,6 +2050,7 @@ class HorizontalViewListComponent {
|
|
|
2052
2050
|
cdr;
|
|
2053
2051
|
element;
|
|
2054
2052
|
renderer;
|
|
2053
|
+
localization;
|
|
2055
2054
|
handleMultiViewCalendarFocus() {
|
|
2056
2055
|
this.focusCalendar.emit();
|
|
2057
2056
|
}
|
|
@@ -2117,16 +2116,19 @@ class HorizontalViewListComponent {
|
|
|
2117
2116
|
return this.activeView === CalendarViewEnum.century;
|
|
2118
2117
|
}
|
|
2119
2118
|
get role() {
|
|
2120
|
-
return
|
|
2121
|
-
}
|
|
2122
|
-
get tabindex() {
|
|
2123
|
-
return this.views >= 2 ? '0' : null;
|
|
2119
|
+
return 'grid';
|
|
2124
2120
|
}
|
|
2125
|
-
get
|
|
2126
|
-
return this.
|
|
2121
|
+
get hostActiveDescendant() {
|
|
2122
|
+
return this.activeDescendant || null;
|
|
2127
2123
|
}
|
|
2128
2124
|
get getTabIndex() {
|
|
2129
|
-
|
|
2125
|
+
if (this.views >= 2) {
|
|
2126
|
+
return null;
|
|
2127
|
+
}
|
|
2128
|
+
return this.disabled ? null : String(this.tabIndex) || '0';
|
|
2129
|
+
}
|
|
2130
|
+
get weekNumberLabel() {
|
|
2131
|
+
return this.localization.get('weekNumberLabel');
|
|
2130
2132
|
}
|
|
2131
2133
|
service;
|
|
2132
2134
|
weekNames = [];
|
|
@@ -2140,12 +2142,13 @@ class HorizontalViewListComponent {
|
|
|
2140
2142
|
showWeekNumbers;
|
|
2141
2143
|
intlSubscription;
|
|
2142
2144
|
animation;
|
|
2143
|
-
constructor(bus, intl, cdr, element, renderer) {
|
|
2145
|
+
constructor(bus, intl, cdr, element, renderer, localization) {
|
|
2144
2146
|
this.bus = bus;
|
|
2145
2147
|
this.intl = intl;
|
|
2146
2148
|
this.cdr = cdr;
|
|
2147
2149
|
this.element = element;
|
|
2148
2150
|
this.renderer = renderer;
|
|
2151
|
+
this.localization = localization;
|
|
2149
2152
|
this.intlSubscription = this.intl.changes.subscribe(this.intlChange.bind(this));
|
|
2150
2153
|
}
|
|
2151
2154
|
ngOnChanges(changes) {
|
|
@@ -2305,15 +2308,13 @@ class HorizontalViewListComponent {
|
|
|
2305
2308
|
this.renderer.setAttribute(this.element.nativeElement, attributeNames.ariaActiveDescendant, this.activeDescendant);
|
|
2306
2309
|
}
|
|
2307
2310
|
}
|
|
2308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2309
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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.aria-activedescendant": "this.hostActiveDescendant" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2310
2313
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2311
2314
|
<table
|
|
2312
|
-
|
|
2315
|
+
role="none"
|
|
2313
2316
|
class="k-calendar-table"
|
|
2314
2317
|
[ngClass]="class"
|
|
2315
|
-
[attr.aria-labelledby]="id"
|
|
2316
|
-
[attr.aria-activedescendant]="getActiveDescendant"
|
|
2317
2318
|
[attr.tabindex]="getTabIndex"
|
|
2318
2319
|
(focus)="handleClassicCalendarFocus()"
|
|
2319
2320
|
(blur)="handleClassicCalendarBlur($event)"
|
|
@@ -2327,10 +2328,11 @@ class HorizontalViewListComponent {
|
|
|
2327
2328
|
@for (name of weekNames; track $index; let i = $index) {
|
|
2328
2329
|
<th
|
|
2329
2330
|
class="k-calendar-th"
|
|
2331
|
+
[class.k-alt]="weekNumber && i === 0"
|
|
2330
2332
|
scope="col"
|
|
2331
|
-
[attr.aria-label]="wideWeekNames[i]"
|
|
2333
|
+
[attr.aria-label]="weekNumber && i === 0 ? weekNumberLabel : wideWeekNames[i]"
|
|
2332
2334
|
role="columnheader"
|
|
2333
|
-
>{{name}}</th>
|
|
2335
|
+
>@if (weekNumber && i === 0) {<span class="k-sr-only">{{weekNumberLabel}}</span>}{{name}}</th>
|
|
2334
2336
|
}
|
|
2335
2337
|
</tr>
|
|
2336
2338
|
</thead>
|
|
@@ -2399,7 +2401,7 @@ class HorizontalViewListComponent {
|
|
|
2399
2401
|
}
|
|
2400
2402
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2401
2403
|
}
|
|
2402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
2403
2405
|
type: Component,
|
|
2404
2406
|
args: [{
|
|
2405
2407
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2407,11 +2409,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2407
2409
|
template: `
|
|
2408
2410
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2409
2411
|
<table
|
|
2410
|
-
|
|
2412
|
+
role="none"
|
|
2411
2413
|
class="k-calendar-table"
|
|
2412
2414
|
[ngClass]="class"
|
|
2413
|
-
[attr.aria-labelledby]="id"
|
|
2414
|
-
[attr.aria-activedescendant]="getActiveDescendant"
|
|
2415
2415
|
[attr.tabindex]="getTabIndex"
|
|
2416
2416
|
(focus)="handleClassicCalendarFocus()"
|
|
2417
2417
|
(blur)="handleClassicCalendarBlur($event)"
|
|
@@ -2425,10 +2425,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2425
2425
|
@for (name of weekNames; track $index; let i = $index) {
|
|
2426
2426
|
<th
|
|
2427
2427
|
class="k-calendar-th"
|
|
2428
|
+
[class.k-alt]="weekNumber && i === 0"
|
|
2428
2429
|
scope="col"
|
|
2429
|
-
[attr.aria-label]="wideWeekNames[i]"
|
|
2430
|
+
[attr.aria-label]="weekNumber && i === 0 ? weekNumberLabel : wideWeekNames[i]"
|
|
2430
2431
|
role="columnheader"
|
|
2431
|
-
>{{name}}</th>
|
|
2432
|
+
>@if (weekNumber && i === 0) {<span class="k-sr-only">{{weekNumberLabel}}</span>}{{name}}</th>
|
|
2432
2433
|
}
|
|
2433
2434
|
</tr>
|
|
2434
2435
|
</thead>
|
|
@@ -2499,7 +2500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2499
2500
|
standalone: true,
|
|
2500
2501
|
imports: [NgClass, ViewComponent, NgTemplateOutlet, KForOf]
|
|
2501
2502
|
}]
|
|
2502
|
-
}], ctorParameters: () => [{ type: BusViewService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { handleMultiViewCalendarFocus: [{
|
|
2503
|
+
}], ctorParameters: () => [{ type: BusViewService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }], propDecorators: { handleMultiViewCalendarFocus: [{
|
|
2503
2504
|
type: HostListener,
|
|
2504
2505
|
args: ["focus"]
|
|
2505
2506
|
}], handleMultiViewCalendarBlur: [{
|
|
@@ -2597,9 +2598,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2597
2598
|
}], role: [{
|
|
2598
2599
|
type: HostBinding,
|
|
2599
2600
|
args: ['attr.role']
|
|
2600
|
-
}],
|
|
2601
|
+
}], hostActiveDescendant: [{
|
|
2601
2602
|
type: HostBinding,
|
|
2602
|
-
args: ['attr.
|
|
2603
|
+
args: ['attr.aria-activedescendant']
|
|
2603
2604
|
}] } });
|
|
2604
2605
|
|
|
2605
2606
|
/**
|
|
@@ -2724,8 +2725,8 @@ class HeaderComponent {
|
|
|
2724
2725
|
this.todayAvailable = isTodayInRange && !isDisabled;
|
|
2725
2726
|
this.cdr.markForCheck();
|
|
2726
2727
|
}
|
|
2727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2728
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2728
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1$1.LocalizationService }, { token: i1.IntlService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2729
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: HeaderComponent, isStandalone: true, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id", size: "size" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2729
2730
|
@if (headerTemplateRef) {
|
|
2730
2731
|
<ng-template
|
|
2731
2732
|
[ngTemplateOutlet]="headerTemplateRef"
|
|
@@ -2735,7 +2736,6 @@ class HeaderComponent {
|
|
|
2735
2736
|
<button
|
|
2736
2737
|
kendoButton
|
|
2737
2738
|
class="k-calendar-title"
|
|
2738
|
-
role="button"
|
|
2739
2739
|
[id]="id"
|
|
2740
2740
|
type="button"
|
|
2741
2741
|
fillMode="flat"
|
|
@@ -2746,6 +2746,7 @@ class HeaderComponent {
|
|
|
2746
2746
|
[kendoEventsOutsideAngular]="{
|
|
2747
2747
|
click: handleNavigation
|
|
2748
2748
|
}"
|
|
2749
|
+
[attr.aria-label]="title"
|
|
2749
2750
|
[title]="parentViewButtonTitle"
|
|
2750
2751
|
[scope]="this">
|
|
2751
2752
|
@if (!titleTemplateRef) {
|
|
@@ -2770,8 +2771,9 @@ class HeaderComponent {
|
|
|
2770
2771
|
tabindex="-1"
|
|
2771
2772
|
type="button"
|
|
2772
2773
|
class="k-calendar-nav-prev"
|
|
2773
|
-
[attr.aria-disabled]="isPrevDisabled"
|
|
2774
|
+
[attr.aria-disabled]="isPrevDisabled || null"
|
|
2774
2775
|
[disabled]="isPrevDisabled"
|
|
2776
|
+
[attr.aria-label]="prevButtonTitle"
|
|
2775
2777
|
[title]="prevButtonTitle"
|
|
2776
2778
|
(click)="prevButtonClick.emit()"
|
|
2777
2779
|
>
|
|
@@ -2781,7 +2783,6 @@ class HeaderComponent {
|
|
|
2781
2783
|
kendoButton
|
|
2782
2784
|
class="k-calendar-nav-today"
|
|
2783
2785
|
fillMode="flat"
|
|
2784
|
-
role="link"
|
|
2785
2786
|
[size]="size"
|
|
2786
2787
|
[disabled]="!todayAvailable"
|
|
2787
2788
|
[kendoEventsOutsideAngular]="{
|
|
@@ -2802,8 +2803,9 @@ class HeaderComponent {
|
|
|
2802
2803
|
class="k-calendar-nav-next"
|
|
2803
2804
|
tabindex="-1"
|
|
2804
2805
|
type="button"
|
|
2805
|
-
[attr.aria-disabled]="isNextDisabled"
|
|
2806
|
+
[attr.aria-disabled]="isNextDisabled || null"
|
|
2806
2807
|
[disabled]="isNextDisabled"
|
|
2808
|
+
[attr.aria-label]="nextButtonTitle"
|
|
2807
2809
|
[title]="nextButtonTitle"
|
|
2808
2810
|
(click)="nextButtonClick.emit()"
|
|
2809
2811
|
>
|
|
@@ -2813,7 +2815,7 @@ class HeaderComponent {
|
|
|
2813
2815
|
}
|
|
2814
2816
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
2815
2817
|
}
|
|
2816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
2817
2819
|
type: Component,
|
|
2818
2820
|
args: [{
|
|
2819
2821
|
selector: 'kendo-calendar-header',
|
|
@@ -2827,7 +2829,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2827
2829
|
<button
|
|
2828
2830
|
kendoButton
|
|
2829
2831
|
class="k-calendar-title"
|
|
2830
|
-
role="button"
|
|
2831
2832
|
[id]="id"
|
|
2832
2833
|
type="button"
|
|
2833
2834
|
fillMode="flat"
|
|
@@ -2838,6 +2839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2838
2839
|
[kendoEventsOutsideAngular]="{
|
|
2839
2840
|
click: handleNavigation
|
|
2840
2841
|
}"
|
|
2842
|
+
[attr.aria-label]="title"
|
|
2841
2843
|
[title]="parentViewButtonTitle"
|
|
2842
2844
|
[scope]="this">
|
|
2843
2845
|
@if (!titleTemplateRef) {
|
|
@@ -2862,8 +2864,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2862
2864
|
tabindex="-1"
|
|
2863
2865
|
type="button"
|
|
2864
2866
|
class="k-calendar-nav-prev"
|
|
2865
|
-
[attr.aria-disabled]="isPrevDisabled"
|
|
2867
|
+
[attr.aria-disabled]="isPrevDisabled || null"
|
|
2866
2868
|
[disabled]="isPrevDisabled"
|
|
2869
|
+
[attr.aria-label]="prevButtonTitle"
|
|
2867
2870
|
[title]="prevButtonTitle"
|
|
2868
2871
|
(click)="prevButtonClick.emit()"
|
|
2869
2872
|
>
|
|
@@ -2873,7 +2876,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2873
2876
|
kendoButton
|
|
2874
2877
|
class="k-calendar-nav-today"
|
|
2875
2878
|
fillMode="flat"
|
|
2876
|
-
role="link"
|
|
2877
2879
|
[size]="size"
|
|
2878
2880
|
[disabled]="!todayAvailable"
|
|
2879
2881
|
[kendoEventsOutsideAngular]="{
|
|
@@ -2894,8 +2896,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2894
2896
|
class="k-calendar-nav-next"
|
|
2895
2897
|
tabindex="-1"
|
|
2896
2898
|
type="button"
|
|
2897
|
-
[attr.aria-disabled]="isNextDisabled"
|
|
2899
|
+
[attr.aria-disabled]="isNextDisabled || null"
|
|
2898
2900
|
[disabled]="isNextDisabled"
|
|
2901
|
+
[attr.aria-label]="nextButtonTitle"
|
|
2899
2902
|
[title]="nextButtonTitle"
|
|
2900
2903
|
(click)="nextButtonClick.emit()"
|
|
2901
2904
|
>
|
|
@@ -2993,10 +2996,10 @@ class SelectionService {
|
|
|
2993
2996
|
isDateSelected(selectedDates, date) {
|
|
2994
2997
|
return selectedDates.some(item => isEqual(item, date));
|
|
2995
2998
|
}
|
|
2996
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2997
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3000
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService });
|
|
2998
3001
|
}
|
|
2999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, decorators: [{
|
|
3000
3003
|
type: Injectable
|
|
3001
3004
|
}], ctorParameters: () => [{ type: BusViewService }] });
|
|
3002
3005
|
|
|
@@ -3029,10 +3032,10 @@ class CellTemplateDirective {
|
|
|
3029
3032
|
constructor(templateRef) {
|
|
3030
3033
|
this.templateRef = templateRef;
|
|
3031
3034
|
}
|
|
3032
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3033
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3035
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3036
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
|
|
3034
3037
|
}
|
|
3035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
3036
3039
|
type: Directive,
|
|
3037
3040
|
args: [{
|
|
3038
3041
|
selector: '[kendoCalendarCellTemplate]',
|
|
@@ -3067,10 +3070,10 @@ class MonthCellTemplateDirective {
|
|
|
3067
3070
|
constructor(templateRef) {
|
|
3068
3071
|
this.templateRef = templateRef;
|
|
3069
3072
|
}
|
|
3070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3071
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3073
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3074
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
|
|
3072
3075
|
}
|
|
3073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
|
|
3074
3077
|
type: Directive,
|
|
3075
3078
|
args: [{
|
|
3076
3079
|
selector: '[kendoCalendarMonthCellTemplate]',
|
|
@@ -3105,10 +3108,10 @@ class YearCellTemplateDirective {
|
|
|
3105
3108
|
constructor(templateRef) {
|
|
3106
3109
|
this.templateRef = templateRef;
|
|
3107
3110
|
}
|
|
3108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3109
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3112
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
|
|
3110
3113
|
}
|
|
3111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
|
|
3112
3115
|
type: Directive,
|
|
3113
3116
|
args: [{
|
|
3114
3117
|
selector: '[kendoCalendarYearCellTemplate]',
|
|
@@ -3143,10 +3146,10 @@ class DecadeCellTemplateDirective {
|
|
|
3143
3146
|
constructor(templateRef) {
|
|
3144
3147
|
this.templateRef = templateRef;
|
|
3145
3148
|
}
|
|
3146
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3147
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3150
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
|
|
3148
3151
|
}
|
|
3149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
|
|
3150
3153
|
type: Directive,
|
|
3151
3154
|
args: [{
|
|
3152
3155
|
selector: '[kendoCalendarDecadeCellTemplate]',
|
|
@@ -3181,10 +3184,10 @@ class CenturyCellTemplateDirective {
|
|
|
3181
3184
|
constructor(templateRef) {
|
|
3182
3185
|
this.templateRef = templateRef;
|
|
3183
3186
|
}
|
|
3184
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3185
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3188
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
|
|
3186
3189
|
}
|
|
3187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
|
|
3188
3191
|
type: Directive,
|
|
3189
3192
|
args: [{
|
|
3190
3193
|
selector: '[kendoCalendarCenturyCellTemplate]',
|
|
@@ -3219,10 +3222,10 @@ class WeekNumberCellTemplateDirective {
|
|
|
3219
3222
|
constructor(templateRef) {
|
|
3220
3223
|
this.templateRef = templateRef;
|
|
3221
3224
|
}
|
|
3222
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3223
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3226
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
|
|
3224
3227
|
}
|
|
3225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
|
|
3226
3229
|
type: Directive,
|
|
3227
3230
|
args: [{
|
|
3228
3231
|
selector: '[kendoCalendarWeekNumberCellTemplate]',
|
|
@@ -3257,10 +3260,10 @@ class HeaderTitleTemplateDirective {
|
|
|
3257
3260
|
constructor(templateRef) {
|
|
3258
3261
|
this.templateRef = templateRef;
|
|
3259
3262
|
}
|
|
3260
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3261
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
|
|
3262
3265
|
}
|
|
3263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
|
|
3264
3267
|
type: Directive,
|
|
3265
3268
|
args: [{
|
|
3266
3269
|
selector: '[kendoCalendarHeaderTitleTemplate]',
|
|
@@ -3413,10 +3416,10 @@ class NavigationService {
|
|
|
3413
3416
|
}
|
|
3414
3417
|
return service.move(value, action);
|
|
3415
3418
|
}
|
|
3416
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3417
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3420
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
3418
3421
|
}
|
|
3419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, decorators: [{
|
|
3420
3423
|
type: Injectable,
|
|
3421
3424
|
args: [{
|
|
3422
3425
|
providedIn: 'root'
|
|
@@ -3454,10 +3457,10 @@ class HeaderTemplateDirective {
|
|
|
3454
3457
|
constructor(templateRef) {
|
|
3455
3458
|
this.templateRef = templateRef;
|
|
3456
3459
|
}
|
|
3457
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3458
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3461
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
|
|
3459
3462
|
}
|
|
3460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
3461
3464
|
type: Directive,
|
|
3462
3465
|
args: [{
|
|
3463
3466
|
selector: '[kendoCalendarHeaderTemplate]',
|
|
@@ -3493,10 +3496,10 @@ class FooterTemplateDirective {
|
|
|
3493
3496
|
constructor(templateRef) {
|
|
3494
3497
|
this.templateRef = templateRef;
|
|
3495
3498
|
}
|
|
3496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3497
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3499
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3500
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
|
|
3498
3501
|
}
|
|
3499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
3500
3503
|
type: Directive,
|
|
3501
3504
|
args: [{
|
|
3502
3505
|
selector: '[kendoCalendarFooterTemplate]',
|
|
@@ -3517,8 +3520,8 @@ class FooterComponent {
|
|
|
3517
3520
|
constructor(intl) {
|
|
3518
3521
|
this.intl = intl;
|
|
3519
3522
|
}
|
|
3520
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3521
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3524
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: FooterComponent, isStandalone: true, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
|
|
3522
3525
|
@if (footerTemplateRef) {
|
|
3523
3526
|
<ng-template
|
|
3524
3527
|
[ngTemplateOutlet]="footerTemplateRef"
|
|
@@ -3536,7 +3539,7 @@ class FooterComponent {
|
|
|
3536
3539
|
}
|
|
3537
3540
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
3538
3541
|
}
|
|
3539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterComponent, decorators: [{
|
|
3540
3543
|
type: Component,
|
|
3541
3544
|
args: [{
|
|
3542
3545
|
selector: 'kendo-calendar-footer',
|
|
@@ -3591,10 +3594,14 @@ class Messages extends ComponentMessages {
|
|
|
3591
3594
|
* The title of the **Parent View** button in the header of the MultiViewCalendar.
|
|
3592
3595
|
*/
|
|
3593
3596
|
parentViewButtonTitle;
|
|
3594
|
-
|
|
3595
|
-
|
|
3597
|
+
/**
|
|
3598
|
+
* The label of the week number column in the Calendar.
|
|
3599
|
+
*/
|
|
3600
|
+
weekNumberLabel;
|
|
3601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, selector: "kendo-multiview-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", weekNumberLabel: "weekNumberLabel" }, usesInheritance: true, ngImport: i0 });
|
|
3596
3603
|
}
|
|
3597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
3598
3605
|
type: Directive,
|
|
3599
3606
|
args: [{
|
|
3600
3607
|
selector: 'kendo-multiview-calendar-messages-base'
|
|
@@ -3607,6 +3614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3607
3614
|
type: Input
|
|
3608
3615
|
}], parentViewButtonTitle: [{
|
|
3609
3616
|
type: Input
|
|
3617
|
+
}], weekNumberLabel: [{
|
|
3618
|
+
type: Input
|
|
3610
3619
|
}] } });
|
|
3611
3620
|
|
|
3612
3621
|
/**
|
|
@@ -3618,15 +3627,15 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages {
|
|
|
3618
3627
|
super();
|
|
3619
3628
|
this.service = service;
|
|
3620
3629
|
}
|
|
3621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3622
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3630
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3631
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: MultiViewCalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3623
3632
|
{
|
|
3624
3633
|
provide: Messages,
|
|
3625
3634
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3626
3635
|
}
|
|
3627
3636
|
], usesInheritance: true, ngImport: i0 });
|
|
3628
3637
|
}
|
|
3629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, decorators: [{
|
|
3630
3639
|
type: Directive,
|
|
3631
3640
|
args: [{
|
|
3632
3641
|
providers: [
|
|
@@ -4230,7 +4239,7 @@ class MultiViewCalendarComponent {
|
|
|
4230
4239
|
return this.views >= 2 ? this.id : null;
|
|
4231
4240
|
}
|
|
4232
4241
|
get ariaDisabled() {
|
|
4233
|
-
return this.disabled;
|
|
4242
|
+
return this.disabled || null;
|
|
4234
4243
|
}
|
|
4235
4244
|
/**
|
|
4236
4245
|
* @hidden
|
|
@@ -4446,8 +4455,7 @@ class MultiViewCalendarComponent {
|
|
|
4446
4455
|
if (!this.element) {
|
|
4447
4456
|
return;
|
|
4448
4457
|
}
|
|
4449
|
-
const activeElement = this.
|
|
4450
|
-
this.element.nativeElement.querySelector('.k-calendar-table');
|
|
4458
|
+
const activeElement = this.element.nativeElement.querySelector('.k-calendar-view');
|
|
4451
4459
|
activeElement.blur();
|
|
4452
4460
|
}
|
|
4453
4461
|
/**
|
|
@@ -4803,8 +4811,8 @@ class MultiViewCalendarComponent {
|
|
|
4803
4811
|
focusedDate: date
|
|
4804
4812
|
});
|
|
4805
4813
|
}
|
|
4806
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4807
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
4814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: BusViewService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: DisabledDatesService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4815
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MultiViewCalendarComponent, isStandalone: true, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", size: "size", id: "id", focusedDate: "focusedDate", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", weekDaysFormat: "weekDaysFormat", 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"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", rangeSelectionChange: "rangeSelectionChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
4808
4816
|
BusViewService,
|
|
4809
4817
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
4810
4818
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -4815,7 +4823,8 @@ class MultiViewCalendarComponent {
|
|
|
4815
4823
|
useValue: 'kendo.multiviewcalendar'
|
|
4816
4824
|
},
|
|
4817
4825
|
NavigationService,
|
|
4818
|
-
SelectionService
|
|
4826
|
+
SelectionService,
|
|
4827
|
+
provideComponentName('multiviewcalendar')
|
|
4819
4828
|
], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "headerElement", first: true, predicate: HeaderComponent, descendants: true, read: ElementRef }, { propertyName: "viewList", first: true, predicate: HorizontalViewListComponent, descendants: true }], exportAs: ["kendo-multiviewcalendar"], usesOnChanges: true, ngImport: i0, template: `
|
|
4820
4829
|
<ng-container kendoMultiViewCalendarLocalizedMessages
|
|
4821
4830
|
i18n-today="kendo.multiviewcalendar.today|The label for the today button in the calendar header"
|
|
@@ -4829,6 +4838,9 @@ class MultiViewCalendarComponent {
|
|
|
4829
4838
|
|
|
4830
4839
|
i18n-parentViewButtonTitle="kendo.multiviewcalendar.parentViewButtonTitle|The title of the parent view button in the Multiview calendar header"
|
|
4831
4840
|
parentViewButtonTitle="Navigate to parent view"
|
|
4841
|
+
|
|
4842
|
+
i18n-weekNumberLabel="kendo.calendar.weekNumberLabel|The label of the week number column in the Calendar"
|
|
4843
|
+
weekNumberLabel="Week number"
|
|
4832
4844
|
>
|
|
4833
4845
|
</ng-container>
|
|
4834
4846
|
@if (showCalendarHeader) {
|
|
@@ -4856,7 +4868,7 @@ class MultiViewCalendarComponent {
|
|
|
4856
4868
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
4857
4869
|
[allowReverse]="allowReverse"
|
|
4858
4870
|
[id]="calendarHeaderIdLabel"
|
|
4859
|
-
[attr.aria-labelledby]="multiViewCalendarHeaderIdLabel"
|
|
4871
|
+
[attr.aria-labelledby]="calendarHeaderIdLabel || multiViewCalendarHeaderIdLabel"
|
|
4860
4872
|
[activeView]="activeViewEnum"
|
|
4861
4873
|
[activeDescendant]="ariaActivedescendant"
|
|
4862
4874
|
[isActive]="isActive || isHovered"
|
|
@@ -4895,7 +4907,7 @@ class MultiViewCalendarComponent {
|
|
|
4895
4907
|
}
|
|
4896
4908
|
`, isInline: true, dependencies: [{ kind: "directive", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["showOtherMonthDays", "cellTemplateRef", "weekNumberTemplateRef", "allowReverse", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4897
4909
|
}
|
|
4898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
4899
4911
|
type: Component,
|
|
4900
4912
|
args: [{
|
|
4901
4913
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4911,7 +4923,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4911
4923
|
useValue: 'kendo.multiviewcalendar'
|
|
4912
4924
|
},
|
|
4913
4925
|
NavigationService,
|
|
4914
|
-
SelectionService
|
|
4926
|
+
SelectionService,
|
|
4927
|
+
provideComponentName('multiviewcalendar')
|
|
4915
4928
|
],
|
|
4916
4929
|
selector: 'kendo-multiviewcalendar',
|
|
4917
4930
|
template: `
|
|
@@ -4927,6 +4940,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4927
4940
|
|
|
4928
4941
|
i18n-parentViewButtonTitle="kendo.multiviewcalendar.parentViewButtonTitle|The title of the parent view button in the Multiview calendar header"
|
|
4929
4942
|
parentViewButtonTitle="Navigate to parent view"
|
|
4943
|
+
|
|
4944
|
+
i18n-weekNumberLabel="kendo.calendar.weekNumberLabel|The label of the week number column in the Calendar"
|
|
4945
|
+
weekNumberLabel="Week number"
|
|
4930
4946
|
>
|
|
4931
4947
|
</ng-container>
|
|
4932
4948
|
@if (showCalendarHeader) {
|
|
@@ -4954,7 +4970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4954
4970
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
4955
4971
|
[allowReverse]="allowReverse"
|
|
4956
4972
|
[id]="calendarHeaderIdLabel"
|
|
4957
|
-
[attr.aria-labelledby]="multiViewCalendarHeaderIdLabel"
|
|
4973
|
+
[attr.aria-labelledby]="calendarHeaderIdLabel || multiViewCalendarHeaderIdLabel"
|
|
4958
4974
|
[activeView]="activeViewEnum"
|
|
4959
4975
|
[activeDescendant]="ariaActivedescendant"
|
|
4960
4976
|
[isActive]="isActive || isHovered"
|
|
@@ -5045,6 +5061,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5045
5061
|
type: Input
|
|
5046
5062
|
}], weekNumber: [{
|
|
5047
5063
|
type: Input
|
|
5064
|
+
}, {
|
|
5065
|
+
type: HostBinding,
|
|
5066
|
+
args: ['class.k-week-number']
|
|
5048
5067
|
}], activeRangeEnd: [{
|
|
5049
5068
|
type: Input
|
|
5050
5069
|
}], selectionRange: [{
|
|
@@ -5349,10 +5368,10 @@ class CalendarDOMService {
|
|
|
5349
5368
|
document.body.removeChild(hostClone);
|
|
5350
5369
|
}
|
|
5351
5370
|
}
|
|
5352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5353
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5372
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarDOMService, providedIn: 'root' });
|
|
5354
5373
|
}
|
|
5355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarDOMService, decorators: [{
|
|
5356
5375
|
type: Injectable,
|
|
5357
5376
|
args: [{
|
|
5358
5377
|
providedIn: 'root'
|
|
@@ -5591,6 +5610,7 @@ class VirtualizationComponent {
|
|
|
5591
5610
|
pageChange = new EventEmitter();
|
|
5592
5611
|
scrollChange = new EventEmitter();
|
|
5593
5612
|
wrapperClasses = true;
|
|
5613
|
+
role = 'none';
|
|
5594
5614
|
get horizontalClass() {
|
|
5595
5615
|
return this.direction === 'horizontal';
|
|
5596
5616
|
}
|
|
@@ -5659,7 +5679,9 @@ class VirtualizationComponent {
|
|
|
5659
5679
|
return this.container.nativeElement[propertyName];
|
|
5660
5680
|
}
|
|
5661
5681
|
activeIndex() {
|
|
5662
|
-
|
|
5682
|
+
// guard against negative scrollTop in iOS during rubber-band overscroll - https://github.com/telerik/kendo-angular-private/issues/6747
|
|
5683
|
+
const scrollPosition = Math.max(0, Math.ceil(this.containerScrollPosition)); //handle subpixeling
|
|
5684
|
+
return this.itemIndex(scrollPosition);
|
|
5663
5685
|
}
|
|
5664
5686
|
itemIndex(offset) {
|
|
5665
5687
|
return this.rowHeightService.index(offset);
|
|
@@ -5768,8 +5790,8 @@ class VirtualizationComponent {
|
|
|
5768
5790
|
getContainerScrollDirection(indexOffset) {
|
|
5769
5791
|
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
5770
5792
|
}
|
|
5771
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5772
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i19.ScrollbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5794
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: VirtualizationComponent, isStandalone: true, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total", role: "role" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "attr.role": "this.role", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
5773
5795
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
5774
5796
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
5775
5797
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -5781,7 +5803,7 @@ class VirtualizationComponent {
|
|
|
5781
5803
|
></div>
|
|
5782
5804
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
5783
5805
|
}
|
|
5784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: VirtualizationComponent, decorators: [{
|
|
5785
5807
|
type: Component,
|
|
5786
5808
|
args: [{
|
|
5787
5809
|
providers: [{
|
|
@@ -5832,14 +5854,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5832
5854
|
}], scrollChange: [{
|
|
5833
5855
|
type: Output
|
|
5834
5856
|
}], wrapperClasses: [{
|
|
5835
|
-
type: HostBinding,
|
|
5836
|
-
args: ['class.k-flex']
|
|
5837
|
-
}, {
|
|
5838
5857
|
type: HostBinding,
|
|
5839
5858
|
args: ['class.k-content']
|
|
5840
5859
|
}, {
|
|
5841
5860
|
type: HostBinding,
|
|
5842
5861
|
args: ['class.k-scrollable']
|
|
5862
|
+
}], role: [{
|
|
5863
|
+
type: HostBinding,
|
|
5864
|
+
args: ['attr.role']
|
|
5865
|
+
}, {
|
|
5866
|
+
type: Input
|
|
5843
5867
|
}], horizontalClass: [{
|
|
5844
5868
|
type: HostBinding,
|
|
5845
5869
|
args: ['class.k-scrollable-horizontal']
|
|
@@ -5959,8 +5983,8 @@ class NavigationComponent {
|
|
|
5959
5983
|
this.cdr.markForCheck();
|
|
5960
5984
|
}
|
|
5961
5985
|
}
|
|
5962
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5963
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5986
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5987
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: NavigationComponent, isStandalone: true, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5964
5988
|
<span class="k-calendar-navigation-highlight"></span>
|
|
5965
5989
|
<kendo-virtualization
|
|
5966
5990
|
[skip]="skip"
|
|
@@ -5970,6 +5994,7 @@ class NavigationComponent {
|
|
|
5970
5994
|
[topOffset]="topOffset"
|
|
5971
5995
|
[bottomOffset]="bottomOffset"
|
|
5972
5996
|
[maxScrollDifference]="maxViewHeight"
|
|
5997
|
+
[role]="null"
|
|
5973
5998
|
(pageChange)="onPageChange($event)"
|
|
5974
5999
|
(scrollChange)="scrollChange($event)"
|
|
5975
6000
|
>
|
|
@@ -5989,9 +6014,9 @@ class NavigationComponent {
|
|
|
5989
6014
|
</li>
|
|
5990
6015
|
</ul>
|
|
5991
6016
|
</kendo-virtualization>
|
|
5992
|
-
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6017
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total", "role"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5993
6018
|
}
|
|
5994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationComponent, decorators: [{
|
|
5995
6020
|
type: Component,
|
|
5996
6021
|
args: [{
|
|
5997
6022
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6006,6 +6031,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6006
6031
|
[topOffset]="topOffset"
|
|
6007
6032
|
[bottomOffset]="bottomOffset"
|
|
6008
6033
|
[maxScrollDifference]="maxViewHeight"
|
|
6034
|
+
[role]="null"
|
|
6009
6035
|
(pageChange)="onPageChange($event)"
|
|
6010
6036
|
(scrollChange)="scrollChange($event)"
|
|
6011
6037
|
>
|
|
@@ -6067,6 +6093,7 @@ class ViewListComponent {
|
|
|
6067
6093
|
intl;
|
|
6068
6094
|
dom;
|
|
6069
6095
|
renderer;
|
|
6096
|
+
localization;
|
|
6070
6097
|
allowReverse;
|
|
6071
6098
|
cellTemplateRef;
|
|
6072
6099
|
weekNumberTemplateRef;
|
|
@@ -6126,6 +6153,9 @@ class ViewListComponent {
|
|
|
6126
6153
|
get activeViewValue() {
|
|
6127
6154
|
return CalendarViewEnum[this.activeView];
|
|
6128
6155
|
}
|
|
6156
|
+
get weekNumberLabel() {
|
|
6157
|
+
return this.localization.get('weekNumberLabel');
|
|
6158
|
+
}
|
|
6129
6159
|
service;
|
|
6130
6160
|
activeDate;
|
|
6131
6161
|
dates = [];
|
|
@@ -6143,12 +6173,13 @@ class ViewListComponent {
|
|
|
6143
6173
|
showWeekNumbers;
|
|
6144
6174
|
minViewsToRender = 1;
|
|
6145
6175
|
intlSubscription;
|
|
6146
|
-
constructor(bus, cdr, intl, dom, renderer) {
|
|
6176
|
+
constructor(bus, cdr, intl, dom, renderer, localization) {
|
|
6147
6177
|
this.bus = bus;
|
|
6148
6178
|
this.cdr = cdr;
|
|
6149
6179
|
this.intl = intl;
|
|
6150
6180
|
this.dom = dom;
|
|
6151
6181
|
this.renderer = renderer;
|
|
6182
|
+
this.localization = localization;
|
|
6152
6183
|
}
|
|
6153
6184
|
ngOnInit() {
|
|
6154
6185
|
this.weekNames = this.getWeekNames(this.weekDaysFormat);
|
|
@@ -6260,8 +6291,8 @@ class ViewListComponent {
|
|
|
6260
6291
|
this.cdr.markForCheck();
|
|
6261
6292
|
}
|
|
6262
6293
|
}
|
|
6263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6264
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6294
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ViewListComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: CalendarDOMService }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6295
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ViewListComponent, isStandalone: true, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
6265
6296
|
<kendo-calendar-header
|
|
6266
6297
|
[currentDate]="activeDate"
|
|
6267
6298
|
[size]="size"
|
|
@@ -6275,11 +6306,17 @@ class ViewListComponent {
|
|
|
6275
6306
|
>
|
|
6276
6307
|
</kendo-calendar-header>
|
|
6277
6308
|
@if (isMonthView()) {
|
|
6278
|
-
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'">
|
|
6279
|
-
<thead class="k-calendar-thead">
|
|
6280
|
-
<tr class="k-calendar-tr">
|
|
6309
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" role="table">
|
|
6310
|
+
<thead class="k-calendar-thead" role="rowgroup">
|
|
6311
|
+
<tr class="k-calendar-tr" role="row">
|
|
6281
6312
|
@for (name of weekNames; track $index; let i = $index) {
|
|
6282
|
-
<th
|
|
6313
|
+
<th
|
|
6314
|
+
class="k-calendar-th"
|
|
6315
|
+
[class.k-alt]="weekNumber && i === 0"
|
|
6316
|
+
scope="col"
|
|
6317
|
+
[attr.aria-label]="weekNumber && i === 0 ? weekNumberLabel : wideWeekNames[i]"
|
|
6318
|
+
role="columnheader"
|
|
6319
|
+
>@if (weekNumber && i === 0) {<span class="k-sr-only">{{weekNumberLabel}}</span>}{{name}}</th>
|
|
6283
6320
|
}
|
|
6284
6321
|
</tr>
|
|
6285
6322
|
</thead>
|
|
@@ -6345,9 +6382,9 @@ class ViewListComponent {
|
|
|
6345
6382
|
[currentDate]="activeDate">
|
|
6346
6383
|
</kendo-calendar-footer>
|
|
6347
6384
|
}
|
|
6348
|
-
`, isInline: true, dependencies: [{ kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6385
|
+
`, isInline: true, dependencies: [{ kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total", "role"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6349
6386
|
}
|
|
6350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
6351
6388
|
type: Component,
|
|
6352
6389
|
args: [{
|
|
6353
6390
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6366,11 +6403,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6366
6403
|
>
|
|
6367
6404
|
</kendo-calendar-header>
|
|
6368
6405
|
@if (isMonthView()) {
|
|
6369
|
-
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'">
|
|
6370
|
-
<thead class="k-calendar-thead">
|
|
6371
|
-
<tr class="k-calendar-tr">
|
|
6406
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" role="table">
|
|
6407
|
+
<thead class="k-calendar-thead" role="rowgroup">
|
|
6408
|
+
<tr class="k-calendar-tr" role="row">
|
|
6372
6409
|
@for (name of weekNames; track $index; let i = $index) {
|
|
6373
|
-
<th
|
|
6410
|
+
<th
|
|
6411
|
+
class="k-calendar-th"
|
|
6412
|
+
[class.k-alt]="weekNumber && i === 0"
|
|
6413
|
+
scope="col"
|
|
6414
|
+
[attr.aria-label]="weekNumber && i === 0 ? weekNumberLabel : wideWeekNames[i]"
|
|
6415
|
+
role="columnheader"
|
|
6416
|
+
>@if (weekNumber && i === 0) {<span class="k-sr-only">{{weekNumberLabel}}</span>}{{name}}</th>
|
|
6374
6417
|
}
|
|
6375
6418
|
</tr>
|
|
6376
6419
|
</thead>
|
|
@@ -6440,7 +6483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6440
6483
|
standalone: true,
|
|
6441
6484
|
imports: [HeaderComponent, VirtualizationComponent, KForOf, ViewComponent, FooterComponent]
|
|
6442
6485
|
}]
|
|
6443
|
-
}], ctorParameters: () => [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: CalendarDOMService }, { type: i0.Renderer2 }], propDecorators: { allowReverse: [{
|
|
6486
|
+
}], ctorParameters: () => [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: CalendarDOMService }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }], propDecorators: { allowReverse: [{
|
|
6444
6487
|
type: Input
|
|
6445
6488
|
}], cellTemplateRef: [{
|
|
6446
6489
|
type: Input
|
|
@@ -6608,10 +6651,10 @@ class ScrollSyncService {
|
|
|
6608
6651
|
this.viewSubscription.unsubscribe();
|
|
6609
6652
|
}
|
|
6610
6653
|
}
|
|
6611
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6612
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ScrollSyncService, deps: [{ token: CalendarDOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6655
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ScrollSyncService });
|
|
6613
6656
|
}
|
|
6614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ScrollSyncService, decorators: [{
|
|
6615
6658
|
type: Injectable
|
|
6616
6659
|
}], ctorParameters: () => [{ type: CalendarDOMService }, { type: i0.NgZone }] });
|
|
6617
6660
|
|
|
@@ -6642,10 +6685,10 @@ class NavigationItemTemplateDirective {
|
|
|
6642
6685
|
constructor(templateRef) {
|
|
6643
6686
|
this.templateRef = templateRef;
|
|
6644
6687
|
}
|
|
6645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6646
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
6688
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6689
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
|
|
6647
6690
|
}
|
|
6648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
|
|
6649
6692
|
type: Directive,
|
|
6650
6693
|
args: [{
|
|
6651
6694
|
selector: '[kendoCalendarNavigationItemTemplate]',
|
|
@@ -6686,15 +6729,15 @@ class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
|
6686
6729
|
get override() {
|
|
6687
6730
|
return true;
|
|
6688
6731
|
}
|
|
6689
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6690
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
6732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6733
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: MultiViewCalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
6691
6734
|
{
|
|
6692
6735
|
provide: Messages,
|
|
6693
6736
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
6694
6737
|
}
|
|
6695
6738
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6696
6739
|
}
|
|
6697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, decorators: [{
|
|
6698
6741
|
type: Component,
|
|
6699
6742
|
args: [{
|
|
6700
6743
|
providers: [
|
|
@@ -6729,10 +6772,14 @@ class CalendarMessages extends ComponentMessages {
|
|
|
6729
6772
|
* The title of the **Parent View** button in the header of the Calendar.
|
|
6730
6773
|
*/
|
|
6731
6774
|
parentViewButtonTitle;
|
|
6732
|
-
|
|
6733
|
-
|
|
6775
|
+
/**
|
|
6776
|
+
* The label of the week number column in the Calendar.
|
|
6777
|
+
*/
|
|
6778
|
+
weekNumberLabel;
|
|
6779
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6780
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CalendarMessages, isStandalone: true, selector: "kendo-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", weekNumberLabel: "weekNumberLabel" }, usesInheritance: true, ngImport: i0 });
|
|
6734
6781
|
}
|
|
6735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarMessages, decorators: [{
|
|
6736
6783
|
type: Directive,
|
|
6737
6784
|
args: [{
|
|
6738
6785
|
selector: 'kendo-calendar-messages-base'
|
|
@@ -6745,6 +6792,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6745
6792
|
type: Input
|
|
6746
6793
|
}], parentViewButtonTitle: [{
|
|
6747
6794
|
type: Input
|
|
6795
|
+
}], weekNumberLabel: [{
|
|
6796
|
+
type: Input
|
|
6748
6797
|
}] } });
|
|
6749
6798
|
|
|
6750
6799
|
/**
|
|
@@ -6756,15 +6805,15 @@ class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
|
6756
6805
|
super();
|
|
6757
6806
|
this.service = service;
|
|
6758
6807
|
}
|
|
6759
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6760
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
6808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6809
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
6761
6810
|
{
|
|
6762
6811
|
provide: CalendarMessages,
|
|
6763
6812
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
6764
6813
|
}
|
|
6765
6814
|
], usesInheritance: true, ngImport: i0 });
|
|
6766
6815
|
}
|
|
6767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarLocalizedMessagesDirective, decorators: [{
|
|
6768
6817
|
type: Directive,
|
|
6769
6818
|
args: [{
|
|
6770
6819
|
providers: [
|
|
@@ -7057,6 +7106,12 @@ class CalendarComponent {
|
|
|
7057
7106
|
* @default false
|
|
7058
7107
|
*/
|
|
7059
7108
|
weekNumber = false;
|
|
7109
|
+
/**
|
|
7110
|
+
* @hidden
|
|
7111
|
+
*/
|
|
7112
|
+
get hostWeekNumberClass() {
|
|
7113
|
+
return this.weekNumber && this.type !== 'classic';
|
|
7114
|
+
}
|
|
7060
7115
|
/**
|
|
7061
7116
|
* @hidden
|
|
7062
7117
|
*/
|
|
@@ -7363,7 +7418,8 @@ class CalendarComponent {
|
|
|
7363
7418
|
}
|
|
7364
7419
|
get ariaDisabled() {
|
|
7365
7420
|
// in Classic mode, the inner MultiViewCalendar should handle the disabled class and aria attr
|
|
7366
|
-
|
|
7421
|
+
const isDisabled = this.disabled ? true : null;
|
|
7422
|
+
return this.type === 'classic' ? null : isDisabled;
|
|
7367
7423
|
}
|
|
7368
7424
|
domEvents = [];
|
|
7369
7425
|
control;
|
|
@@ -8008,8 +8064,8 @@ class CalendarComponent {
|
|
|
8008
8064
|
focusedDate: date
|
|
8009
8065
|
});
|
|
8010
8066
|
}
|
|
8011
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8012
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
8067
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: ScrollSyncService }, { token: DisabledDatesService }, { token: i1$1.LocalizationService }, { token: SelectionService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8068
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: CalendarComponent, isStandalone: true, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { closePopup: "closePopup", activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.hostWeekNumberClass", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
8013
8069
|
BusViewService,
|
|
8014
8070
|
CALENDAR_VALUE_ACCESSOR,
|
|
8015
8071
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -8023,7 +8079,8 @@ class CalendarComponent {
|
|
|
8023
8079
|
NavigationService,
|
|
8024
8080
|
ScrollSyncService,
|
|
8025
8081
|
SelectionService,
|
|
8026
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) }
|
|
8082
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) },
|
|
8083
|
+
provideComponentName('calendar')
|
|
8027
8084
|
], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
|
|
8028
8085
|
<ng-container kendoCalendarLocalizedMessages
|
|
8029
8086
|
i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
|
|
@@ -8037,6 +8094,9 @@ class CalendarComponent {
|
|
|
8037
8094
|
|
|
8038
8095
|
i18n-parentViewButtonTitle="kendo.calendar.parentViewButtonTitle|The title of the parent view button in the calendar header"
|
|
8039
8096
|
parentViewButtonTitle="Navigate to parent view"
|
|
8097
|
+
|
|
8098
|
+
i18n-weekNumberLabel="kendo.calendar.weekNumberLabel|The label of the week number column in the Calendar"
|
|
8099
|
+
weekNumberLabel="Week number"
|
|
8040
8100
|
>
|
|
8041
8101
|
</ng-container>
|
|
8042
8102
|
@if (type === 'infinite') {
|
|
@@ -8146,7 +8206,7 @@ class CalendarComponent {
|
|
|
8146
8206
|
}
|
|
8147
8207
|
`, isInline: true, dependencies: [{ kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8148
8208
|
}
|
|
8149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
8150
8210
|
type: Component,
|
|
8151
8211
|
args: [{
|
|
8152
8212
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8165,7 +8225,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
8165
8225
|
NavigationService,
|
|
8166
8226
|
ScrollSyncService,
|
|
8167
8227
|
SelectionService,
|
|
8168
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) }
|
|
8228
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) },
|
|
8229
|
+
provideComponentName('calendar')
|
|
8169
8230
|
],
|
|
8170
8231
|
selector: 'kendo-calendar',
|
|
8171
8232
|
template: `
|
|
@@ -8181,6 +8242,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
8181
8242
|
|
|
8182
8243
|
i18n-parentViewButtonTitle="kendo.calendar.parentViewButtonTitle|The title of the parent view button in the calendar header"
|
|
8183
8244
|
parentViewButtonTitle="Navigate to parent view"
|
|
8245
|
+
|
|
8246
|
+
i18n-weekNumberLabel="kendo.calendar.weekNumberLabel|The label of the week number column in the Calendar"
|
|
8247
|
+
weekNumberLabel="Week number"
|
|
8184
8248
|
>
|
|
8185
8249
|
</ng-container>
|
|
8186
8250
|
@if (type === 'infinite') {
|
|
@@ -8338,7 +8402,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
8338
8402
|
type: Input
|
|
8339
8403
|
}], weekNumber: [{
|
|
8340
8404
|
type: Input
|
|
8341
|
-
}, {
|
|
8405
|
+
}], hostWeekNumberClass: [{
|
|
8342
8406
|
type: HostBinding,
|
|
8343
8407
|
args: ['class.k-week-number']
|
|
8344
8408
|
}], closePopup: [{
|
|
@@ -8481,10 +8545,10 @@ class DateInputMessages extends ComponentMessages {
|
|
|
8481
8545
|
* The title of the **Clear** button of the DateInput.
|
|
8482
8546
|
*/
|
|
8483
8547
|
clearTitle;
|
|
8484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8485
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
8548
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
8549
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateInputMessages, isStandalone: true, selector: "kendo-dateinput-messages-base", inputs: { decrement: "decrement", increment: "increment", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
8486
8550
|
}
|
|
8487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputMessages, decorators: [{
|
|
8488
8552
|
type: Directive,
|
|
8489
8553
|
args: [{
|
|
8490
8554
|
selector: 'kendo-dateinput-messages-base'
|
|
@@ -8506,15 +8570,15 @@ class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
8506
8570
|
super();
|
|
8507
8571
|
this.service = service;
|
|
8508
8572
|
}
|
|
8509
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8510
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
8573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8574
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateInputLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
8511
8575
|
{
|
|
8512
8576
|
provide: DateInputMessages,
|
|
8513
8577
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
8514
8578
|
}
|
|
8515
8579
|
], usesInheritance: true, ngImport: i0 });
|
|
8516
8580
|
}
|
|
8517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputLocalizedMessagesDirective, decorators: [{
|
|
8518
8582
|
type: Directive,
|
|
8519
8583
|
args: [{
|
|
8520
8584
|
providers: [
|
|
@@ -8665,7 +8729,7 @@ class DateInputComponent {
|
|
|
8665
8729
|
/**
|
|
8666
8730
|
* @hidden
|
|
8667
8731
|
*/
|
|
8668
|
-
role =
|
|
8732
|
+
role = null;
|
|
8669
8733
|
/**
|
|
8670
8734
|
* @hidden
|
|
8671
8735
|
*/
|
|
@@ -8818,6 +8882,18 @@ class DateInputComponent {
|
|
|
8818
8882
|
* @hidden
|
|
8819
8883
|
*/
|
|
8820
8884
|
hasPopup;
|
|
8885
|
+
/**
|
|
8886
|
+
* @hidden
|
|
8887
|
+
*/
|
|
8888
|
+
set ariaInvalidState(value) {
|
|
8889
|
+
this._ariaInvalidState = value;
|
|
8890
|
+
if (value !== null && this.inputElement) {
|
|
8891
|
+
this.setAriaInvalid();
|
|
8892
|
+
}
|
|
8893
|
+
}
|
|
8894
|
+
get ariaInvalidState() {
|
|
8895
|
+
return this._ariaInvalidState;
|
|
8896
|
+
}
|
|
8821
8897
|
/**
|
|
8822
8898
|
* Specifies the size of the component. The default value is set by the Kendo theme.
|
|
8823
8899
|
*
|
|
@@ -8990,6 +9066,7 @@ class DateInputComponent {
|
|
|
8990
9066
|
_size;
|
|
8991
9067
|
_rounded;
|
|
8992
9068
|
_fillMode;
|
|
9069
|
+
_ariaInvalidState = null;
|
|
8993
9070
|
control;
|
|
8994
9071
|
subs = new Subscription();
|
|
8995
9072
|
_inputAttributes;
|
|
@@ -9151,15 +9228,13 @@ class DateInputComponent {
|
|
|
9151
9228
|
* @hidden
|
|
9152
9229
|
*/
|
|
9153
9230
|
setAriaInvalid() {
|
|
9154
|
-
if (!this.control) {
|
|
9231
|
+
if (this._ariaInvalidState === null && !this.control) {
|
|
9155
9232
|
return;
|
|
9156
9233
|
}
|
|
9157
|
-
|
|
9158
|
-
this.
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
this.renderer.setAttribute(this.inputElement, attributeNames.ariaInvalid, 'false');
|
|
9162
|
-
}
|
|
9234
|
+
const isInvalid = this._ariaInvalidState !== null
|
|
9235
|
+
? this._ariaInvalidState
|
|
9236
|
+
: !!(this.control.invalid && (this.control.touched || this.control.dirty));
|
|
9237
|
+
this.renderer.setAttribute(this.inputElement, attributeNames.ariaInvalid, `${isInvalid}`);
|
|
9163
9238
|
}
|
|
9164
9239
|
/**
|
|
9165
9240
|
* @hidden
|
|
@@ -9311,6 +9386,7 @@ class DateInputComponent {
|
|
|
9311
9386
|
if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.ngControl)) {
|
|
9312
9387
|
this.ngZone.run(() => {
|
|
9313
9388
|
this.onControlTouched();
|
|
9389
|
+
this.setAriaInvalid();
|
|
9314
9390
|
this.emitBlur(args.event);
|
|
9315
9391
|
this.cdr.markForCheck();
|
|
9316
9392
|
});
|
|
@@ -9384,13 +9460,14 @@ class DateInputComponent {
|
|
|
9384
9460
|
const attributesToRender = { ...this.mutableAttributes, ...this.parsedAttributes };
|
|
9385
9461
|
setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement, this.injector);
|
|
9386
9462
|
}
|
|
9387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9388
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
9463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
9464
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", ariaInvalidState: "ariaInvalidState", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
9389
9465
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
9390
9466
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
9391
9467
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
9392
9468
|
{ provide: KendoInput, useExisting: forwardRef(() => DateInputComponent) },
|
|
9393
|
-
LocalizationService
|
|
9469
|
+
LocalizationService,
|
|
9470
|
+
provideComponentName('dateinput')
|
|
9394
9471
|
], viewQueries: [{ propertyName: "dateInput", first: true, predicate: ["dateInput"], descendants: true, static: true }, { propertyName: "spinup", first: true, predicate: ["spinup"], descendants: true }, { propertyName: "spindown", first: true, predicate: ["spindown"], descendants: true }], exportAs: ["kendo-dateinput"], usesOnChanges: true, ngImport: i0, template: `
|
|
9395
9472
|
<ng-container kendoDateInputLocalizedMessages
|
|
9396
9473
|
i18n-increment="kendo.dateinput.increment|The label for the **Increment** button in the DateInput"
|
|
@@ -9411,7 +9488,7 @@ class DateInputComponent {
|
|
|
9411
9488
|
autocapitalize="off"
|
|
9412
9489
|
spellcheck="false"
|
|
9413
9490
|
[attr.role]="role"
|
|
9414
|
-
[attr.aria-readonly]="ariaReadOnly"
|
|
9491
|
+
[attr.aria-readonly]="ariaReadOnly || null"
|
|
9415
9492
|
[id]="focusableId"
|
|
9416
9493
|
[title]="title"
|
|
9417
9494
|
[tabindex]="tabindex"
|
|
@@ -9484,7 +9561,7 @@ class DateInputComponent {
|
|
|
9484
9561
|
}
|
|
9485
9562
|
`, isInline: true, dependencies: [{ kind: "directive", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9486
9563
|
}
|
|
9487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
9488
9565
|
type: Component,
|
|
9489
9566
|
args: [{
|
|
9490
9567
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -9494,7 +9571,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9494
9571
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
9495
9572
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
9496
9573
|
{ provide: KendoInput, useExisting: forwardRef(() => DateInputComponent) },
|
|
9497
|
-
LocalizationService
|
|
9574
|
+
LocalizationService,
|
|
9575
|
+
provideComponentName('dateinput')
|
|
9498
9576
|
],
|
|
9499
9577
|
selector: 'kendo-dateinput',
|
|
9500
9578
|
template: `
|
|
@@ -9517,7 +9595,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9517
9595
|
autocapitalize="off"
|
|
9518
9596
|
spellcheck="false"
|
|
9519
9597
|
[attr.role]="role"
|
|
9520
|
-
[attr.aria-readonly]="ariaReadOnly"
|
|
9598
|
+
[attr.aria-readonly]="ariaReadOnly || null"
|
|
9521
9599
|
[id]="focusableId"
|
|
9522
9600
|
[title]="title"
|
|
9523
9601
|
[tabindex]="tabindex"
|
|
@@ -9657,6 +9735,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9657
9735
|
type: Input
|
|
9658
9736
|
}], hasPopup: [{
|
|
9659
9737
|
type: Input
|
|
9738
|
+
}], ariaInvalidState: [{
|
|
9739
|
+
type: Input
|
|
9660
9740
|
}], size: [{
|
|
9661
9741
|
type: Input
|
|
9662
9742
|
}], rounded: [{
|
|
@@ -9748,15 +9828,15 @@ class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
9748
9828
|
get override() {
|
|
9749
9829
|
return true;
|
|
9750
9830
|
}
|
|
9751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9752
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
9831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9832
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: CalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-calendar-messages", providers: [
|
|
9753
9833
|
{
|
|
9754
9834
|
provide: CalendarMessages,
|
|
9755
9835
|
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
9756
9836
|
}
|
|
9757
9837
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9758
9838
|
}
|
|
9759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarCustomMessagesComponent, decorators: [{
|
|
9760
9840
|
type: Component,
|
|
9761
9841
|
args: [{
|
|
9762
9842
|
providers: [
|
|
@@ -9800,15 +9880,15 @@ class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
9800
9880
|
get override() {
|
|
9801
9881
|
return true;
|
|
9802
9882
|
}
|
|
9803
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9804
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
9883
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9884
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: DateInputCustomMessagesComponent, isStandalone: true, selector: "kendo-dateinput-messages", providers: [
|
|
9805
9885
|
{
|
|
9806
9886
|
provide: DateInputMessages,
|
|
9807
9887
|
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
9808
9888
|
}
|
|
9809
9889
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9810
9890
|
}
|
|
9811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
9812
9892
|
type: Component,
|
|
9813
9893
|
args: [{
|
|
9814
9894
|
providers: [
|
|
@@ -9855,10 +9935,10 @@ class DatePickerMessages extends ComponentMessages {
|
|
|
9855
9935
|
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
9856
9936
|
*/
|
|
9857
9937
|
adaptiveCloseButtonTitle;
|
|
9858
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9859
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
9938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
9939
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DatePickerMessages, isStandalone: true, selector: "kendo-datepicker-messages-base", inputs: { today: "today", toggle: "toggle", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", clearTitle: "clearTitle", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
9860
9940
|
}
|
|
9861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerMessages, decorators: [{
|
|
9862
9942
|
type: Directive,
|
|
9863
9943
|
args: [{
|
|
9864
9944
|
selector: 'kendo-datepicker-messages-base'
|
|
@@ -9888,15 +9968,15 @@ class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
|
|
|
9888
9968
|
super();
|
|
9889
9969
|
this.service = service;
|
|
9890
9970
|
}
|
|
9891
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9892
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
9971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9972
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
9893
9973
|
{
|
|
9894
9974
|
provide: DatePickerMessages,
|
|
9895
9975
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
9896
9976
|
}
|
|
9897
9977
|
], usesInheritance: true, ngImport: i0 });
|
|
9898
9978
|
}
|
|
9899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerLocalizedMessagesDirective, decorators: [{
|
|
9900
9980
|
type: Directive,
|
|
9901
9981
|
args: [{
|
|
9902
9982
|
providers: [
|
|
@@ -10468,6 +10548,16 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10468
10548
|
get isControlRequired() {
|
|
10469
10549
|
return isControlRequired(this.control);
|
|
10470
10550
|
}
|
|
10551
|
+
/**
|
|
10552
|
+
* @hidden
|
|
10553
|
+
*/
|
|
10554
|
+
get ariaInvalidState() {
|
|
10555
|
+
const control = this.control?.control;
|
|
10556
|
+
if (!control) {
|
|
10557
|
+
return null;
|
|
10558
|
+
}
|
|
10559
|
+
return control.invalid && (control.touched || control.dirty);
|
|
10560
|
+
}
|
|
10471
10561
|
_popupSettings = { animate: true };
|
|
10472
10562
|
_show = false;
|
|
10473
10563
|
_value = null;
|
|
@@ -10539,6 +10629,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10539
10629
|
ngAfterViewInit() {
|
|
10540
10630
|
this.setComponentClasses();
|
|
10541
10631
|
this.windowSize = this.adaptiveService.size;
|
|
10632
|
+
this.pickerSubscriptions.add(this.control?.control?.statusChanges?.subscribe(() => this.cdr.markForCheck()));
|
|
10542
10633
|
}
|
|
10543
10634
|
/**
|
|
10544
10635
|
* @hidden
|
|
@@ -10976,8 +11067,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10976
11067
|
blurComponent() {
|
|
10977
11068
|
this.isActive = false;
|
|
10978
11069
|
this.show = false;
|
|
10979
|
-
this.cdr.detectChanges();
|
|
10980
11070
|
this.onControlTouched();
|
|
11071
|
+
this.cdr.detectChanges();
|
|
10981
11072
|
this.onBlur.emit();
|
|
10982
11073
|
}
|
|
10983
11074
|
handleSameSelection() {
|
|
@@ -11003,8 +11094,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11003
11094
|
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
11004
11095
|
}
|
|
11005
11096
|
}
|
|
11006
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
11007
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
11097
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }, { token: i6.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11098
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DatePickerComponent, isStandalone: true, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], clearButton: "clearButton", inputAttributes: "inputAttributes", monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", autoFill: "autoFill", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode", adaptiveMode: "adaptiveMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
11008
11099
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
11009
11100
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
11010
11101
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -11016,7 +11107,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11016
11107
|
provide: L10N_PREFIX,
|
|
11017
11108
|
useValue: 'kendo.datepicker'
|
|
11018
11109
|
},
|
|
11019
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) }
|
|
11110
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) },
|
|
11111
|
+
provideComponentName('datepicker')
|
|
11020
11112
|
], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
11021
11113
|
<ng-container kendoDatePickerLocalizedMessages
|
|
11022
11114
|
i18n-today="kendo.datepicker.today|The label for the today button in the calendar header"
|
|
@@ -11047,6 +11139,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11047
11139
|
pickerType="datepicker"
|
|
11048
11140
|
hasPopup="grid"
|
|
11049
11141
|
[isPopupOpen]="show"
|
|
11142
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
11050
11143
|
[clearButton]="clearButton"
|
|
11051
11144
|
[disabled]="disabled"
|
|
11052
11145
|
[readonly]="readonly || readOnlyInput"
|
|
@@ -11082,6 +11175,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11082
11175
|
#toggleButton
|
|
11083
11176
|
type="button"
|
|
11084
11177
|
class="k-input-button k-button k-icon-button"
|
|
11178
|
+
[class.k-disabled]="disabled"
|
|
11085
11179
|
[tabindex]="-1"
|
|
11086
11180
|
[attr.title]="localization.get('toggle')"
|
|
11087
11181
|
[attr.aria-label]="localization.get('toggle')"
|
|
@@ -11145,6 +11239,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11145
11239
|
icon="check"
|
|
11146
11240
|
themeColor="primary"
|
|
11147
11241
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
11242
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
11148
11243
|
[svgIcon]="checkIcon"
|
|
11149
11244
|
fillMode="flat"
|
|
11150
11245
|
[tabIndex]="-1"
|
|
@@ -11206,9 +11301,9 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
11206
11301
|
</kendo-calendar-messages>
|
|
11207
11302
|
</kendo-calendar>
|
|
11208
11303
|
</ng-template>
|
|
11209
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11304
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "ariaInvalidState", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11210
11305
|
}
|
|
11211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
11306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
11212
11307
|
type: Component,
|
|
11213
11308
|
args: [{
|
|
11214
11309
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11225,7 +11320,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11225
11320
|
provide: L10N_PREFIX,
|
|
11226
11321
|
useValue: 'kendo.datepicker'
|
|
11227
11322
|
},
|
|
11228
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) }
|
|
11323
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) },
|
|
11324
|
+
provideComponentName('datepicker')
|
|
11229
11325
|
],
|
|
11230
11326
|
selector: 'kendo-datepicker',
|
|
11231
11327
|
template: `
|
|
@@ -11258,6 +11354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11258
11354
|
pickerType="datepicker"
|
|
11259
11355
|
hasPopup="grid"
|
|
11260
11356
|
[isPopupOpen]="show"
|
|
11357
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
11261
11358
|
[clearButton]="clearButton"
|
|
11262
11359
|
[disabled]="disabled"
|
|
11263
11360
|
[readonly]="readonly || readOnlyInput"
|
|
@@ -11293,6 +11390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11293
11390
|
#toggleButton
|
|
11294
11391
|
type="button"
|
|
11295
11392
|
class="k-input-button k-button k-icon-button"
|
|
11393
|
+
[class.k-disabled]="disabled"
|
|
11296
11394
|
[tabindex]="-1"
|
|
11297
11395
|
[attr.title]="localization.get('toggle')"
|
|
11298
11396
|
[attr.aria-label]="localization.get('toggle')"
|
|
@@ -11356,6 +11454,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11356
11454
|
icon="check"
|
|
11357
11455
|
themeColor="primary"
|
|
11358
11456
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
11457
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
11359
11458
|
[svgIcon]="checkIcon"
|
|
11360
11459
|
fillMode="flat"
|
|
11361
11460
|
[tabIndex]="-1"
|
|
@@ -11656,7 +11755,7 @@ const timeListWrapper = (isAdaptiveEnabled = false, windowSize, isDateTimePicker
|
|
|
11656
11755
|
], 'k-actionsheet-content'),
|
|
11657
11756
|
div([div('button', 'k-button k-button-lg')], 'k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer'),
|
|
11658
11757
|
], 'k-actionsheet-view'),
|
|
11659
|
-
], `k-actionsheet k-adaptive-actionsheet ${windowSize === 'small' ? 'k-actionsheet-fullscreen' : ''}`, { height: windowSize === 'small' ? '100%' : '60vh', left: '-10000px', position: 'absolute', top: 0 });
|
|
11758
|
+
], `k-actionsheet k-adaptive-actionsheet ${windowSize === 'small' ? 'k-actionsheet-fullscreen' : 'k-actionsheet-bottom'}`, { height: windowSize === 'small' ? '100%' : '60vh', left: '-10000px', position: 'absolute', top: 0 });
|
|
11660
11759
|
};
|
|
11661
11760
|
/**
|
|
11662
11761
|
* @hidden
|
|
@@ -11719,10 +11818,10 @@ class TimePickerDOMService {
|
|
|
11719
11818
|
}
|
|
11720
11819
|
return (element.nativeElement || element) === document.activeElement;
|
|
11721
11820
|
}
|
|
11722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
11723
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
11821
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerDOMService, deps: [{ token: i6.AdaptiveService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11822
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerDOMService, providedIn: 'root' });
|
|
11724
11823
|
}
|
|
11725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
11824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
11726
11825
|
type: Injectable,
|
|
11727
11826
|
args: [{
|
|
11728
11827
|
providedIn: 'root'
|
|
@@ -11839,10 +11938,10 @@ class HoursService {
|
|
|
11839
11938
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
11840
11939
|
return [min.getHours(), max.getHours()];
|
|
11841
11940
|
}
|
|
11842
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
11843
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
11941
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11942
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HoursService, providedIn: 'root' });
|
|
11844
11943
|
}
|
|
11845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
11944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HoursService, decorators: [{
|
|
11846
11945
|
type: Injectable,
|
|
11847
11946
|
args: [{
|
|
11848
11947
|
providedIn: 'root'
|
|
@@ -11957,10 +12056,10 @@ class MinutesService {
|
|
|
11957
12056
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
11958
12057
|
return [min.getMinutes(), max.getMinutes()];
|
|
11959
12058
|
}
|
|
11960
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
11961
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
12059
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MinutesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12060
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MinutesService, providedIn: 'root' });
|
|
11962
12061
|
}
|
|
11963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MinutesService, decorators: [{
|
|
11964
12063
|
type: Injectable,
|
|
11965
12064
|
args: [{
|
|
11966
12065
|
providedIn: 'root'
|
|
@@ -12075,10 +12174,10 @@ class SecondsService {
|
|
|
12075
12174
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
12076
12175
|
return [min.getSeconds(), max.getSeconds()];
|
|
12077
12176
|
}
|
|
12078
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12079
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
12177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12178
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SecondsService, providedIn: 'root' });
|
|
12080
12179
|
}
|
|
12081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SecondsService, decorators: [{
|
|
12082
12181
|
type: Injectable,
|
|
12083
12182
|
args: [{
|
|
12084
12183
|
providedIn: 'root'
|
|
@@ -12196,10 +12295,10 @@ class MillisecondsService {
|
|
|
12196
12295
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
12197
12296
|
return [min.getMilliseconds(), max.getMilliseconds()];
|
|
12198
12297
|
}
|
|
12199
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12200
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
12298
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12299
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MillisecondsService, providedIn: 'root' });
|
|
12201
12300
|
}
|
|
12202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
12203
12302
|
type: Injectable,
|
|
12204
12303
|
args: [{
|
|
12205
12304
|
providedIn: 'root'
|
|
@@ -12319,10 +12418,10 @@ class DayPeriodService {
|
|
|
12319
12418
|
Math.max(minHour, maxHour)
|
|
12320
12419
|
];
|
|
12321
12420
|
}
|
|
12322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12323
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
12421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12422
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DayPeriodService, providedIn: 'root' });
|
|
12324
12423
|
}
|
|
12325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
12326
12425
|
type: Injectable,
|
|
12327
12426
|
args: [{
|
|
12328
12427
|
providedIn: 'root'
|
|
@@ -12371,6 +12470,12 @@ class TimeListComponent {
|
|
|
12371
12470
|
return this.disabled ? undefined : 0;
|
|
12372
12471
|
}
|
|
12373
12472
|
componentClass = true;
|
|
12473
|
+
get hostRole() {
|
|
12474
|
+
return this.roleAttribute;
|
|
12475
|
+
}
|
|
12476
|
+
get hostAriaLabel() {
|
|
12477
|
+
return this.ariaLabel;
|
|
12478
|
+
}
|
|
12374
12479
|
get isDayPeriod() {
|
|
12375
12480
|
return this.part?.type === 'dayperiod';
|
|
12376
12481
|
}
|
|
@@ -12578,7 +12683,9 @@ class TimeListComponent {
|
|
|
12578
12683
|
bindEvents() {
|
|
12579
12684
|
this.scrollSubscription = this.virtualization
|
|
12580
12685
|
.scroll$()
|
|
12581
|
-
.pipe(debounceTime(100), map((e) => e.target.scrollTop),
|
|
12686
|
+
.pipe(debounceTime(100), map((e) => e.target.scrollTop),
|
|
12687
|
+
// iOS reports negative scrollTop during rubber-band overscroll - https://github.com/telerik/kendo-angular-private/issues/6747
|
|
12688
|
+
map((top) => this.itemOffset(Math.max(0, top))), map((itemOffset) => this.virtualization.itemIndex(itemOffset)))
|
|
12582
12689
|
.subscribe(index => {
|
|
12583
12690
|
this.virtualization.scrollToIndex(index);
|
|
12584
12691
|
this.handleChange(this.data[index]);
|
|
@@ -12586,11 +12693,9 @@ class TimeListComponent {
|
|
|
12586
12693
|
const element = this.element.nativeElement;
|
|
12587
12694
|
this.domEvents.push(this.renderer.listen(element, 'mouseover', () => !this.isActive && this.focus()), this.renderer.listen(element, 'click', () => this.focus()), this.renderer.listen(element, 'blur', () => this.isActive = false), this.renderer.listen(element, 'focus', () => this.isActive = true), this.renderer.listen(element, 'keydown', this.handleKeyDown.bind(this)));
|
|
12588
12695
|
}
|
|
12589
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12590
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
12696
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Injector }, { token: TimePickerDOMService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12697
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TimeListComponent, isStandalone: true, selector: "kendo-timelist", inputs: { min: "min", max: "max", part: "part", step: "step", disabled: "disabled", value: "value", isLast: "isLast", isFirst: "isFirst" }, outputs: { valueChange: "valueChange", tabOutLastPart: "tabOutLastPart", tabOutFirstPart: "tabOutFirstPart" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-time-list": "this.componentClass", "attr.role": "this.hostRole", "attr.aria-label": "this.hostAriaLabel" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
12591
12698
|
<kendo-virtualization
|
|
12592
|
-
[attr.role]="roleAttribute"
|
|
12593
|
-
[attr.aria-label]="ariaLabel"
|
|
12594
12699
|
[skip]="skip"
|
|
12595
12700
|
[take]="total"
|
|
12596
12701
|
[total]="total"
|
|
@@ -12598,7 +12703,7 @@ class TimeListComponent {
|
|
|
12598
12703
|
[maxScrollDifference]="listHeight"
|
|
12599
12704
|
[topOffset]="topOffset"
|
|
12600
12705
|
[bottomOffset]="bottomOffset"
|
|
12601
|
-
class="k-time-container"
|
|
12706
|
+
class="k-content k-scrollable k-time-container"
|
|
12602
12707
|
tabindex="-1"
|
|
12603
12708
|
>
|
|
12604
12709
|
<ul [ngStyle]="style" class="k-reset"
|
|
@@ -12606,7 +12711,7 @@ class TimeListComponent {
|
|
|
12606
12711
|
click: handleItemClick
|
|
12607
12712
|
}"
|
|
12608
12713
|
[scope]="this"
|
|
12609
|
-
[attr.role]="'
|
|
12714
|
+
[attr.role]="'none'"
|
|
12610
12715
|
>
|
|
12611
12716
|
@for (item of data; track $index; let index = $index) {
|
|
12612
12717
|
<li class="k-item"
|
|
@@ -12619,16 +12724,14 @@ class TimeListComponent {
|
|
|
12619
12724
|
}
|
|
12620
12725
|
</ul>
|
|
12621
12726
|
</kendo-virtualization>
|
|
12622
|
-
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
12727
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total", "role"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
12623
12728
|
}
|
|
12624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
12625
12730
|
type: Component,
|
|
12626
12731
|
args: [{
|
|
12627
12732
|
selector: 'kendo-timelist',
|
|
12628
12733
|
template: `
|
|
12629
12734
|
<kendo-virtualization
|
|
12630
|
-
[attr.role]="roleAttribute"
|
|
12631
|
-
[attr.aria-label]="ariaLabel"
|
|
12632
12735
|
[skip]="skip"
|
|
12633
12736
|
[take]="total"
|
|
12634
12737
|
[total]="total"
|
|
@@ -12636,7 +12739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12636
12739
|
[maxScrollDifference]="listHeight"
|
|
12637
12740
|
[topOffset]="topOffset"
|
|
12638
12741
|
[bottomOffset]="bottomOffset"
|
|
12639
|
-
class="k-time-container"
|
|
12742
|
+
class="k-content k-scrollable k-time-container"
|
|
12640
12743
|
tabindex="-1"
|
|
12641
12744
|
>
|
|
12642
12745
|
<ul [ngStyle]="style" class="k-reset"
|
|
@@ -12644,7 +12747,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12644
12747
|
click: handleItemClick
|
|
12645
12748
|
}"
|
|
12646
12749
|
[scope]="this"
|
|
12647
|
-
[attr.role]="'
|
|
12750
|
+
[attr.role]="'none'"
|
|
12648
12751
|
>
|
|
12649
12752
|
@for (item of data; track $index; let index = $index) {
|
|
12650
12753
|
<li class="k-item"
|
|
@@ -12692,6 +12795,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12692
12795
|
}], componentClass: [{
|
|
12693
12796
|
type: HostBinding,
|
|
12694
12797
|
args: ["class.k-time-list"]
|
|
12798
|
+
}], hostRole: [{
|
|
12799
|
+
type: HostBinding,
|
|
12800
|
+
args: ['attr.role']
|
|
12801
|
+
}], hostAriaLabel: [{
|
|
12802
|
+
type: HostBinding,
|
|
12803
|
+
args: ['attr.aria-label']
|
|
12695
12804
|
}] } });
|
|
12696
12805
|
|
|
12697
12806
|
const isEqualTillMinute = (value, min) => value.getHours() === min.getHours() && value.getMinutes() === min.getMinutes();
|
|
@@ -12819,10 +12928,14 @@ class TimePickerMessages extends ComponentMessages {
|
|
|
12819
12928
|
* Specifies the title of the **Close** button of the ActionSheet that renders instead of the popup when using small screen devices in adaptive mode.
|
|
12820
12929
|
*/
|
|
12821
12930
|
adaptiveCloseButtonTitle;
|
|
12822
|
-
|
|
12823
|
-
|
|
12931
|
+
/**
|
|
12932
|
+
* Specifies the accessible label of the TimeSelector.
|
|
12933
|
+
*/
|
|
12934
|
+
timeSelectorLabel;
|
|
12935
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12936
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TimePickerMessages, isStandalone: true, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", timeSelectorLabel: "timeSelectorLabel" }, usesInheritance: true, ngImport: i0 });
|
|
12824
12937
|
}
|
|
12825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
12826
12939
|
type: Directive,
|
|
12827
12940
|
args: [{
|
|
12828
12941
|
selector: 'kendo-timepicker-messages-base'
|
|
@@ -12855,6 +12968,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12855
12968
|
type: Input
|
|
12856
12969
|
}], adaptiveCloseButtonTitle: [{
|
|
12857
12970
|
type: Input
|
|
12971
|
+
}], timeSelectorLabel: [{
|
|
12972
|
+
type: Input
|
|
12858
12973
|
}] } });
|
|
12859
12974
|
|
|
12860
12975
|
/**
|
|
@@ -12866,15 +12981,15 @@ class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
12866
12981
|
super();
|
|
12867
12982
|
this.service = service;
|
|
12868
12983
|
}
|
|
12869
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12870
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
12984
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12985
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TimeSelectorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
12871
12986
|
{
|
|
12872
12987
|
provide: TimePickerMessages,
|
|
12873
12988
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
12874
12989
|
}
|
|
12875
12990
|
], usesInheritance: true, ngImport: i0 });
|
|
12876
12991
|
}
|
|
12877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
12878
12993
|
type: Directive,
|
|
12879
12994
|
args: [{
|
|
12880
12995
|
providers: [
|
|
@@ -12921,6 +13036,12 @@ class TimeSelectorComponent {
|
|
|
12921
13036
|
now;
|
|
12922
13037
|
timeLists;
|
|
12923
13038
|
timeListWrappers;
|
|
13039
|
+
/**
|
|
13040
|
+
* @hidden
|
|
13041
|
+
*/
|
|
13042
|
+
get role() {
|
|
13043
|
+
return 'group';
|
|
13044
|
+
}
|
|
12924
13045
|
/**
|
|
12925
13046
|
* @hidden
|
|
12926
13047
|
*/
|
|
@@ -13061,7 +13182,10 @@ class TimeSelectorComponent {
|
|
|
13061
13182
|
if (this.localization) {
|
|
13062
13183
|
this.subscriptions.add(this.localization
|
|
13063
13184
|
.changes
|
|
13064
|
-
.subscribe(() =>
|
|
13185
|
+
.subscribe(() => {
|
|
13186
|
+
this.renderer.setAttribute(this.element.nativeElement, 'aria-label', this.localization.get('timeSelectorLabel'));
|
|
13187
|
+
this.cdr.markForCheck();
|
|
13188
|
+
}));
|
|
13065
13189
|
}
|
|
13066
13190
|
this.renderer.addClass(this.element.nativeElement, 'k-timeselector');
|
|
13067
13191
|
this.dom.isAdaptiveEnabled = this.isAdaptiveEnabled;
|
|
@@ -13278,8 +13402,8 @@ class TimeSelectorComponent {
|
|
|
13278
13402
|
}
|
|
13279
13403
|
return listIdx;
|
|
13280
13404
|
}
|
|
13281
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13282
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
13405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.IntlService }, { token: TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TimeSelectorComponent, isStandalone: true, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart", tabOutFirstPart: "tabOutFirstPart", tabOutNow: "tabOutNow" }, host: { properties: { "attr.role": "this.role", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
13283
13407
|
LocalizationService,
|
|
13284
13408
|
{
|
|
13285
13409
|
provide: L10N_PREFIX,
|
|
@@ -13304,17 +13428,36 @@ class TimeSelectorComponent {
|
|
|
13304
13428
|
|
|
13305
13429
|
i18n-nowLabel="kendo.timeselector.nowLabel|The label for the Now button in the timeselector component"
|
|
13306
13430
|
nowLabel="Select now"
|
|
13431
|
+
|
|
13432
|
+
i18n-timeSelectorLabel="kendo.timeselector.timeSelectorLabel|The accessible label for the timeselector component"
|
|
13433
|
+
timeSelectorLabel="Time Selector"
|
|
13434
|
+
|
|
13435
|
+
i18n-hour="kendo.timeselector.hour|The label for the Hour column in the timeselector component"
|
|
13436
|
+
hour="Hour"
|
|
13437
|
+
|
|
13438
|
+
i18n-minute="kendo.timeselector.minute|The label for the Minute column in the timeselector component"
|
|
13439
|
+
minute="Minute"
|
|
13440
|
+
|
|
13441
|
+
i18n-second="kendo.timeselector.second|The label for the Second column in the timeselector component"
|
|
13442
|
+
second="Second"
|
|
13443
|
+
|
|
13444
|
+
i18n-millisecond="kendo.timeselector.millisecond|The label for the Millisecond column in the timeselector component"
|
|
13445
|
+
millisecond="Millisecond"
|
|
13446
|
+
|
|
13447
|
+
i18n-dayperiod="kendo.timeselector.dayperiod|The label for the AM/PM column in the timeselector component"
|
|
13448
|
+
dayperiod="AM/PM"
|
|
13307
13449
|
>
|
|
13308
13450
|
</ng-container>
|
|
13309
13451
|
<div class="k-time-header">
|
|
13310
|
-
<span class="k-title
|
|
13452
|
+
<span class="k-title">
|
|
13311
13453
|
{{ intl.formatDate(current, format) }}
|
|
13312
13454
|
</span>
|
|
13313
13455
|
@if (showNowButton) {
|
|
13314
13456
|
<button
|
|
13315
13457
|
#now
|
|
13316
13458
|
type="button"
|
|
13317
|
-
class="k-button k-button-flat k-
|
|
13459
|
+
class="k-button k-button-flat k-time-now"
|
|
13460
|
+
[class.k-button-lg]="isAdaptiveEnabled"
|
|
13318
13461
|
[attr.title]="localization.get('nowLabel')"
|
|
13319
13462
|
[attr.aria-label]="localization.get('nowLabel')"
|
|
13320
13463
|
[kendoEventsOutsideAngular]="{
|
|
@@ -13325,7 +13468,7 @@ class TimeSelectorComponent {
|
|
|
13325
13468
|
}"
|
|
13326
13469
|
[scope]="this"
|
|
13327
13470
|
[disabled]="disabled"
|
|
13328
|
-
>{{localization.get('now')}}</button>
|
|
13471
|
+
><span class="k-button-text">{{localization.get('now')}}</span></button>
|
|
13329
13472
|
}
|
|
13330
13473
|
</div>
|
|
13331
13474
|
<div class="k-time-list-container">
|
|
@@ -13337,7 +13480,7 @@ class TimeSelectorComponent {
|
|
|
13337
13480
|
class="k-time-list-wrapper"
|
|
13338
13481
|
role="presentation" tabindex="-1"
|
|
13339
13482
|
>
|
|
13340
|
-
<span class="k-title
|
|
13483
|
+
<span class="k-title">{{intl.dateFieldName(part)}}</span>
|
|
13341
13484
|
<kendo-timelist
|
|
13342
13485
|
[isLast]="idx === dateFormatParts.length - 1"
|
|
13343
13486
|
[isFirst]="idx === 0"
|
|
@@ -13358,7 +13501,7 @@ class TimeSelectorComponent {
|
|
|
13358
13501
|
></kendo-timelist>
|
|
13359
13502
|
</div>
|
|
13360
13503
|
}
|
|
13361
|
-
@if (part.type === 'literal') {
|
|
13504
|
+
@if (part.type === 'literal' && part.pattern.trim()) {
|
|
13362
13505
|
<div class="k-time-separator">
|
|
13363
13506
|
{{part.pattern}}
|
|
13364
13507
|
</div>
|
|
@@ -13382,7 +13525,7 @@ class TimeSelectorComponent {
|
|
|
13382
13525
|
}"
|
|
13383
13526
|
[scope]="this"
|
|
13384
13527
|
[disabled]="disabled"
|
|
13385
|
-
>{{localization.get('accept')}}</button>
|
|
13528
|
+
><span class="k-button-text">{{localization.get('accept')}}</span></button>
|
|
13386
13529
|
}
|
|
13387
13530
|
@if (cancelButton) {
|
|
13388
13531
|
<button
|
|
@@ -13399,13 +13542,13 @@ class TimeSelectorComponent {
|
|
|
13399
13542
|
}"
|
|
13400
13543
|
[scope]="this"
|
|
13401
13544
|
[disabled]="disabled"
|
|
13402
|
-
>{{localization.get('cancel')}}</button>
|
|
13545
|
+
><span class="k-button-text">{{localization.get('cancel')}}</span></button>
|
|
13403
13546
|
}
|
|
13404
13547
|
</div>
|
|
13405
13548
|
}
|
|
13406
13549
|
`, isInline: true, dependencies: [{ kind: "directive", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value", "isLast", "isFirst"], outputs: ["valueChange", "tabOutLastPart", "tabOutFirstPart"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13407
13550
|
}
|
|
13408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
13409
13552
|
type: Component,
|
|
13410
13553
|
args: [{
|
|
13411
13554
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -13437,17 +13580,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13437
13580
|
|
|
13438
13581
|
i18n-nowLabel="kendo.timeselector.nowLabel|The label for the Now button in the timeselector component"
|
|
13439
13582
|
nowLabel="Select now"
|
|
13583
|
+
|
|
13584
|
+
i18n-timeSelectorLabel="kendo.timeselector.timeSelectorLabel|The accessible label for the timeselector component"
|
|
13585
|
+
timeSelectorLabel="Time Selector"
|
|
13586
|
+
|
|
13587
|
+
i18n-hour="kendo.timeselector.hour|The label for the Hour column in the timeselector component"
|
|
13588
|
+
hour="Hour"
|
|
13589
|
+
|
|
13590
|
+
i18n-minute="kendo.timeselector.minute|The label for the Minute column in the timeselector component"
|
|
13591
|
+
minute="Minute"
|
|
13592
|
+
|
|
13593
|
+
i18n-second="kendo.timeselector.second|The label for the Second column in the timeselector component"
|
|
13594
|
+
second="Second"
|
|
13595
|
+
|
|
13596
|
+
i18n-millisecond="kendo.timeselector.millisecond|The label for the Millisecond column in the timeselector component"
|
|
13597
|
+
millisecond="Millisecond"
|
|
13598
|
+
|
|
13599
|
+
i18n-dayperiod="kendo.timeselector.dayperiod|The label for the AM/PM column in the timeselector component"
|
|
13600
|
+
dayperiod="AM/PM"
|
|
13440
13601
|
>
|
|
13441
13602
|
</ng-container>
|
|
13442
13603
|
<div class="k-time-header">
|
|
13443
|
-
<span class="k-title
|
|
13604
|
+
<span class="k-title">
|
|
13444
13605
|
{{ intl.formatDate(current, format) }}
|
|
13445
13606
|
</span>
|
|
13446
13607
|
@if (showNowButton) {
|
|
13447
13608
|
<button
|
|
13448
13609
|
#now
|
|
13449
13610
|
type="button"
|
|
13450
|
-
class="k-button k-button-flat k-
|
|
13611
|
+
class="k-button k-button-flat k-time-now"
|
|
13612
|
+
[class.k-button-lg]="isAdaptiveEnabled"
|
|
13451
13613
|
[attr.title]="localization.get('nowLabel')"
|
|
13452
13614
|
[attr.aria-label]="localization.get('nowLabel')"
|
|
13453
13615
|
[kendoEventsOutsideAngular]="{
|
|
@@ -13458,7 +13620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13458
13620
|
}"
|
|
13459
13621
|
[scope]="this"
|
|
13460
13622
|
[disabled]="disabled"
|
|
13461
|
-
>{{localization.get('now')}}</button>
|
|
13623
|
+
><span class="k-button-text">{{localization.get('now')}}</span></button>
|
|
13462
13624
|
}
|
|
13463
13625
|
</div>
|
|
13464
13626
|
<div class="k-time-list-container">
|
|
@@ -13470,7 +13632,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13470
13632
|
class="k-time-list-wrapper"
|
|
13471
13633
|
role="presentation" tabindex="-1"
|
|
13472
13634
|
>
|
|
13473
|
-
<span class="k-title
|
|
13635
|
+
<span class="k-title">{{intl.dateFieldName(part)}}</span>
|
|
13474
13636
|
<kendo-timelist
|
|
13475
13637
|
[isLast]="idx === dateFormatParts.length - 1"
|
|
13476
13638
|
[isFirst]="idx === 0"
|
|
@@ -13491,7 +13653,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13491
13653
|
></kendo-timelist>
|
|
13492
13654
|
</div>
|
|
13493
13655
|
}
|
|
13494
|
-
@if (part.type === 'literal') {
|
|
13656
|
+
@if (part.type === 'literal' && part.pattern.trim()) {
|
|
13495
13657
|
<div class="k-time-separator">
|
|
13496
13658
|
{{part.pattern}}
|
|
13497
13659
|
</div>
|
|
@@ -13515,7 +13677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13515
13677
|
}"
|
|
13516
13678
|
[scope]="this"
|
|
13517
13679
|
[disabled]="disabled"
|
|
13518
|
-
>{{localization.get('accept')}}</button>
|
|
13680
|
+
><span class="k-button-text">{{localization.get('accept')}}</span></button>
|
|
13519
13681
|
}
|
|
13520
13682
|
@if (cancelButton) {
|
|
13521
13683
|
<button
|
|
@@ -13532,7 +13694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13532
13694
|
}"
|
|
13533
13695
|
[scope]="this"
|
|
13534
13696
|
[disabled]="disabled"
|
|
13535
|
-
>{{localization.get('cancel')}}</button>
|
|
13697
|
+
><span class="k-button-text">{{localization.get('cancel')}}</span></button>
|
|
13536
13698
|
}
|
|
13537
13699
|
</div>
|
|
13538
13700
|
}
|
|
@@ -13557,6 +13719,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13557
13719
|
}], timeListWrappers: [{
|
|
13558
13720
|
type: ViewChildren,
|
|
13559
13721
|
args: ['listWrapper']
|
|
13722
|
+
}], role: [{
|
|
13723
|
+
type: HostBinding,
|
|
13724
|
+
args: ['attr.role']
|
|
13560
13725
|
}], disabledClass: [{
|
|
13561
13726
|
type: HostBinding,
|
|
13562
13727
|
args: ['class.k-disabled']
|
|
@@ -13627,15 +13792,15 @@ class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
|
13627
13792
|
get override() {
|
|
13628
13793
|
return true;
|
|
13629
13794
|
}
|
|
13630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13631
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
13795
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13796
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: TimeSelectorCustomMessagesComponent, isStandalone: true, selector: "kendo-timeselector-messages", providers: [
|
|
13632
13797
|
{
|
|
13633
13798
|
provide: TimePickerMessages,
|
|
13634
13799
|
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
13635
13800
|
}
|
|
13636
13801
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
13637
13802
|
}
|
|
13638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
13639
13804
|
type: Component,
|
|
13640
13805
|
args: [{
|
|
13641
13806
|
providers: [
|
|
@@ -13659,15 +13824,15 @@ class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
13659
13824
|
super();
|
|
13660
13825
|
this.service = service;
|
|
13661
13826
|
}
|
|
13662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13663
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
13827
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13828
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TimePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
13664
13829
|
{
|
|
13665
13830
|
provide: TimePickerMessages,
|
|
13666
13831
|
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
13667
13832
|
}
|
|
13668
13833
|
], usesInheritance: true, ngImport: i0 });
|
|
13669
13834
|
}
|
|
13670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
13671
13836
|
type: Directive,
|
|
13672
13837
|
args: [{
|
|
13673
13838
|
providers: [
|
|
@@ -13684,8 +13849,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
13684
13849
|
const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker#integration-with-json';
|
|
13685
13850
|
const INTL_DATE_FORMAT = 'https://github.com/telerik/kendo-intl/blob/master/docs/date-formatting/index.md';
|
|
13686
13851
|
const formatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.millisecond}|${TIME_PART.dayperiod}|literal`);
|
|
13687
|
-
const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
|
|
13688
|
-
const CANCEL_BUTTON_SELECTOR = '.k-button.k-time-cancel';
|
|
13689
13852
|
/**
|
|
13690
13853
|
* Represents the [Kendo UI TimePicker component for Angular](https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker).
|
|
13691
13854
|
*
|
|
@@ -14067,15 +14230,27 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14067
14230
|
get isControlRequired() {
|
|
14068
14231
|
return isControlRequired(this.control);
|
|
14069
14232
|
}
|
|
14233
|
+
/**
|
|
14234
|
+
* @hidden
|
|
14235
|
+
*/
|
|
14236
|
+
get ariaInvalidState() {
|
|
14237
|
+
const control = this.control?.control;
|
|
14238
|
+
if (!control) {
|
|
14239
|
+
return null;
|
|
14240
|
+
}
|
|
14241
|
+
return control.invalid && (control.touched || control.dirty);
|
|
14242
|
+
}
|
|
14070
14243
|
/**
|
|
14071
14244
|
* @hidden
|
|
14072
14245
|
*/
|
|
14073
14246
|
windowSize;
|
|
14247
|
+
adaptiveAcceptBtnRef;
|
|
14248
|
+
adaptiveCancelBtnRef;
|
|
14074
14249
|
get adaptiveAcceptButton() {
|
|
14075
|
-
return this.
|
|
14250
|
+
return this.adaptiveAcceptBtnRef?.nativeElement;
|
|
14076
14251
|
}
|
|
14077
14252
|
get adaptiveCancelButton() {
|
|
14078
|
-
return this.
|
|
14253
|
+
return this.adaptiveCancelBtnRef?.nativeElement;
|
|
14079
14254
|
}
|
|
14080
14255
|
get inputElement() {
|
|
14081
14256
|
return this.wrapper.nativeElement.querySelector('input');
|
|
@@ -14149,6 +14324,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14149
14324
|
ngAfterViewInit() {
|
|
14150
14325
|
this.setComponentClasses();
|
|
14151
14326
|
this.windowSize = this.adaptiveService.size;
|
|
14327
|
+
this.pickerSubscriptions.add(this.control?.control?.statusChanges?.subscribe(() => this.cdr.markForCheck()));
|
|
14152
14328
|
}
|
|
14153
14329
|
/**
|
|
14154
14330
|
* @hidden
|
|
@@ -14394,7 +14570,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14394
14570
|
* @hidden
|
|
14395
14571
|
*/
|
|
14396
14572
|
get popupClasses() {
|
|
14397
|
-
const popupClasses = ['k-timepicker-popup'];
|
|
14573
|
+
const popupClasses = ['k-timepicker-popup', 'k-list-container'];
|
|
14398
14574
|
if (!this.popupSettings.popupClass) {
|
|
14399
14575
|
return popupClasses;
|
|
14400
14576
|
}
|
|
@@ -14648,8 +14824,8 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14648
14824
|
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
14649
14825
|
}
|
|
14650
14826
|
}
|
|
14651
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
14652
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
14827
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerComponent, deps: [{ token: BusViewService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: i1.IntlService }, { token: i6.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14828
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TimePickerComponent, isStandalone: true, selector: "kendo-timepicker", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", clearButton: "clearButton", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", cancelButton: "cancelButton", nowButton: "nowButton", steps: "steps", popupSettings: "popupSettings", tabindex: "tabindex", tabIndex: "tabIndex", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", rangeValidation: "rangeValidation", adaptiveMode: "adaptiveMode", value: "value", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
14653
14829
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
14654
14830
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
14655
14831
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -14661,8 +14837,9 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14661
14837
|
useValue: 'kendo.timepicker'
|
|
14662
14838
|
},
|
|
14663
14839
|
PickerService,
|
|
14664
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) }
|
|
14665
|
-
|
|
14840
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) },
|
|
14841
|
+
provideComponentName('timepicker')
|
|
14842
|
+
], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }, { propertyName: "adaptiveAcceptBtnRef", first: true, predicate: ["adaptiveAcceptBtn"], descendants: true }, { propertyName: "adaptiveCancelBtnRef", first: true, predicate: ["adaptiveCancelBtn"], descendants: true }], exportAs: ["kendo-timepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
14666
14843
|
<ng-container kendoTimePickerLocalizedMessages
|
|
14667
14844
|
i18n-accept="kendo.timepicker.accept|The Accept button text in the timepicker component"
|
|
14668
14845
|
accept="Set"
|
|
@@ -14705,6 +14882,9 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14705
14882
|
|
|
14706
14883
|
i18n-adaptiveCloseButtonTitle="kendo.timepicker.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
|
|
14707
14884
|
adaptiveCloseButtonTitle="Close"
|
|
14885
|
+
|
|
14886
|
+
i18n-timeSelectorLabel="kendo.timepicker.timeSelectorLabel|The accessible label for the time selector in the timepicker component"
|
|
14887
|
+
timeSelectorLabel="Time Selector"
|
|
14708
14888
|
>
|
|
14709
14889
|
</ng-container>
|
|
14710
14890
|
<kendo-dateinput
|
|
@@ -14712,6 +14892,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14712
14892
|
pickerType="timepicker"
|
|
14713
14893
|
hasPopup="dialog"
|
|
14714
14894
|
[isPopupOpen]="show"
|
|
14895
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
14715
14896
|
[disabled]="disabled"
|
|
14716
14897
|
[clearButton]="clearButton"
|
|
14717
14898
|
[readonly]="readonly || readOnlyInput"
|
|
@@ -14747,6 +14928,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14747
14928
|
type="button"
|
|
14748
14929
|
tabindex="-1"
|
|
14749
14930
|
class="k-input-button k-button k-icon-button"
|
|
14931
|
+
[class.k-disabled]="disabled"
|
|
14750
14932
|
[attr.title]="localization.get('toggle')"
|
|
14751
14933
|
[attr.aria-label]="localization.get('toggle')"
|
|
14752
14934
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -14802,8 +14984,10 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14802
14984
|
type="button"
|
|
14803
14985
|
icon="check"
|
|
14804
14986
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
14987
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
14805
14988
|
[svgIcon]="checkIcon"
|
|
14806
14989
|
fillMode="flat"
|
|
14990
|
+
themeColor="primary"
|
|
14807
14991
|
size="large"
|
|
14808
14992
|
[tabIndex]="-1"
|
|
14809
14993
|
(click)="show = false">
|
|
@@ -14816,10 +15000,10 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14816
15000
|
</div>
|
|
14817
15001
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
|
|
14818
15002
|
<button kendoButton
|
|
15003
|
+
#adaptiveCancelBtn
|
|
14819
15004
|
type="button"
|
|
14820
15005
|
(click)="handleReject()"
|
|
14821
15006
|
size="large"
|
|
14822
|
-
class="k-time-cancel"
|
|
14823
15007
|
[attr.title]="localization.get('cancelLabel')"
|
|
14824
15008
|
[attr.aria-label]="localization.get('cancelLabel')"
|
|
14825
15009
|
>
|
|
@@ -14827,10 +15011,10 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14827
15011
|
</button>
|
|
14828
15012
|
|
|
14829
15013
|
<button kendoButton
|
|
15014
|
+
#adaptiveAcceptBtn
|
|
14830
15015
|
type="button"
|
|
14831
15016
|
(click)="handleActionSheetAccept()"
|
|
14832
15017
|
size="large"
|
|
14833
|
-
class="k-time-accept"
|
|
14834
15018
|
themeColor="primary"
|
|
14835
15019
|
[attr.title]="localization.get('acceptLabel')"
|
|
14836
15020
|
[attr.aria-label]="localization.get('acceptLabel')"
|
|
@@ -14877,13 +15061,14 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14877
15061
|
[second]="localization.get('second')"
|
|
14878
15062
|
[millisecond]="localization.get('millisecond')"
|
|
14879
15063
|
[dayperiod]="localization.get('dayperiod')"
|
|
15064
|
+
[timeSelectorLabel]="localization.get('timeSelectorLabel')"
|
|
14880
15065
|
>
|
|
14881
15066
|
</kendo-timeselector-messages>
|
|
14882
15067
|
</kendo-timeselector>
|
|
14883
15068
|
</ng-template>
|
|
14884
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15069
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "ariaInvalidState", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14885
15070
|
}
|
|
14886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
14887
15072
|
type: Component,
|
|
14888
15073
|
args: [{
|
|
14889
15074
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14900,7 +15085,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14900
15085
|
useValue: 'kendo.timepicker'
|
|
14901
15086
|
},
|
|
14902
15087
|
PickerService,
|
|
14903
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) }
|
|
15088
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) },
|
|
15089
|
+
provideComponentName('timepicker')
|
|
14904
15090
|
],
|
|
14905
15091
|
selector: 'kendo-timepicker',
|
|
14906
15092
|
template: `
|
|
@@ -14946,6 +15132,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14946
15132
|
|
|
14947
15133
|
i18n-adaptiveCloseButtonTitle="kendo.timepicker.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
|
|
14948
15134
|
adaptiveCloseButtonTitle="Close"
|
|
15135
|
+
|
|
15136
|
+
i18n-timeSelectorLabel="kendo.timepicker.timeSelectorLabel|The accessible label for the time selector in the timepicker component"
|
|
15137
|
+
timeSelectorLabel="Time Selector"
|
|
14949
15138
|
>
|
|
14950
15139
|
</ng-container>
|
|
14951
15140
|
<kendo-dateinput
|
|
@@ -14953,6 +15142,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14953
15142
|
pickerType="timepicker"
|
|
14954
15143
|
hasPopup="dialog"
|
|
14955
15144
|
[isPopupOpen]="show"
|
|
15145
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
14956
15146
|
[disabled]="disabled"
|
|
14957
15147
|
[clearButton]="clearButton"
|
|
14958
15148
|
[readonly]="readonly || readOnlyInput"
|
|
@@ -14988,6 +15178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14988
15178
|
type="button"
|
|
14989
15179
|
tabindex="-1"
|
|
14990
15180
|
class="k-input-button k-button k-icon-button"
|
|
15181
|
+
[class.k-disabled]="disabled"
|
|
14991
15182
|
[attr.title]="localization.get('toggle')"
|
|
14992
15183
|
[attr.aria-label]="localization.get('toggle')"
|
|
14993
15184
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -15043,8 +15234,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15043
15234
|
type="button"
|
|
15044
15235
|
icon="check"
|
|
15045
15236
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
15237
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
15046
15238
|
[svgIcon]="checkIcon"
|
|
15047
15239
|
fillMode="flat"
|
|
15240
|
+
themeColor="primary"
|
|
15048
15241
|
size="large"
|
|
15049
15242
|
[tabIndex]="-1"
|
|
15050
15243
|
(click)="show = false">
|
|
@@ -15057,10 +15250,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15057
15250
|
</div>
|
|
15058
15251
|
<div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
|
|
15059
15252
|
<button kendoButton
|
|
15253
|
+
#adaptiveCancelBtn
|
|
15060
15254
|
type="button"
|
|
15061
15255
|
(click)="handleReject()"
|
|
15062
15256
|
size="large"
|
|
15063
|
-
class="k-time-cancel"
|
|
15064
15257
|
[attr.title]="localization.get('cancelLabel')"
|
|
15065
15258
|
[attr.aria-label]="localization.get('cancelLabel')"
|
|
15066
15259
|
>
|
|
@@ -15068,10 +15261,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15068
15261
|
</button>
|
|
15069
15262
|
|
|
15070
15263
|
<button kendoButton
|
|
15264
|
+
#adaptiveAcceptBtn
|
|
15071
15265
|
type="button"
|
|
15072
15266
|
(click)="handleActionSheetAccept()"
|
|
15073
15267
|
size="large"
|
|
15074
|
-
class="k-time-accept"
|
|
15075
15268
|
themeColor="primary"
|
|
15076
15269
|
[attr.title]="localization.get('acceptLabel')"
|
|
15077
15270
|
[attr.aria-label]="localization.get('acceptLabel')"
|
|
@@ -15118,6 +15311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15118
15311
|
[second]="localization.get('second')"
|
|
15119
15312
|
[millisecond]="localization.get('millisecond')"
|
|
15120
15313
|
[dayperiod]="localization.get('dayperiod')"
|
|
15314
|
+
[timeSelectorLabel]="localization.get('timeSelectorLabel')"
|
|
15121
15315
|
>
|
|
15122
15316
|
</kendo-timeselector-messages>
|
|
15123
15317
|
</kendo-timeselector>
|
|
@@ -15218,6 +15412,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15218
15412
|
}], disabledClass: [{
|
|
15219
15413
|
type: HostBinding,
|
|
15220
15414
|
args: ['class.k-disabled']
|
|
15415
|
+
}], adaptiveAcceptBtnRef: [{
|
|
15416
|
+
type: ViewChild,
|
|
15417
|
+
args: ['adaptiveAcceptBtn', { static: false }]
|
|
15418
|
+
}], adaptiveCancelBtnRef: [{
|
|
15419
|
+
type: ViewChild,
|
|
15420
|
+
args: ['adaptiveCancelBtn', { static: false }]
|
|
15221
15421
|
}] } });
|
|
15222
15422
|
|
|
15223
15423
|
/**
|
|
@@ -15312,10 +15512,18 @@ class DateTimePickerMessages extends ComponentMessages {
|
|
|
15312
15512
|
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
15313
15513
|
*/
|
|
15314
15514
|
adaptiveCloseButtonTitle;
|
|
15315
|
-
|
|
15316
|
-
|
|
15515
|
+
/**
|
|
15516
|
+
* The accessible label of the date and time selector container.
|
|
15517
|
+
*/
|
|
15518
|
+
dateTimeSelectorLabel;
|
|
15519
|
+
/**
|
|
15520
|
+
* The accessible label of the time selector element.
|
|
15521
|
+
*/
|
|
15522
|
+
timeSelectorLabel;
|
|
15523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15524
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateTimePickerMessages, isStandalone: true, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", dateTimeSelectorLabel: "dateTimeSelectorLabel", timeSelectorLabel: "timeSelectorLabel" }, usesInheritance: true, ngImport: i0 });
|
|
15317
15525
|
}
|
|
15318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
15319
15527
|
type: Directive,
|
|
15320
15528
|
args: [{
|
|
15321
15529
|
selector: 'kendo-datetimepicker-messages-base'
|
|
@@ -15364,6 +15572,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
15364
15572
|
type: Input
|
|
15365
15573
|
}], adaptiveCloseButtonTitle: [{
|
|
15366
15574
|
type: Input
|
|
15575
|
+
}], dateTimeSelectorLabel: [{
|
|
15576
|
+
type: Input
|
|
15577
|
+
}], timeSelectorLabel: [{
|
|
15578
|
+
type: Input
|
|
15367
15579
|
}] } });
|
|
15368
15580
|
|
|
15369
15581
|
/**
|
|
@@ -15375,15 +15587,15 @@ class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
|
15375
15587
|
super();
|
|
15376
15588
|
this.service = service;
|
|
15377
15589
|
}
|
|
15378
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15379
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
15590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15591
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
15380
15592
|
{
|
|
15381
15593
|
provide: DateTimePickerMessages,
|
|
15382
15594
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
15383
15595
|
}
|
|
15384
15596
|
], usesInheritance: true, ngImport: i0 });
|
|
15385
15597
|
}
|
|
15386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
15387
15599
|
type: Directive,
|
|
15388
15600
|
args: [{
|
|
15389
15601
|
providers: [
|
|
@@ -16112,6 +16324,16 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16112
16324
|
get isControlRequired() {
|
|
16113
16325
|
return isControlRequired(this.formControl);
|
|
16114
16326
|
}
|
|
16327
|
+
/**
|
|
16328
|
+
* @hidden
|
|
16329
|
+
*/
|
|
16330
|
+
get ariaInvalidState() {
|
|
16331
|
+
const control = this.formControl;
|
|
16332
|
+
if (!control) {
|
|
16333
|
+
return null;
|
|
16334
|
+
}
|
|
16335
|
+
return control.invalid && (control.touched || control.dirty);
|
|
16336
|
+
}
|
|
16115
16337
|
popupRef;
|
|
16116
16338
|
_popupSettings = { animate: true };
|
|
16117
16339
|
_value = null;
|
|
@@ -16175,6 +16397,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16175
16397
|
ngAfterViewInit() {
|
|
16176
16398
|
this.setComponentClasses();
|
|
16177
16399
|
this.windowSize = this.adaptiveService.size;
|
|
16400
|
+
this.subscriptions.add(this.formControl?.statusChanges?.subscribe(() => this.cdr.markForCheck()));
|
|
16178
16401
|
}
|
|
16179
16402
|
ngOnChanges(changes) {
|
|
16180
16403
|
if (isPresent(changes['min']) || isPresent(changes['max'])) {
|
|
@@ -16871,8 +17094,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16871
17094
|
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
16872
17095
|
}
|
|
16873
17096
|
}
|
|
16874
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
16875
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
17097
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$2.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i1$1.LocalizationService }, { token: DisabledDatesService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i6.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17098
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DateTimePickerComponent, isStandalone: true, selector: "kendo-datetimepicker", inputs: { focusableId: "focusableId", weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", clearButton: "clearButton", autoFill: "autoFill", adaptiveMode: "adaptiveMode", inputAttributes: "inputAttributes", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode", headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", escape: "escape" }, host: { properties: { "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
|
|
16876
17099
|
PickerService,
|
|
16877
17100
|
LocalizationService,
|
|
16878
17101
|
DisabledDatesService,
|
|
@@ -16881,7 +17104,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16881
17104
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
|
|
16882
17105
|
{ provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
16883
17106
|
{ provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
16884
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) }
|
|
17107
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
17108
|
+
provideComponentName('datetimepicker')
|
|
16885
17109
|
], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datetimepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
16886
17110
|
<ng-container
|
|
16887
17111
|
kendoDateTimePickerLocalizedMessages
|
|
@@ -16951,6 +17175,12 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16951
17175
|
|
|
16952
17176
|
i18n-adaptiveCloseButtonTitle="kendo.datetimepicker.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
|
|
16953
17177
|
adaptiveCloseButtonTitle="Close"
|
|
17178
|
+
|
|
17179
|
+
i18n-dateTimeSelectorLabel="kendo.datetimepicker.dateTimeSelectorLabel|The accessible label of the date and time selector container"
|
|
17180
|
+
dateTimeSelectorLabel="Date and time selector"
|
|
17181
|
+
|
|
17182
|
+
i18n-timeSelectorLabel="kendo.datetimepicker.timeSelectorLabel|The accessible label of the time selector element"
|
|
17183
|
+
timeSelectorLabel="Time selector"
|
|
16954
17184
|
>
|
|
16955
17185
|
</ng-container>
|
|
16956
17186
|
|
|
@@ -16983,6 +17213,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16983
17213
|
hasPopup="dialog"
|
|
16984
17214
|
[inputAttributes]="inputAttributes"
|
|
16985
17215
|
[isPopupOpen]="isOpen"
|
|
17216
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
16986
17217
|
(valueChange)="handleInputValueChange($event)"
|
|
16987
17218
|
[kendoEventsOutsideAngular]="{
|
|
16988
17219
|
keydown: handleKeyDown
|
|
@@ -16999,6 +17230,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16999
17230
|
#toggleButton
|
|
17000
17231
|
type="button"
|
|
17001
17232
|
class="k-input-button k-button k-icon-button"
|
|
17233
|
+
[class.k-disabled]="disabled"
|
|
17002
17234
|
[tabindex]="-1"
|
|
17003
17235
|
[attr.title]="localization.get('toggle')"
|
|
17004
17236
|
[attr.aria-label]="localization.get('toggle')"
|
|
@@ -17068,6 +17300,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17068
17300
|
type="button"
|
|
17069
17301
|
icon="check"
|
|
17070
17302
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
17303
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
17071
17304
|
[svgIcon]="checkIcon"
|
|
17072
17305
|
fillMode="flat"
|
|
17073
17306
|
themeColor="primary"
|
|
@@ -17116,6 +17349,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17116
17349
|
<div
|
|
17117
17350
|
class="k-datetime-wrap k-{{activeTab}}-tab"
|
|
17118
17351
|
[class.k-datetime-wrap-lg]="isAdaptive"
|
|
17352
|
+
role="group"
|
|
17353
|
+
[attr.aria-label]="localization.get('dateTimeSelectorLabel')"
|
|
17119
17354
|
[kendoEventsOutsideAngular]="{
|
|
17120
17355
|
mousedown: preventMouseDown,
|
|
17121
17356
|
keydown: handleKeyDown
|
|
@@ -17211,6 +17446,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17211
17446
|
[second]="localization.get('second')"
|
|
17212
17447
|
[millisecond]="localization.get('millisecond')"
|
|
17213
17448
|
[dayperiod]="localization.get('dayperiod')"
|
|
17449
|
+
[timeSelectorLabel]="localization.get('timeSelectorLabel')"
|
|
17214
17450
|
>
|
|
17215
17451
|
</kendo-timeselector-messages>
|
|
17216
17452
|
</kendo-timeselector>
|
|
@@ -17261,9 +17497,9 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17261
17497
|
}
|
|
17262
17498
|
</div>
|
|
17263
17499
|
</ng-template>
|
|
17264
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: SegmentedControlComponent, selector: "kendo-segmented-control", inputs: ["items", "layoutMode", "size", "selected"], outputs: ["selectedChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17500
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "ariaInvalidState", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: SegmentedControlComponent, selector: "kendo-segmented-control", inputs: ["items", "layoutMode", "size", "selected"], outputs: ["selectedChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17265
17501
|
}
|
|
17266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
17502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
17267
17503
|
type: Component,
|
|
17268
17504
|
args: [{
|
|
17269
17505
|
selector: 'kendo-datetimepicker',
|
|
@@ -17278,7 +17514,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17278
17514
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
|
|
17279
17515
|
{ provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
17280
17516
|
{ provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
17281
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) }
|
|
17517
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) },
|
|
17518
|
+
provideComponentName('datetimepicker')
|
|
17282
17519
|
],
|
|
17283
17520
|
template: `
|
|
17284
17521
|
<ng-container
|
|
@@ -17349,6 +17586,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17349
17586
|
|
|
17350
17587
|
i18n-adaptiveCloseButtonTitle="kendo.datetimepicker.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
|
|
17351
17588
|
adaptiveCloseButtonTitle="Close"
|
|
17589
|
+
|
|
17590
|
+
i18n-dateTimeSelectorLabel="kendo.datetimepicker.dateTimeSelectorLabel|The accessible label of the date and time selector container"
|
|
17591
|
+
dateTimeSelectorLabel="Date and time selector"
|
|
17592
|
+
|
|
17593
|
+
i18n-timeSelectorLabel="kendo.datetimepicker.timeSelectorLabel|The accessible label of the time selector element"
|
|
17594
|
+
timeSelectorLabel="Time selector"
|
|
17352
17595
|
>
|
|
17353
17596
|
</ng-container>
|
|
17354
17597
|
|
|
@@ -17381,6 +17624,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17381
17624
|
hasPopup="dialog"
|
|
17382
17625
|
[inputAttributes]="inputAttributes"
|
|
17383
17626
|
[isPopupOpen]="isOpen"
|
|
17627
|
+
[ariaInvalidState]="ariaInvalidState"
|
|
17384
17628
|
(valueChange)="handleInputValueChange($event)"
|
|
17385
17629
|
[kendoEventsOutsideAngular]="{
|
|
17386
17630
|
keydown: handleKeyDown
|
|
@@ -17397,6 +17641,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17397
17641
|
#toggleButton
|
|
17398
17642
|
type="button"
|
|
17399
17643
|
class="k-input-button k-button k-icon-button"
|
|
17644
|
+
[class.k-disabled]="disabled"
|
|
17400
17645
|
[tabindex]="-1"
|
|
17401
17646
|
[attr.title]="localization.get('toggle')"
|
|
17402
17647
|
[attr.aria-label]="localization.get('toggle')"
|
|
@@ -17466,6 +17711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17466
17711
|
type="button"
|
|
17467
17712
|
icon="check"
|
|
17468
17713
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
17714
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
17469
17715
|
[svgIcon]="checkIcon"
|
|
17470
17716
|
fillMode="flat"
|
|
17471
17717
|
themeColor="primary"
|
|
@@ -17514,6 +17760,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17514
17760
|
<div
|
|
17515
17761
|
class="k-datetime-wrap k-{{activeTab}}-tab"
|
|
17516
17762
|
[class.k-datetime-wrap-lg]="isAdaptive"
|
|
17763
|
+
role="group"
|
|
17764
|
+
[attr.aria-label]="localization.get('dateTimeSelectorLabel')"
|
|
17517
17765
|
[kendoEventsOutsideAngular]="{
|
|
17518
17766
|
mousedown: preventMouseDown,
|
|
17519
17767
|
keydown: handleKeyDown
|
|
@@ -17609,6 +17857,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17609
17857
|
[second]="localization.get('second')"
|
|
17610
17858
|
[millisecond]="localization.get('millisecond')"
|
|
17611
17859
|
[dayperiod]="localization.get('dayperiod')"
|
|
17860
|
+
[timeSelectorLabel]="localization.get('timeSelectorLabel')"
|
|
17612
17861
|
>
|
|
17613
17862
|
</kendo-timeselector-messages>
|
|
17614
17863
|
</kendo-timeselector>
|
|
@@ -17827,10 +18076,10 @@ class WeekNamesService {
|
|
|
17827
18076
|
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
17828
18077
|
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
17829
18078
|
}
|
|
17830
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17831
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
18079
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18080
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
17832
18081
|
}
|
|
17833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
17834
18083
|
type: Injectable,
|
|
17835
18084
|
args: [{
|
|
17836
18085
|
providedIn: 'root'
|
|
@@ -17857,10 +18106,10 @@ class DateRangePopupTemplateDirective {
|
|
|
17857
18106
|
constructor(templateRef) {
|
|
17858
18107
|
this.templateRef = templateRef;
|
|
17859
18108
|
}
|
|
17860
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17861
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18110
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
17862
18111
|
}
|
|
17863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
|
|
17864
18113
|
type: Directive,
|
|
17865
18114
|
args: [{
|
|
17866
18115
|
selector: '[kendoDateRangePopupTemplate]',
|
|
@@ -18075,10 +18324,10 @@ class DateRangeService {
|
|
|
18075
18324
|
setRange(range = EMPTY_SELECTIONRANGE) {
|
|
18076
18325
|
this.range$.next(range);
|
|
18077
18326
|
}
|
|
18078
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18079
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
18327
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeService, deps: [{ token: i0.Renderer2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18328
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeService });
|
|
18080
18329
|
}
|
|
18081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeService, decorators: [{
|
|
18082
18331
|
type: Injectable
|
|
18083
18332
|
}], ctorParameters: () => [{ type: i0.Renderer2, decorators: [{
|
|
18084
18333
|
type: Optional
|
|
@@ -18269,10 +18518,10 @@ class DateRangeSelectionDirective {
|
|
|
18269
18518
|
this.setSelectionRange(range);
|
|
18270
18519
|
this.selectionRangeChange.emit(range);
|
|
18271
18520
|
}
|
|
18272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18273
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18522
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangeSelectionDirective, isStandalone: true, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
|
|
18274
18523
|
}
|
|
18275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
|
|
18276
18525
|
type: Directive,
|
|
18277
18526
|
args: [{
|
|
18278
18527
|
selector: '[kendoDateRangeSelection]',
|
|
@@ -18318,10 +18567,10 @@ class DateRangePopupMessages extends ComponentMessages {
|
|
|
18318
18567
|
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
18319
18568
|
*/
|
|
18320
18569
|
adaptiveCloseButtonTitle;
|
|
18321
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18322
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
18571
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangePopupMessages, isStandalone: true, selector: "kendo-daterangepopup-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
18323
18572
|
}
|
|
18324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupMessages, decorators: [{
|
|
18325
18574
|
type: Directive,
|
|
18326
18575
|
args: [{
|
|
18327
18576
|
selector: 'kendo-daterangepopup-messages-base'
|
|
@@ -18347,15 +18596,15 @@ class DateRangePopupLocalizedMessagesDirective extends DateRangePopupMessages {
|
|
|
18347
18596
|
super();
|
|
18348
18597
|
this.service = service;
|
|
18349
18598
|
}
|
|
18350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18351
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18600
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangePopupLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
18352
18601
|
{
|
|
18353
18602
|
provide: DateRangePopupMessages,
|
|
18354
18603
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
18355
18604
|
}
|
|
18356
18605
|
], usesInheritance: true, ngImport: i0 });
|
|
18357
18606
|
}
|
|
18358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, decorators: [{
|
|
18359
18608
|
type: Directive,
|
|
18360
18609
|
args: [{
|
|
18361
18610
|
providers: [
|
|
@@ -18984,8 +19233,8 @@ class DateRangePopupComponent {
|
|
|
18984
19233
|
this.dateRangeService.setActiveDescendent(id);
|
|
18985
19234
|
}));
|
|
18986
19235
|
};
|
|
18987
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18988
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
19236
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1$2.PopupService }, { token: DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }, { token: i6.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { showCalendarHeader: "showCalendarHeader", focusedDate: "focusedDate", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", min: "min", max: "max", allowReverse: "allowReverse", animateNavigation: "animateNavigation", disabled: "disabled", views: "views", weekNumber: "weekNumber", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", showViewHeader: "showViewHeader", showOtherMonthDays: "showOtherMonthDays", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
|
|
18989
19238
|
LocalizationService,
|
|
18990
19239
|
{
|
|
18991
19240
|
provide: L10N_PREFIX,
|
|
@@ -19074,6 +19323,7 @@ class DateRangePopupComponent {
|
|
|
19074
19323
|
type="button"
|
|
19075
19324
|
icon="check"
|
|
19076
19325
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
19326
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
19077
19327
|
[svgIcon]="checkIcon"
|
|
19078
19328
|
fillMode="flat"
|
|
19079
19329
|
themeColor="primary"
|
|
@@ -19141,7 +19391,7 @@ class DateRangePopupComponent {
|
|
|
19141
19391
|
</kendo-actionsheet>
|
|
19142
19392
|
`, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
19143
19393
|
}
|
|
19144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
19145
19395
|
type: Component,
|
|
19146
19396
|
args: [{
|
|
19147
19397
|
exportAs: 'kendo-daterange-popup',
|
|
@@ -19236,6 +19486,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
19236
19486
|
type="button"
|
|
19237
19487
|
icon="check"
|
|
19238
19488
|
[attr.title]="localization.get('adaptiveCloseButtonTitle')"
|
|
19489
|
+
[attr.aria-label]="localization.get('adaptiveCloseButtonTitle')"
|
|
19239
19490
|
[svgIcon]="checkIcon"
|
|
19240
19491
|
fillMode="flat"
|
|
19241
19492
|
themeColor="primary"
|
|
@@ -19467,10 +19718,11 @@ class DateRangeComponent {
|
|
|
19467
19718
|
ngOnDestroy() {
|
|
19468
19719
|
this.subscription?.unsubscribe();
|
|
19469
19720
|
}
|
|
19470
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
19721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19722
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DateRangeComponent, isStandalone: true, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [
|
|
19472
19723
|
DateRangeService,
|
|
19473
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) }
|
|
19724
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) },
|
|
19725
|
+
provideComponentName('daterange')
|
|
19474
19726
|
], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
19475
19727
|
<ng-content></ng-content>
|
|
19476
19728
|
@if (showDefault) {
|
|
@@ -19478,12 +19730,13 @@ class DateRangeComponent {
|
|
|
19478
19730
|
}
|
|
19479
19731
|
`, isInline: true, dependencies: [{ kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["showCalendarHeader", "focusedDate", "disabledDates", "activeView", "bottomView", "topView", "min", "max", "allowReverse", "animateNavigation", "disabled", "views", "weekNumber", "animate", "anchor", "anchorAlign", "showViewHeader", "showOtherMonthDays", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
|
|
19480
19732
|
}
|
|
19481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
19482
19734
|
type: Component,
|
|
19483
19735
|
args: [{
|
|
19484
19736
|
providers: [
|
|
19485
19737
|
DateRangeService,
|
|
19486
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) }
|
|
19738
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) },
|
|
19739
|
+
provideComponentName('daterange')
|
|
19487
19740
|
],
|
|
19488
19741
|
selector: 'kendo-daterange',
|
|
19489
19742
|
template: `
|
|
@@ -19625,10 +19878,10 @@ class DateRangeInput {
|
|
|
19625
19878
|
this.renderer[action](nativeElement, 'k-focus');
|
|
19626
19879
|
}
|
|
19627
19880
|
}
|
|
19628
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19629
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
19881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeInput, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
19882
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangeInput, isStandalone: true, ngImport: i0 });
|
|
19630
19883
|
}
|
|
19631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeInput, decorators: [{
|
|
19632
19885
|
type: Directive,
|
|
19633
19886
|
args: [{}]
|
|
19634
19887
|
}], ctorParameters: () => [{ type: undefined }, { type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }] });
|
|
@@ -19709,10 +19962,10 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
19709
19962
|
this.dateInput.writeValue(cloneDate(end));
|
|
19710
19963
|
this.dateInput.notify();
|
|
19711
19964
|
}
|
|
19712
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19713
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
19965
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19966
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangeEndInputDirective, isStandalone: true, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
19714
19967
|
}
|
|
19715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
19716
19969
|
type: Directive,
|
|
19717
19970
|
args: [{
|
|
19718
19971
|
selector: '[kendoDateRangeEndInput]',
|
|
@@ -19804,10 +20057,10 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
19804
20057
|
this.dateInput.writeValue(cloneDate(start));
|
|
19805
20058
|
this.dateInput.notify();
|
|
19806
20059
|
}
|
|
19807
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19808
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
20060
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20061
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DateRangeStartInputDirective, isStandalone: true, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
19809
20062
|
}
|
|
19810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
19811
20064
|
type: Directive,
|
|
19812
20065
|
args: [{
|
|
19813
20066
|
selector: '[kendoDateRangeStartInput]',
|
|
@@ -19841,15 +20094,15 @@ class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
|
19841
20094
|
get override() {
|
|
19842
20095
|
return true;
|
|
19843
20096
|
}
|
|
19844
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19845
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
20097
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20098
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
|
|
19846
20099
|
{
|
|
19847
20100
|
provide: DatePickerMessages,
|
|
19848
20101
|
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
19849
20102
|
}
|
|
19850
20103
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
19851
20104
|
}
|
|
19852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
19853
20106
|
type: Component,
|
|
19854
20107
|
args: [{
|
|
19855
20108
|
providers: [
|
|
@@ -19876,15 +20129,15 @@ class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
|
19876
20129
|
get override() {
|
|
19877
20130
|
return true;
|
|
19878
20131
|
}
|
|
19879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19880
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
20132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20133
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: DateRangePopupCustomMessagesComponent, isStandalone: true, selector: "kendo-daterange-popup-messages", providers: [
|
|
19881
20134
|
{
|
|
19882
20135
|
provide: DateRangePopupMessages,
|
|
19883
20136
|
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
19884
20137
|
}
|
|
19885
20138
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
19886
20139
|
}
|
|
19887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
19888
20141
|
type: Component,
|
|
19889
20142
|
args: [{
|
|
19890
20143
|
providers: [
|
|
@@ -19920,15 +20173,15 @@ class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
|
19920
20173
|
get override() {
|
|
19921
20174
|
return true;
|
|
19922
20175
|
}
|
|
19923
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19924
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
20176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20177
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: DateTimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datetimepicker-messages", providers: [
|
|
19925
20178
|
{
|
|
19926
20179
|
provide: DateTimePickerMessages,
|
|
19927
20180
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
19928
20181
|
}
|
|
19929
20182
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
19930
20183
|
}
|
|
19931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
19932
20185
|
type: Component,
|
|
19933
20186
|
args: [{
|
|
19934
20187
|
providers: [
|
|
@@ -19966,15 +20219,15 @@ class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
|
19966
20219
|
get override() {
|
|
19967
20220
|
return true;
|
|
19968
20221
|
}
|
|
19969
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
19970
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
20222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20223
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: TimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-timepicker-messages", providers: [
|
|
19971
20224
|
{
|
|
19972
20225
|
provide: TimePickerMessages,
|
|
19973
20226
|
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
19974
20227
|
}
|
|
19975
20228
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
19976
20229
|
}
|
|
19977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
19978
20231
|
type: Component,
|
|
19979
20232
|
args: [{
|
|
19980
20233
|
providers: [
|
|
@@ -20133,9 +20386,9 @@ const KENDO_DATEINPUTS = [
|
|
|
20133
20386
|
* ```
|
|
20134
20387
|
*/
|
|
20135
20388
|
class CalendarModule {
|
|
20136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20137
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20138
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20390
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: CalendarModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective] });
|
|
20391
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarModule, providers: [
|
|
20139
20392
|
IconsService,
|
|
20140
20393
|
ResizeBatchService,
|
|
20141
20394
|
CalendarDOMService,
|
|
@@ -20147,7 +20400,7 @@ class CalendarModule {
|
|
|
20147
20400
|
NavigationService
|
|
20148
20401
|
], imports: [CalendarComponent] });
|
|
20149
20402
|
}
|
|
20150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarModule, decorators: [{
|
|
20151
20404
|
type: NgModule,
|
|
20152
20405
|
args: [{
|
|
20153
20406
|
exports: [...KENDO_CALENDAR],
|
|
@@ -20191,9 +20444,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20191
20444
|
* ```
|
|
20192
20445
|
*/
|
|
20193
20446
|
class CalendarsModule {
|
|
20194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20195
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20196
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20448
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: CalendarsModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective] });
|
|
20449
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarsModule, providers: [
|
|
20197
20450
|
IconsService,
|
|
20198
20451
|
ResizeBatchService,
|
|
20199
20452
|
CalendarDOMService,
|
|
@@ -20205,7 +20458,7 @@ class CalendarsModule {
|
|
|
20205
20458
|
NavigationService
|
|
20206
20459
|
], imports: [CalendarComponent, MultiViewCalendarComponent] });
|
|
20207
20460
|
}
|
|
20208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
20209
20462
|
type: NgModule,
|
|
20210
20463
|
args: [{
|
|
20211
20464
|
exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
@@ -20243,13 +20496,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20243
20496
|
* ```
|
|
20244
20497
|
*/
|
|
20245
20498
|
class DateInputModule {
|
|
20246
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20247
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20248
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20499
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20500
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DateInputModule, imports: [DateInputCustomMessagesComponent, DateInputComponent], exports: [DateInputCustomMessagesComponent, DateInputComponent] });
|
|
20501
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputModule, providers: [
|
|
20249
20502
|
IconsService
|
|
20250
20503
|
], imports: [DateInputComponent] });
|
|
20251
20504
|
}
|
|
20252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputModule, decorators: [{
|
|
20253
20506
|
type: NgModule,
|
|
20254
20507
|
args: [{
|
|
20255
20508
|
exports: [...KENDO_DATEINPUT],
|
|
@@ -20275,9 +20528,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20275
20528
|
* ```
|
|
20276
20529
|
*/
|
|
20277
20530
|
class DatePickerModule {
|
|
20278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20279
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20280
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20531
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20532
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DatePickerModule, imports: [DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective], exports: [DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective] });
|
|
20533
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerModule, providers: [
|
|
20281
20534
|
// DateInputModule providers
|
|
20282
20535
|
IconsService,
|
|
20283
20536
|
// CalendarModule providers
|
|
@@ -20292,7 +20545,7 @@ class DatePickerModule {
|
|
|
20292
20545
|
AdaptiveService
|
|
20293
20546
|
], imports: [DatePickerComponent] });
|
|
20294
20547
|
}
|
|
20295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
20296
20549
|
type: NgModule,
|
|
20297
20550
|
args: [{
|
|
20298
20551
|
exports: [...KENDO_DATEPICKER, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -20347,9 +20600,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20347
20600
|
* ```
|
|
20348
20601
|
*/
|
|
20349
20602
|
class DateInputsModule {
|
|
20350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20351
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20352
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20603
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20604
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DateInputsModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, i19.ToggleButtonTabStopDirective, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, i19.ToggleButtonTabStopDirective, TimePickerCustomMessagesComponent, TimePickerComponent, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, i19.ToggleButtonTabStopDirective, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, i19.ToggleButtonTabStopDirective, TimePickerCustomMessagesComponent, TimePickerComponent, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective] });
|
|
20605
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputsModule, providers: [
|
|
20353
20606
|
// CalendarModule providers
|
|
20354
20607
|
IconsService,
|
|
20355
20608
|
ResizeBatchService,
|
|
@@ -20370,7 +20623,7 @@ class DateInputsModule {
|
|
|
20370
20623
|
AdaptiveService
|
|
20371
20624
|
], imports: [CalendarComponent, MultiViewCalendarComponent, DateInputComponent, DatePickerComponent, DateInputComponent, DateRangeComponent, DateRangePopupComponent, DateTimePickerComponent, TimePickerComponent] });
|
|
20372
20625
|
}
|
|
20373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
20374
20627
|
type: NgModule,
|
|
20375
20628
|
args: [{
|
|
20376
20629
|
exports: [...KENDO_DATEINPUTS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -20415,9 +20668,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20415
20668
|
* ```
|
|
20416
20669
|
*/
|
|
20417
20670
|
class TimePickerModule {
|
|
20418
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20419
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20420
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20671
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20672
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: TimePickerModule, imports: [TimePickerCustomMessagesComponent, TimePickerComponent, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective], exports: [TimePickerCustomMessagesComponent, TimePickerComponent, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective] });
|
|
20673
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerModule, providers: [
|
|
20421
20674
|
IconsService,
|
|
20422
20675
|
PopupService,
|
|
20423
20676
|
ResizeBatchService,
|
|
@@ -20430,7 +20683,7 @@ class TimePickerModule {
|
|
|
20430
20683
|
AdaptiveService
|
|
20431
20684
|
], imports: [TimePickerComponent] });
|
|
20432
20685
|
}
|
|
20433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
20434
20687
|
type: NgModule,
|
|
20435
20688
|
args: [{
|
|
20436
20689
|
exports: [...KENDO_TIMEPICKER, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -20470,9 +20723,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20470
20723
|
* ```
|
|
20471
20724
|
*/
|
|
20472
20725
|
class DateTimePickerModule {
|
|
20473
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20474
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20475
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20726
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20727
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerModule, imports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective], exports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, i19.ToggleButtonTabStopDirective, i19.ToggleButtonTabStopDirective] });
|
|
20728
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
20476
20729
|
// CalendarModule providers
|
|
20477
20730
|
IconsService,
|
|
20478
20731
|
ResizeBatchService,
|
|
@@ -20493,7 +20746,7 @@ class DateTimePickerModule {
|
|
|
20493
20746
|
AdaptiveService
|
|
20494
20747
|
], imports: [DateTimePickerComponent] });
|
|
20495
20748
|
}
|
|
20496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
20497
20750
|
type: NgModule,
|
|
20498
20751
|
args: [{
|
|
20499
20752
|
exports: [...KENDO_DATETIMEPICKER, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -20559,9 +20812,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20559
20812
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
20560
20813
|
*/
|
|
20561
20814
|
class MultiViewCalendarModule {
|
|
20562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20563
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20564
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20816
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarModule, imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective], exports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective] });
|
|
20817
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
20565
20818
|
PopupService,
|
|
20566
20819
|
NavigationService,
|
|
20567
20820
|
CenturyViewService,
|
|
@@ -20570,7 +20823,7 @@ class MultiViewCalendarModule {
|
|
|
20570
20823
|
YearViewService
|
|
20571
20824
|
], imports: [MultiViewCalendarComponent] });
|
|
20572
20825
|
}
|
|
20573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
20574
20827
|
type: NgModule,
|
|
20575
20828
|
args: [{
|
|
20576
20829
|
exports: [...KENDO_MULTIVIEWCALENDAR],
|
|
@@ -20626,9 +20879,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
20626
20879
|
* ```
|
|
20627
20880
|
*/
|
|
20628
20881
|
class DateRangeModule {
|
|
20629
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
20630
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
20631
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
20882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20883
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DateRangeModule, imports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective], exports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective] });
|
|
20884
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeModule, providers: [
|
|
20632
20885
|
// MultiViewCalendarModule providers
|
|
20633
20886
|
PopupService,
|
|
20634
20887
|
NavigationService,
|
|
@@ -20643,7 +20896,7 @@ class DateRangeModule {
|
|
|
20643
20896
|
AdaptiveService
|
|
20644
20897
|
], imports: [DateInputComponent, DateRangeComponent, DateRangePopupComponent] });
|
|
20645
20898
|
}
|
|
20646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
20899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
20647
20900
|
type: NgModule,
|
|
20648
20901
|
args: [{
|
|
20649
20902
|
exports: [...KENDO_DATERANGE],
|