@progress/kendo-angular-dateinputs 16.5.0 → 16.6.0-develop.10
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 +12 -19
- package/calendar/calendar.component.d.ts +1 -1
- package/calendar/calendar.module.d.ts +13 -13
- package/calendar/calendars.module.d.ts +15 -3
- package/calendar/footer.component.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +1 -1
- package/calendar/horizontal-view-list.component.d.ts +1 -1
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +1 -1
- package/calendar/multiview-calendar.module.d.ts +13 -11
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/templates/cell-template.directive.d.ts +1 -1
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/footer-template.directive.d.ts +1 -1
- package/calendar/templates/header-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +1 -1
- package/common/adaptive.module.d.ts +5 -4
- package/dateinput/dateinput.component.d.ts +2 -5
- package/dateinput/dateinput.module.d.ts +3 -8
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinputs.module.d.ts +30 -7
- package/datepicker/datepicker.component.d.ts +4 -8
- package/datepicker/datepicker.module.d.ts +13 -13
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +1 -1
- package/daterange/date-range-selection.directive.d.ts +1 -1
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/date-range.module.d.ts +10 -15
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +3 -7
- package/datetimepicker/datetimepicker.module.d.ts +13 -14
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/directives.d.ts +65 -0
- package/esm2020/calendar/calendar.component.mjs +9 -11
- package/esm2020/calendar/calendar.module.mjs +34 -69
- package/esm2020/calendar/calendars.module.mjs +52 -15
- package/esm2020/calendar/footer.component.mjs +7 -5
- package/esm2020/calendar/for.directive.mjs +5 -2
- package/esm2020/calendar/header.component.mjs +8 -6
- package/esm2020/calendar/horizontal-view-list.component.mjs +8 -6
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/multiview-calendar.component.mjs +8 -8
- package/esm2020/calendar/multiview-calendar.module.mjs +23 -55
- package/esm2020/calendar/navigation.component.mjs +8 -7
- package/esm2020/calendar/services/century-view.service.mjs +5 -2
- package/esm2020/calendar/services/decade-view.service.mjs +5 -2
- package/esm2020/calendar/services/dom.service.mjs +5 -2
- package/esm2020/calendar/services/month-view.service.mjs +5 -2
- package/esm2020/calendar/services/navigation.service.mjs +5 -2
- package/esm2020/calendar/services/weeknames.service.mjs +5 -2
- package/esm2020/calendar/services/year-view.service.mjs +5 -2
- package/esm2020/calendar/templates/cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/footer-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/view-list.component.mjs +9 -9
- package/esm2020/calendar/view.component.mjs +7 -5
- package/esm2020/common/adaptive.module.mjs +25 -17
- package/esm2020/dateinput/dateinput.component.mjs +11 -13
- package/esm2020/dateinput/dateinput.module.mjs +14 -24
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -2
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -2
- package/esm2020/dateinputs.module.mjs +90 -33
- package/esm2020/datepicker/datepicker.component.mjs +23 -32
- package/esm2020/datepicker/datepicker.module.mjs +55 -63
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/daterange/date-range-end-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup.component.mjs +10 -11
- package/esm2020/daterange/date-range-selection.directive.mjs +3 -2
- package/esm2020/daterange/date-range-start-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range.component.mjs +6 -5
- package/esm2020/daterange/date-range.module.mjs +51 -54
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -2
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -2
- package/esm2020/datetimepicker/datetimepicker.component.mjs +24 -31
- package/esm2020/datetimepicker/datetimepicker.module.mjs +70 -68
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/directives.mjs +142 -0
- package/esm2020/index.mjs +14 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/services/dayperiod.service.mjs +5 -2
- package/esm2020/timepicker/services/dom.service.mjs +5 -2
- package/esm2020/timepicker/services/hours.service.mjs +5 -2
- package/esm2020/timepicker/services/milliseconds.service.mjs +5 -2
- package/esm2020/timepicker/services/minutes.service.mjs +5 -2
- package/esm2020/timepicker/services/seconds.service.mjs +5 -2
- package/esm2020/timepicker/timelist.component.mjs +7 -7
- package/esm2020/timepicker/timepicker.component.mjs +22 -41
- package/esm2020/timepicker/timepicker.module.mjs +34 -75
- package/esm2020/timepicker/timeselector.component.mjs +8 -8
- package/esm2020/virtualization/virtualization.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +1229 -1310
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +975 -1050
- package/index.d.ts +14 -2
- package/package.json +10 -10
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +3 -13
- package/timepicker/timepicker.module.d.ts +3 -16
- package/timepicker/timeselector.component.d.ts +1 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/calendar/calendar-common.module.d.ts +0 -27
- package/calendar/templates.module.d.ts +0 -35
- package/esm2020/calendar/calendar-common.module.mjs +0 -52
- package/esm2020/calendar/templates.module.mjs +0 -83
- package/esm2020/touch-enabled.mjs +0 -9
- package/esm2020/virtualization/virtualization.module.mjs +0 -30
- package/touch-enabled.d.ts +0 -9
- package/virtualization/virtualization.module.d.ts +0 -18
|
@@ -12,12 +12,12 @@ import { cloneDate, weekInYear } from '@progress/kendo-date-math';
|
|
|
12
12
|
import { getToday, last, setTime, stringifyClassObject } from '../util';
|
|
13
13
|
import { closestInScope } from '../common/dom-queries';
|
|
14
14
|
import { isPresent } from '../common/utils';
|
|
15
|
+
import { KForOf } from './for.directive';
|
|
16
|
+
import { NgIf, NgTemplateOutlet, NgClass } from '@angular/common';
|
|
15
17
|
import * as i0 from "@angular/core";
|
|
16
18
|
import * as i1 from "./services/bus-view.service";
|
|
17
19
|
import * as i2 from "@progress/kendo-angular-intl";
|
|
18
20
|
import * as i3 from "./services/disabled-dates.service";
|
|
19
|
-
import * as i4 from "@angular/common";
|
|
20
|
-
import * as i5 from "./for.directive";
|
|
21
21
|
/**
|
|
22
22
|
* @hidden
|
|
23
23
|
*/
|
|
@@ -235,7 +235,7 @@ export class ViewComponent {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
238
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewComponent, 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: `
|
|
238
|
+
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
|
239
239
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
240
240
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
241
241
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -282,7 +282,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
282
282
|
</td>
|
|
283
283
|
</ng-container>
|
|
284
284
|
</tr>
|
|
285
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
285
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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"] }] });
|
|
286
286
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, decorators: [{
|
|
287
287
|
type: Component,
|
|
288
288
|
args: [{
|
|
@@ -335,7 +335,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
335
335
|
</td>
|
|
336
336
|
</ng-container>
|
|
337
337
|
</tr>
|
|
338
|
-
|
|
338
|
+
`,
|
|
339
|
+
standalone: true,
|
|
340
|
+
imports: [NgIf, KForOf, NgTemplateOutlet, NgClass]
|
|
339
341
|
}]
|
|
340
342
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: { allowReverse: [{
|
|
341
343
|
type: Input
|
|
@@ -3,34 +3,42 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
7
|
+
import { KENDO_NAVIGATION } from '@progress/kendo-angular-navigation';
|
|
8
|
+
import { KENDO_RESIZESENSOR, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
import * as i1 from "@progress/kendo-angular-common";
|
|
12
|
+
import * as i2 from "@progress/kendo-angular-buttons";
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-navigation";
|
|
14
|
+
const KENDO_ADAPTIVE = [
|
|
15
|
+
...KENDO_RESIZESENSOR,
|
|
16
|
+
...KENDO_BUTTON,
|
|
17
|
+
...KENDO_NAVIGATION
|
|
14
18
|
];
|
|
19
|
+
//IMPORTANT: This module is not needed and can be removed in the following major release.
|
|
20
|
+
//The reason to keep it is that the module used to be public prior the migration to standalone.
|
|
15
21
|
/**
|
|
22
|
+
* @hidden
|
|
16
23
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
17
24
|
* definition for the modules specific to the Adaptive Mode.
|
|
18
25
|
*/
|
|
19
26
|
export class AdaptiveModule {
|
|
20
27
|
}
|
|
21
28
|
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
-
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
28
|
-
ResizeSensorModule,
|
|
29
|
-
ButtonModule] });
|
|
29
|
+
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective], exports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective] });
|
|
30
|
+
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, providers: [
|
|
31
|
+
ResizeBatchService,
|
|
32
|
+
IconsService
|
|
33
|
+
], imports: [i1.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BreadCrumbComponent] });
|
|
30
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
31
35
|
type: NgModule,
|
|
32
36
|
args: [{
|
|
33
|
-
imports: [...
|
|
34
|
-
exports: [...
|
|
37
|
+
imports: [...KENDO_ADAPTIVE],
|
|
38
|
+
exports: [...KENDO_ADAPTIVE],
|
|
39
|
+
providers: [
|
|
40
|
+
ResizeBatchService,
|
|
41
|
+
IconsService
|
|
42
|
+
]
|
|
35
43
|
}]
|
|
36
44
|
}] });
|
|
@@ -12,7 +12,7 @@ import { IntlService, localeData } from '@progress/kendo-angular-intl';
|
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import { packageMetadata } from '../package-metadata';
|
|
14
14
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
15
|
-
import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged } from '@progress/kendo-angular-common';
|
|
15
|
+
import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
16
16
|
import { Arrow } from './arrow.enum';
|
|
17
17
|
import { noop, isValidRange, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
|
|
18
18
|
import { PickerService } from '../common/picker.service';
|
|
@@ -21,14 +21,13 @@ import { requiresZoneOnBlur, isPresent, attributeNames } from '../common/utils';
|
|
|
21
21
|
import { Subscription } from 'rxjs';
|
|
22
22
|
import { caretAltDownIcon, caretAltUpIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
23
23
|
import { DateInput } from '@progress/kendo-dateinputs-common';
|
|
24
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
25
|
+
import { NgIf } from '@angular/common';
|
|
26
|
+
import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
|
|
24
27
|
import * as i0 from "@angular/core";
|
|
25
28
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
26
29
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
27
30
|
import * as i3 from "../common/picker.service";
|
|
28
|
-
import * as i4 from "@angular/common";
|
|
29
|
-
import * as i5 from "@progress/kendo-angular-common";
|
|
30
|
-
import * as i6 from "@progress/kendo-angular-icons";
|
|
31
|
-
import * as i7 from "./localization/dateinput-localized-messages.directive";
|
|
32
31
|
let nextId = 0;
|
|
33
32
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-min';
|
|
34
33
|
const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-max';
|
|
@@ -181,10 +180,7 @@ export class DateInputComponent {
|
|
|
181
180
|
*/
|
|
182
181
|
this.rangeValidation = true;
|
|
183
182
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
187
|
-
* TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
|
|
183
|
+
* Determines whether to autocorrect invalid segments automatically.
|
|
188
184
|
*
|
|
189
185
|
* @default true
|
|
190
186
|
*/
|
|
@@ -615,7 +611,7 @@ export class DateInputComponent {
|
|
|
615
611
|
this.kendoDate?.setOptions(this.options, true);
|
|
616
612
|
this.updateFormatSections();
|
|
617
613
|
}
|
|
618
|
-
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
|
|
614
|
+
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode', 'autoCorrectParts'], changes)) {
|
|
619
615
|
if (!this.kendoDate) {
|
|
620
616
|
return;
|
|
621
617
|
}
|
|
@@ -894,7 +890,7 @@ export class DateInputComponent {
|
|
|
894
890
|
}
|
|
895
891
|
}
|
|
896
892
|
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.LocalizationService }, { token: i3.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
897
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, 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", 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-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
893
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", 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-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
898
894
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
899
895
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
900
896
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -988,7 +984,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
988
984
|
</kendo-icon-wrapper>
|
|
989
985
|
</button>
|
|
990
986
|
</span>
|
|
991
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
987
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
992
988
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
993
989
|
type: Component,
|
|
994
990
|
args: [{
|
|
@@ -1090,7 +1086,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1090
1086
|
</kendo-icon-wrapper>
|
|
1091
1087
|
</button>
|
|
1092
1088
|
</span>
|
|
1093
|
-
|
|
1089
|
+
`,
|
|
1090
|
+
standalone: true,
|
|
1091
|
+
imports: [DateInputLocalizedMessagesDirective, EventsOutsideAngularDirective, NgIf, IconWrapperComponent]
|
|
1094
1092
|
}]
|
|
1095
1093
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.LocalizationService }, { type: i3.PickerService, decorators: [{
|
|
1096
1094
|
type: Optional
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { IntlModule } from '@progress/kendo-angular-intl';
|
|
9
|
-
import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
|
|
10
|
-
import { DateInputCustomMessagesComponent } from './localization/dateinput-custom-messages.component';
|
|
11
|
-
import { EventsModule } from '@progress/kendo-angular-common';
|
|
12
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
6
|
+
import { KENDO_DATEINPUT } from '../directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
13
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "./localization/dateinput-custom-messages.component";
|
|
10
|
+
import * as i2 from "./dateinput.component";
|
|
11
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
14
12
|
/**
|
|
15
13
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
16
14
|
* definition for the DateInput component.
|
|
@@ -18,25 +16,17 @@ import * as i0 from "@angular/core";
|
|
|
18
16
|
export class DateInputModule {
|
|
19
17
|
}
|
|
20
18
|
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
-
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
DateInputLocalizedMessagesDirective] });
|
|
26
|
-
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [CommonModule, IntlModule, EventsModule, IconsModule] });
|
|
19
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [i1.DateInputCustomMessagesComponent, i2.DateInputComponent], exports: [i1.DateInputCustomMessagesComponent, i2.DateInputComponent] });
|
|
20
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, providers: [
|
|
21
|
+
IconsService
|
|
22
|
+
], imports: [KENDO_DATEINPUT] });
|
|
27
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, decorators: [{
|
|
28
24
|
type: NgModule,
|
|
29
25
|
args: [{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
]
|
|
35
|
-
exports: [
|
|
36
|
-
DateInputComponent,
|
|
37
|
-
DateInputCustomMessagesComponent,
|
|
38
|
-
DateInputLocalizedMessagesDirective
|
|
39
|
-
],
|
|
40
|
-
imports: [CommonModule, IntlModule, EventsModule, IconsModule]
|
|
26
|
+
exports: [...KENDO_DATEINPUT],
|
|
27
|
+
imports: [...KENDO_DATEINPUT],
|
|
28
|
+
providers: [
|
|
29
|
+
IconsService
|
|
30
|
+
]
|
|
41
31
|
}]
|
|
42
32
|
}] });
|
|
@@ -20,7 +20,7 @@ export class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
|
|
23
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, isStandalone: true, selector: "kendo-dateinput-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: DateInputMessages,
|
|
26
26
|
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-dateinput-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
20
|
+
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: DateInputMessages,
|
|
23
23
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoDateInputLocalizedMessages]'
|
|
35
|
+
selector: '[kendoDateInputLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -3,21 +3,54 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
6
|
+
import { KENDO_DATEINPUTS } from './directives';
|
|
7
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
|
+
import { CenturyViewService } from './calendar/services/century-view.service';
|
|
11
|
+
import { DecadeViewService } from './calendar/services/decade-view.service';
|
|
12
|
+
import { CalendarDOMService } from './calendar/services/dom.service';
|
|
13
|
+
import { MonthViewService } from './calendar/services/month-view.service';
|
|
14
|
+
import { NavigationService } from './calendar/services/navigation.service';
|
|
15
|
+
import { WeekNamesService } from './calendar/services/weeknames.service';
|
|
16
|
+
import { YearViewService } from './calendar/services/year-view.service';
|
|
17
|
+
import { DayPeriodService } from './timepicker/services/dayperiod.service';
|
|
18
|
+
import { TimePickerDOMService } from './timepicker/services/dom.service';
|
|
19
|
+
import { HoursService } from './timepicker/services/hours.service';
|
|
20
|
+
import { MillisecondsService } from './timepicker/services/milliseconds.service';
|
|
21
|
+
import { MinutesService } from './timepicker/services/minutes.service';
|
|
22
|
+
import { SecondsService } from './timepicker/services/seconds.service';
|
|
12
23
|
import * as i0 from "@angular/core";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
import * as i1 from "./calendar/localization/calendar-custom-messages.component";
|
|
25
|
+
import * as i2 from "./calendar/calendar.component";
|
|
26
|
+
import * as i3 from "./calendar/templates/cell-template.directive";
|
|
27
|
+
import * as i4 from "./calendar/templates/century-cell-template.directive";
|
|
28
|
+
import * as i5 from "./calendar/templates/decade-cell-template.directive";
|
|
29
|
+
import * as i6 from "./calendar/templates/footer-template.directive";
|
|
30
|
+
import * as i7 from "./calendar/templates/header-template.directive";
|
|
31
|
+
import * as i8 from "./calendar/templates/header-title-template.directive";
|
|
32
|
+
import * as i9 from "./calendar/templates/month-cell-template.directive";
|
|
33
|
+
import * as i10 from "./calendar/templates/navigation-item-template.directive";
|
|
34
|
+
import * as i11 from "./calendar/templates/weeknumber-cell-template.directive";
|
|
35
|
+
import * as i12 from "./calendar/templates/year-cell-template.directive";
|
|
36
|
+
import * as i13 from "./calendar/localization/multiview-calendar-custom-messages.component";
|
|
37
|
+
import * as i14 from "./calendar/multiview-calendar.component";
|
|
38
|
+
import * as i15 from "./dateinput/localization/dateinput-custom-messages.component";
|
|
39
|
+
import * as i16 from "./dateinput/dateinput.component";
|
|
40
|
+
import * as i17 from "./datepicker/localization/datepicker-custom-messages.component";
|
|
41
|
+
import * as i18 from "./datepicker/datepicker.component";
|
|
42
|
+
import * as i19 from "./daterange/localization/daterange-popup-custom-messages.component";
|
|
43
|
+
import * as i20 from "./daterange/date-range-end-input.directive";
|
|
44
|
+
import * as i21 from "./daterange/date-range-popup-template.directive";
|
|
45
|
+
import * as i22 from "./daterange/date-range.component";
|
|
46
|
+
import * as i23 from "./daterange/date-range-popup.component";
|
|
47
|
+
import * as i24 from "./daterange/date-range-selection.directive";
|
|
48
|
+
import * as i25 from "./daterange/date-range-start-input.directive";
|
|
49
|
+
import * as i26 from "./datetimepicker/localization/datetimepicker-custom-messages.component";
|
|
50
|
+
import * as i27 from "./datetimepicker/datetimepicker.component";
|
|
51
|
+
import * as i28 from "./timepicker/localization/timepicker-custom-messages.component";
|
|
52
|
+
import * as i29 from "./timepicker/timepicker.component";
|
|
53
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
21
54
|
/**
|
|
22
55
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
23
56
|
* definition for the Date Inputs components.
|
|
@@ -52,27 +85,51 @@ const COMPONENT_MODULES = [
|
|
|
52
85
|
export class DateInputsModule {
|
|
53
86
|
}
|
|
54
87
|
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55
|
-
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, imports: [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
88
|
+
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i17.DatePickerCustomMessagesComponent, i18.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i19.DateRangePopupCustomMessagesComponent, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i20.DateRangeEndInputDirective, i21.DateRangePopupTemplateDirective, i22.DateRangeComponent, i23.DateRangePopupComponent, i24.DateRangeSelectionDirective, i25.DateRangeStartInputDirective, i26.DateTimePickerCustomMessagesComponent, i27.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i28.TimePickerCustomMessagesComponent, i29.TimePickerComponent], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i17.DatePickerCustomMessagesComponent, i18.DatePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i19.DateRangePopupCustomMessagesComponent, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i20.DateRangeEndInputDirective, i21.DateRangePopupTemplateDirective, i22.DateRangeComponent, i23.DateRangePopupComponent, i24.DateRangeSelectionDirective, i25.DateRangeStartInputDirective, i26.DateTimePickerCustomMessagesComponent, i27.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i28.TimePickerCustomMessagesComponent, i29.TimePickerComponent] });
|
|
89
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, providers: [
|
|
90
|
+
// CalendarModule providers
|
|
91
|
+
IconsService,
|
|
92
|
+
ResizeBatchService,
|
|
93
|
+
CalendarDOMService,
|
|
94
|
+
CenturyViewService,
|
|
95
|
+
DecadeViewService,
|
|
96
|
+
MonthViewService,
|
|
97
|
+
YearViewService,
|
|
98
|
+
WeekNamesService,
|
|
99
|
+
PopupService,
|
|
100
|
+
NavigationService,
|
|
101
|
+
// TimePickerModule providers
|
|
102
|
+
TimePickerDOMService,
|
|
103
|
+
HoursService,
|
|
104
|
+
MinutesService,
|
|
105
|
+
SecondsService,
|
|
106
|
+
MillisecondsService,
|
|
107
|
+
DayPeriodService
|
|
108
|
+
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i17.DatePickerCustomMessagesComponent, i18.DatePickerComponent, i19.DateRangePopupCustomMessagesComponent, i15.DateInputCustomMessagesComponent, i16.DateInputComponent, i22.DateRangeComponent, i23.DateRangePopupComponent, i26.DateTimePickerCustomMessagesComponent, i27.DateTimePickerComponent, i28.TimePickerCustomMessagesComponent, i29.TimePickerComponent] });
|
|
72
109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
73
110
|
type: NgModule,
|
|
74
111
|
args: [{
|
|
75
|
-
exports:
|
|
76
|
-
imports:
|
|
112
|
+
exports: [...KENDO_DATEINPUTS],
|
|
113
|
+
imports: [...KENDO_DATEINPUTS],
|
|
114
|
+
providers: [
|
|
115
|
+
// CalendarModule providers
|
|
116
|
+
IconsService,
|
|
117
|
+
ResizeBatchService,
|
|
118
|
+
CalendarDOMService,
|
|
119
|
+
CenturyViewService,
|
|
120
|
+
DecadeViewService,
|
|
121
|
+
MonthViewService,
|
|
122
|
+
YearViewService,
|
|
123
|
+
WeekNamesService,
|
|
124
|
+
PopupService,
|
|
125
|
+
NavigationService,
|
|
126
|
+
// TimePickerModule providers
|
|
127
|
+
TimePickerDOMService,
|
|
128
|
+
HoursService,
|
|
129
|
+
MinutesService,
|
|
130
|
+
SecondsService,
|
|
131
|
+
MillisecondsService,
|
|
132
|
+
DayPeriodService
|
|
133
|
+
]
|
|
77
134
|
}]
|
|
78
135
|
}] });
|