@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
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, Ev
|
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
9
|
-
import { hasObservers, KendoInput, guid, Keys, isObject } from '@progress/kendo-angular-common';
|
|
9
|
+
import { hasObservers, KendoInput, guid, Keys, isObject, ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
12
|
import { MultiViewCalendarComponent } from './multiview-calendar.component';
|
|
@@ -38,6 +38,9 @@ import { requiresZoneOnBlur, preventDefault, isPresent, isArrowWithShiftPressed,
|
|
|
38
38
|
import { from as fromPromise } from 'rxjs';
|
|
39
39
|
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
40
40
|
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
41
|
+
import { MultiViewCalendarCustomMessagesComponent } from './localization/multiview-calendar-custom-messages.component';
|
|
42
|
+
import { NgIf } from '@angular/common';
|
|
43
|
+
import { CalendarLocalizedMessagesDirective } from './localization/calendar-localized-messages.directive';
|
|
41
44
|
import * as i0 from "@angular/core";
|
|
42
45
|
import * as i1 from "./services/bus-view.service";
|
|
43
46
|
import * as i2 from "./services/dom.service";
|
|
@@ -47,13 +50,6 @@ import * as i5 from "./services/disabled-dates.service";
|
|
|
47
50
|
import * as i6 from "@progress/kendo-angular-l10n";
|
|
48
51
|
import * as i7 from "./services/selection.service";
|
|
49
52
|
import * as i8 from "../common/picker.service";
|
|
50
|
-
import * as i9 from "@angular/common";
|
|
51
|
-
import * as i10 from "./localization/multiview-calendar-custom-messages.component";
|
|
52
|
-
import * as i11 from "./multiview-calendar.component";
|
|
53
|
-
import * as i12 from "@progress/kendo-angular-common";
|
|
54
|
-
import * as i13 from "./navigation.component";
|
|
55
|
-
import * as i14 from "./localization/calendar-localized-messages.directive";
|
|
56
|
-
import * as i15 from "./view-list.component";
|
|
57
53
|
const BOTTOM_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-bottomview';
|
|
58
54
|
const TOP_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-topview';
|
|
59
55
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-min';
|
|
@@ -1185,7 +1181,7 @@ export class CalendarComponent {
|
|
|
1185
1181
|
}
|
|
1186
1182
|
}
|
|
1187
1183
|
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1188
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, 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: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
1184
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
1189
1185
|
BusViewService,
|
|
1190
1186
|
CALENDAR_VALUE_ACCESSOR,
|
|
1191
1187
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -1317,7 +1313,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1317
1313
|
</kendo-multiviewcalendar-messages>
|
|
1318
1314
|
</kendo-multiviewcalendar>
|
|
1319
1315
|
</ng-container>
|
|
1320
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1316
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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 });
|
|
1321
1317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
1322
1318
|
type: Component,
|
|
1323
1319
|
args: [{
|
|
@@ -1457,7 +1453,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1457
1453
|
</kendo-multiviewcalendar-messages>
|
|
1458
1454
|
</kendo-multiviewcalendar>
|
|
1459
1455
|
</ng-container>
|
|
1460
|
-
|
|
1456
|
+
`,
|
|
1457
|
+
standalone: true,
|
|
1458
|
+
imports: [CalendarLocalizedMessagesDirective, NgIf, NavigationComponent, ViewListComponent, ResizeSensorComponent, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent]
|
|
1461
1459
|
}]
|
|
1462
1460
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.CalendarDOMService }, { type: i0.ElementRef }, { type: i3.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i4.ScrollSyncService }, { type: i5.DisabledDatesService }, { type: i6.LocalizationService }, { type: i7.SelectionService }, { type: i8.PickerService, decorators: [{
|
|
1463
1461
|
type: Optional
|
|
@@ -3,25 +3,31 @@
|
|
|
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 { IntlModule } from "@progress/kendo-angular-intl";
|
|
8
|
-
import { CalendarCommonModule } from "./calendar-common.module";
|
|
9
|
-
import { MultiViewCalendarModule } from './multiview-calendar.module';
|
|
10
|
-
import { TemplatesModule } from "./templates.module";
|
|
11
|
-
import { CalendarComponent } from "./calendar.component";
|
|
12
|
-
import { NavigationComponent } from "./navigation.component";
|
|
13
|
-
import { ViewListComponent } from "./view-list.component";
|
|
14
|
-
import { CalendarDOMService } from "./services/dom.service";
|
|
6
|
+
import { KENDO_CALENDAR } from "../directives";
|
|
15
7
|
import { CenturyViewService } from "./services/century-view.service";
|
|
16
8
|
import { DecadeViewService } from "./services/decade-view.service";
|
|
9
|
+
import { CalendarDOMService } from "./services/dom.service";
|
|
17
10
|
import { MonthViewService } from "./services/month-view.service";
|
|
18
|
-
import { YearViewService } from "./services/year-view.service";
|
|
19
11
|
import { WeekNamesService } from "./services/weeknames.service";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
12
|
+
import { YearViewService } from "./services/year-view.service";
|
|
13
|
+
import { IconsService } from "@progress/kendo-angular-icons";
|
|
14
|
+
import { PopupService } from "@progress/kendo-angular-popup";
|
|
15
|
+
import { NavigationService } from "./services/navigation.service";
|
|
16
|
+
import { ResizeBatchService } from "@progress/kendo-angular-common";
|
|
24
17
|
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
19
|
+
import * as i2 from "./calendar.component";
|
|
20
|
+
import * as i3 from "./templates/cell-template.directive";
|
|
21
|
+
import * as i4 from "./templates/century-cell-template.directive";
|
|
22
|
+
import * as i5 from "./templates/decade-cell-template.directive";
|
|
23
|
+
import * as i6 from "./templates/footer-template.directive";
|
|
24
|
+
import * as i7 from "./templates/header-template.directive";
|
|
25
|
+
import * as i8 from "./templates/header-title-template.directive";
|
|
26
|
+
import * as i9 from "./templates/month-cell-template.directive";
|
|
27
|
+
import * as i10 from "./templates/navigation-item-template.directive";
|
|
28
|
+
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
29
|
+
import * as i12 from "./templates/year-cell-template.directive";
|
|
30
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
25
31
|
/**
|
|
26
32
|
* The exported package module.
|
|
27
33
|
*
|
|
@@ -65,76 +71,35 @@ import * as i0 from "@angular/core";
|
|
|
65
71
|
export class CalendarModule {
|
|
66
72
|
}
|
|
67
73
|
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
-
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule,
|
|
69
|
-
NavigationComponent,
|
|
70
|
-
CalendarCustomMessagesComponent,
|
|
71
|
-
CalendarLocalizedMessagesDirective,
|
|
72
|
-
ViewListComponent], imports: [CommonModule,
|
|
73
|
-
CalendarCommonModule,
|
|
74
|
-
MultiViewCalendarModule,
|
|
75
|
-
IntlModule,
|
|
76
|
-
TemplatesModule,
|
|
77
|
-
VirtualizationModule,
|
|
78
|
-
EventsModule,
|
|
79
|
-
ResizeSensorModule], exports: [CalendarComponent,
|
|
80
|
-
NavigationComponent,
|
|
81
|
-
CalendarCustomMessagesComponent,
|
|
82
|
-
CalendarLocalizedMessagesDirective,
|
|
83
|
-
ViewListComponent,
|
|
84
|
-
CalendarCommonModule,
|
|
85
|
-
TemplatesModule] });
|
|
74
|
+
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, 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], 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] });
|
|
86
75
|
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
|
|
76
|
+
IconsService,
|
|
77
|
+
ResizeBatchService,
|
|
87
78
|
CalendarDOMService,
|
|
88
79
|
CenturyViewService,
|
|
89
80
|
DecadeViewService,
|
|
90
81
|
MonthViewService,
|
|
91
82
|
YearViewService,
|
|
92
|
-
WeekNamesService
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
IntlModule,
|
|
97
|
-
TemplatesModule,
|
|
98
|
-
VirtualizationModule,
|
|
99
|
-
EventsModule,
|
|
100
|
-
ResizeSensorModule, CalendarCommonModule,
|
|
101
|
-
TemplatesModule] });
|
|
83
|
+
WeekNamesService,
|
|
84
|
+
PopupService,
|
|
85
|
+
NavigationService
|
|
86
|
+
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent] });
|
|
102
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
|
|
103
88
|
type: NgModule,
|
|
104
89
|
args: [{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
NavigationComponent,
|
|
108
|
-
CalendarCustomMessagesComponent,
|
|
109
|
-
CalendarLocalizedMessagesDirective,
|
|
110
|
-
ViewListComponent
|
|
111
|
-
],
|
|
112
|
-
exports: [
|
|
113
|
-
CalendarComponent,
|
|
114
|
-
NavigationComponent,
|
|
115
|
-
CalendarCustomMessagesComponent,
|
|
116
|
-
CalendarLocalizedMessagesDirective,
|
|
117
|
-
ViewListComponent,
|
|
118
|
-
CalendarCommonModule,
|
|
119
|
-
TemplatesModule
|
|
120
|
-
],
|
|
121
|
-
imports: [
|
|
122
|
-
CommonModule,
|
|
123
|
-
CalendarCommonModule,
|
|
124
|
-
MultiViewCalendarModule,
|
|
125
|
-
IntlModule,
|
|
126
|
-
TemplatesModule,
|
|
127
|
-
VirtualizationModule,
|
|
128
|
-
EventsModule,
|
|
129
|
-
ResizeSensorModule
|
|
130
|
-
],
|
|
90
|
+
exports: [...KENDO_CALENDAR],
|
|
91
|
+
imports: [...KENDO_CALENDAR],
|
|
131
92
|
providers: [
|
|
93
|
+
IconsService,
|
|
94
|
+
ResizeBatchService,
|
|
132
95
|
CalendarDOMService,
|
|
133
96
|
CenturyViewService,
|
|
134
97
|
DecadeViewService,
|
|
135
98
|
MonthViewService,
|
|
136
99
|
YearViewService,
|
|
137
|
-
WeekNamesService
|
|
100
|
+
WeekNamesService,
|
|
101
|
+
PopupService,
|
|
102
|
+
NavigationService
|
|
138
103
|
]
|
|
139
104
|
}]
|
|
140
105
|
}] });
|
|
@@ -3,9 +3,33 @@
|
|
|
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 {
|
|
6
|
+
import { KENDO_MULTIVIEWCALENDAR, KENDO_CALENDAR } 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 './services/century-view.service';
|
|
11
|
+
import { DecadeViewService } from './services/decade-view.service';
|
|
12
|
+
import { CalendarDOMService } from './services/dom.service';
|
|
13
|
+
import { MonthViewService } from './services/month-view.service';
|
|
14
|
+
import { NavigationService } from './services/navigation.service';
|
|
15
|
+
import { WeekNamesService } from './services/weeknames.service';
|
|
16
|
+
import { YearViewService } from './services/year-view.service';
|
|
8
17
|
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
19
|
+
import * as i2 from "./calendar.component";
|
|
20
|
+
import * as i3 from "./templates/cell-template.directive";
|
|
21
|
+
import * as i4 from "./templates/century-cell-template.directive";
|
|
22
|
+
import * as i5 from "./templates/decade-cell-template.directive";
|
|
23
|
+
import * as i6 from "./templates/footer-template.directive";
|
|
24
|
+
import * as i7 from "./templates/header-template.directive";
|
|
25
|
+
import * as i8 from "./templates/header-title-template.directive";
|
|
26
|
+
import * as i9 from "./templates/month-cell-template.directive";
|
|
27
|
+
import * as i10 from "./templates/navigation-item-template.directive";
|
|
28
|
+
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
29
|
+
import * as i12 from "./templates/year-cell-template.directive";
|
|
30
|
+
import * as i13 from "./localization/multiview-calendar-custom-messages.component";
|
|
31
|
+
import * as i14 from "./multiview-calendar.component";
|
|
32
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
9
33
|
/**
|
|
10
34
|
* The exported package module.
|
|
11
35
|
*
|
|
@@ -43,22 +67,35 @@ import * as i0 from "@angular/core";
|
|
|
43
67
|
export class CalendarsModule {
|
|
44
68
|
}
|
|
45
69
|
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
70
|
+
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, 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], 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] });
|
|
71
|
+
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, providers: [
|
|
72
|
+
IconsService,
|
|
73
|
+
ResizeBatchService,
|
|
74
|
+
CalendarDOMService,
|
|
75
|
+
CenturyViewService,
|
|
76
|
+
DecadeViewService,
|
|
77
|
+
MonthViewService,
|
|
78
|
+
YearViewService,
|
|
79
|
+
WeekNamesService,
|
|
80
|
+
PopupService,
|
|
81
|
+
NavigationService
|
|
82
|
+
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent] });
|
|
52
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
53
84
|
type: NgModule,
|
|
54
85
|
args: [{
|
|
55
|
-
exports: [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
86
|
+
exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
87
|
+
imports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
88
|
+
providers: [
|
|
89
|
+
IconsService,
|
|
90
|
+
ResizeBatchService,
|
|
91
|
+
CalendarDOMService,
|
|
92
|
+
CenturyViewService,
|
|
93
|
+
DecadeViewService,
|
|
94
|
+
MonthViewService,
|
|
95
|
+
YearViewService,
|
|
96
|
+
WeekNamesService,
|
|
97
|
+
PopupService,
|
|
98
|
+
NavigationService
|
|
62
99
|
]
|
|
63
100
|
}]
|
|
64
101
|
}] });
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import { Component, HostBinding, Input, TemplateRef } from '@angular/core';
|
|
6
6
|
import { getToday } from '../util';
|
|
7
7
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
10
|
-
import * as i2 from "@angular/common";
|
|
11
|
-
import * as i3 from "@progress/kendo-angular-buttons";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
@@ -20,7 +20,7 @@ export class FooterComponent {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FooterComponent, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
|
|
23
|
+
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
|
24
24
|
<ng-template *ngIf="footerTemplateRef; else defaultRendering"
|
|
25
25
|
[ngTemplateOutlet]="footerTemplateRef"
|
|
26
26
|
[ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
|
|
@@ -35,7 +35,7 @@ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
35
35
|
{{intl.formatDate(getToday(), 'D')}}
|
|
36
36
|
</button>
|
|
37
37
|
</ng-template>
|
|
38
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
38
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{
|
|
@@ -55,7 +55,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
55
55
|
{{intl.formatDate(getToday(), 'D')}}
|
|
56
56
|
</button>
|
|
57
57
|
</ng-template>
|
|
58
|
-
|
|
58
|
+
`,
|
|
59
|
+
standalone: true,
|
|
60
|
+
imports: [NgIf, NgTemplateOutlet, ButtonComponent]
|
|
59
61
|
}]
|
|
60
62
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; }, propDecorators: { showFooter: [{
|
|
61
63
|
type: HostBinding,
|
|
@@ -85,10 +85,13 @@ export class KForOf {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
88
|
-
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: KForOf, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
88
|
+
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: KForOf, isStandalone: true, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, decorators: [{
|
|
90
90
|
type: Directive,
|
|
91
|
-
args: [{
|
|
91
|
+
args: [{
|
|
92
|
+
selector: '[kFor][kForOf]',
|
|
93
|
+
standalone: true
|
|
94
|
+
}]
|
|
92
95
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
|
|
93
96
|
type: Input
|
|
94
97
|
}], kForTrackBy: [{
|
|
@@ -13,14 +13,14 @@ import { BusViewService } from './services/bus-view.service';
|
|
|
13
13
|
import { DisabledDatesService } from './services/disabled-dates.service';
|
|
14
14
|
import { Subscription } from 'rxjs';
|
|
15
15
|
import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import { EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
17
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
18
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
16
19
|
import * as i0 from "@angular/core";
|
|
17
20
|
import * as i1 from "./services/bus-view.service";
|
|
18
21
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
19
22
|
import * as i3 from "@progress/kendo-angular-intl";
|
|
20
23
|
import * as i4 from "./services/disabled-dates.service";
|
|
21
|
-
import * as i5 from "@angular/common";
|
|
22
|
-
import * as i6 from "@progress/kendo-angular-common";
|
|
23
|
-
import * as i7 from "@progress/kendo-angular-buttons";
|
|
24
24
|
/**
|
|
25
25
|
* @hidden
|
|
26
26
|
*/
|
|
@@ -128,7 +128,7 @@ export class HeaderComponent {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i3.IntlService }, { token: i4.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
131
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeaderComponent, 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: `
|
|
131
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
|
132
132
|
<ng-template *ngIf="headerTemplateRef; else defaultRendering"
|
|
133
133
|
[ngTemplateOutlet]="headerTemplateRef"
|
|
134
134
|
[ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
|
|
@@ -209,7 +209,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
209
209
|
</button>
|
|
210
210
|
</span>
|
|
211
211
|
</ng-template>
|
|
212
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
212
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
213
213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
214
214
|
type: Component,
|
|
215
215
|
args: [{
|
|
@@ -295,7 +295,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
295
295
|
</button>
|
|
296
296
|
</span>
|
|
297
297
|
</ng-template>
|
|
298
|
-
|
|
298
|
+
`,
|
|
299
|
+
standalone: true,
|
|
300
|
+
imports: [NgIf, NgTemplateOutlet, ButtonComponent, EventsOutsideAngularDirective]
|
|
299
301
|
}]
|
|
300
302
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.LocalizationService }, { type: i3.IntlService }, { type: i4.DisabledDatesService }]; }, propDecorators: { activeView: [{
|
|
301
303
|
type: Input
|
|
@@ -14,13 +14,13 @@ import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
|
14
14
|
import { dateInRange, hasChange } from '../util';
|
|
15
15
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
16
16
|
import { attributeNames, isPresent } from '../common/utils';
|
|
17
|
+
import { KForOf } from './for.directive';
|
|
18
|
+
import { ViewComponent } from './view.component';
|
|
19
|
+
import { NgClass, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
|
|
17
20
|
import * as i0 from "@angular/core";
|
|
18
21
|
import * as i1 from "./services/bus-view.service";
|
|
19
22
|
import * as i2 from "@progress/kendo-angular-intl";
|
|
20
23
|
import * as i3 from "./services/weeknames.service";
|
|
21
|
-
import * as i4 from "@angular/common";
|
|
22
|
-
import * as i5 from "./for.directive";
|
|
23
|
-
import * as i6 from "./view.component";
|
|
24
24
|
const DEFAULT_VIEWS_LENGTH = 2;
|
|
25
25
|
/**
|
|
26
26
|
* @hidden
|
|
@@ -263,7 +263,7 @@ export class HorizontalViewListComponent {
|
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i3.WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
266
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
266
|
+
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, isStandalone: true, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
267
267
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
268
268
|
<table
|
|
269
269
|
[attr.role]="views >= 2 ? 'none' : 'grid'"
|
|
@@ -346,7 +346,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
346
346
|
}"
|
|
347
347
|
>
|
|
348
348
|
</ng-template>
|
|
349
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
349
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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 });
|
|
350
350
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
351
351
|
type: Component,
|
|
352
352
|
args: [{
|
|
@@ -435,7 +435,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
435
435
|
}"
|
|
436
436
|
>
|
|
437
437
|
</ng-template>
|
|
438
|
-
|
|
438
|
+
`,
|
|
439
|
+
standalone: true,
|
|
440
|
+
imports: [NgClass, NgIf, NgFor, ViewComponent, NgTemplateOutlet, KForOf]
|
|
439
441
|
}]
|
|
440
442
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i3.WeekNamesService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { handleMultiViewCalendarFocus: [{
|
|
441
443
|
type: HostListener,
|
|
@@ -20,7 +20,7 @@ export class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
CalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages", providers: [
|
|
23
|
+
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-calendar-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: CalendarMessages,
|
|
26
26
|
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-calendar-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
CalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
20
|
+
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: CalendarMessages,
|
|
23
23
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoCalendarLocalizedMessages]'
|
|
35
|
+
selector: '[kendoCalendarLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -20,7 +20,7 @@ export class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
23
|
+
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: Messages,
|
|
26
26
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-multiviewcalendar-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class MultiViewCalendarLocalizedMessagesDirective extends Messages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
20
|
+
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoMultiViewCalendarLocalizedMessages]'
|
|
35
|
+
selector: '[kendoMultiViewCalendarLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|