@progress/kendo-angular-dateinputs 21.4.1 → 22.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/localization/calendar-messages.d.ts +1 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
- package/dateinput/localization/messages.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +1 -1
- package/daterange/date-range-input.d.ts +1 -1
- package/daterange/localization/messages.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +262 -262
- package/package.json +15 -23
- package/timepicker/localization/messages.d.ts +1 -1
- package/esm2022/calendar/calendar.component.mjs +0 -1711
- package/esm2022/calendar/calendar.module.mjs +0 -91
- package/esm2022/calendar/calendars.module.mjs +0 -87
- package/esm2022/calendar/footer.component.mjs +0 -77
- package/esm2022/calendar/for.directive.mjs +0 -116
- package/esm2022/calendar/header.component.mjs +0 -367
- package/esm2022/calendar/horizontal-view-list.component.mjs +0 -580
- package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +0 -51
- package/esm2022/calendar/localization/calendar-localized-messages.directive.mjs +0 -39
- package/esm2022/calendar/localization/calendar-messages.mjs +0 -45
- package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +0 -51
- package/esm2022/calendar/localization/multiview-calendar-localized-messages.directive.mjs +0 -39
- package/esm2022/calendar/localization/multiview-calendar-messages.mjs +0 -45
- package/esm2022/calendar/models/cell-context.interface.mjs +0 -5
- package/esm2022/calendar/models/navigation-action.enum.mjs +0 -20
- package/esm2022/calendar/models/orientation.mjs +0 -5
- package/esm2022/calendar/models/row-length-options.interface.mjs +0 -5
- package/esm2022/calendar/models/scrollable.interface.mjs +0 -5
- package/esm2022/calendar/models/selection-range-end.type.mjs +0 -5
- package/esm2022/calendar/models/selection-range.interface.mjs +0 -10
- package/esm2022/calendar/models/selection.mjs +0 -50
- package/esm2022/calendar/models/type.mjs +0 -5
- package/esm2022/calendar/models/view-service.interface.mjs +0 -5
- package/esm2022/calendar/models/view.enum.mjs +0 -16
- package/esm2022/calendar/models/view.type.mjs +0 -5
- package/esm2022/calendar/multiview-calendar.component.mjs +0 -1564
- package/esm2022/calendar/multiview-calendar.module.mjs +0 -89
- package/esm2022/calendar/navigation.component.mjs +0 -230
- package/esm2022/calendar/services/bus-view.service.mjs +0 -83
- package/esm2022/calendar/services/century-view.service.mjs +0 -219
- package/esm2022/calendar/services/decade-view.service.mjs +0 -217
- package/esm2022/calendar/services/disabled-dates.service.mjs +0 -66
- package/esm2022/calendar/services/dom.service.mjs +0 -203
- package/esm2022/calendar/services/month-view.service.mjs +0 -223
- package/esm2022/calendar/services/navigation.service.mjs +0 -60
- package/esm2022/calendar/services/scroll-sync.service.mjs +0 -89
- package/esm2022/calendar/services/selection.service.mjs +0 -62
- package/esm2022/calendar/services/weeknames.service.mjs +0 -33
- package/esm2022/calendar/services/year-view.service.mjs +0 -204
- package/esm2022/calendar/templates/cell-template.directive.mjs +0 -45
- package/esm2022/calendar/templates/century-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/decade-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/footer-template.directive.mjs +0 -44
- package/esm2022/calendar/templates/header-template.directive.mjs +0 -47
- package/esm2022/calendar/templates/header-title-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/month-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/navigation-item-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/year-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/view-list.component.mjs +0 -497
- package/esm2022/calendar/view.component.mjs +0 -432
- package/esm2022/common/dom-queries.mjs +0 -24
- package/esm2022/common/models/fillmode.mjs +0 -5
- package/esm2022/common/models/rounded.mjs +0 -5
- package/esm2022/common/models/size.mjs +0 -5
- package/esm2022/common/models/week-days-format.mjs +0 -5
- package/esm2022/common/picker.service.mjs +0 -17
- package/esm2022/common/utils.mjs +0 -70
- package/esm2022/dateinput/arrow.enum.mjs +0 -13
- package/esm2022/dateinput/dateinput.component.mjs +0 -1196
- package/esm2022/dateinput/dateinput.module.mjs +0 -45
- package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +0 -60
- package/esm2022/dateinput/localization/dateinput-localized-messages.directive.mjs +0 -39
- package/esm2022/dateinput/localization/messages.mjs +0 -39
- package/esm2022/dateinput/models/format-placeholder.model.mjs +0 -5
- package/esm2022/dateinput/models/format-settings.model.mjs +0 -5
- package/esm2022/dateinput/models/incremental-steps.model.mjs +0 -5
- package/esm2022/dateinputs.module.mjs +0 -136
- package/esm2022/datepicker/datepicker.component.mjs +0 -1758
- package/esm2022/datepicker/datepicker.module.mjs +0 -83
- package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +0 -53
- package/esm2022/datepicker/localization/datepicker-localized-messages.directive.mjs +0 -39
- package/esm2022/datepicker/localization/messages.mjs +0 -63
- package/esm2022/daterange/auto-correct-on.type.mjs +0 -5
- package/esm2022/daterange/date-range-end-input.directive.mjs +0 -105
- package/esm2022/daterange/date-range-input.mjs +0 -138
- package/esm2022/daterange/date-range-popup-template.directive.mjs +0 -36
- package/esm2022/daterange/date-range-popup.component.mjs +0 -1051
- package/esm2022/daterange/date-range-selection.directive.mjs +0 -223
- package/esm2022/daterange/date-range-start-input.directive.mjs +0 -109
- package/esm2022/daterange/date-range.component.mjs +0 -116
- package/esm2022/daterange/date-range.module.mjs +0 -103
- package/esm2022/daterange/date-range.service.mjs +0 -225
- package/esm2022/daterange/localization/daterange-popup-custom-messages.component.mjs +0 -43
- package/esm2022/daterange/localization/daterange-popup-localized-messages.directive.mjs +0 -39
- package/esm2022/daterange/localization/messages.mjs +0 -51
- package/esm2022/datetimepicker/datetimepicker.component.mjs +0 -2505
- package/esm2022/datetimepicker/datetimepicker.module.mjs +0 -106
- package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +0 -52
- package/esm2022/datetimepicker/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/datetimepicker/localization/messages.mjs +0 -153
- package/esm2022/datetimepicker/models/active-tab.type.mjs +0 -5
- package/esm2022/defaults.mjs +0 -24
- package/esm2022/directives.mjs +0 -146
- package/esm2022/index.mjs +0 -78
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/popup-settings.model.mjs +0 -5
- package/esm2022/preventable-event.mjs +0 -27
- package/esm2022/progress-kendo-angular-dateinputs.mjs +0 -8
- package/esm2022/timepicker/localization/messages.mjs +0 -105
- package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +0 -54
- package/esm2022/timepicker/localization/timepicker-localized-messages.directive.mjs +0 -39
- package/esm2022/timepicker/localization/timeselector-custom-messages.component.mjs +0 -45
- package/esm2022/timepicker/localization/timeselector-localized-messages.directive.mjs +0 -39
- package/esm2022/timepicker/models/incremental-steps.model.mjs +0 -5
- package/esm2022/timepicker/models/list-item.interface.mjs +0 -5
- package/esm2022/timepicker/models/list-service-settings.mjs +0 -5
- package/esm2022/timepicker/models/list-service.interface.mjs +0 -5
- package/esm2022/timepicker/models/time-part.default.mjs +0 -14
- package/esm2022/timepicker/services/dayperiod.service.mjs +0 -131
- package/esm2022/timepicker/services/dom.service.mjs +0 -126
- package/esm2022/timepicker/services/hours.service.mjs +0 -130
- package/esm2022/timepicker/services/milliseconds.service.mjs +0 -131
- package/esm2022/timepicker/services/minutes.service.mjs +0 -128
- package/esm2022/timepicker/services/seconds.service.mjs +0 -128
- package/esm2022/timepicker/timelist.component.mjs +0 -388
- package/esm2022/timepicker/timepicker.component.mjs +0 -1598
- package/esm2022/timepicker/timepicker.module.mjs +0 -71
- package/esm2022/timepicker/timeselector.component.mjs +0 -728
- package/esm2022/timepicker/util.mjs +0 -70
- package/esm2022/util.mjs +0 -406
- package/esm2022/validators/disabled-date.validator.mjs +0 -18
- package/esm2022/validators/disabled-dates-range.validator.mjs +0 -26
- package/esm2022/validators/incomplete-date.validator.mjs +0 -18
- package/esm2022/validators/max.validator.mjs +0 -21
- package/esm2022/validators/min.validator.mjs +0 -21
- package/esm2022/validators/time-range.validator.mjs +0 -23
- package/esm2022/virtualization/models/scrollable.interface.mjs +0 -5
- package/esm2022/virtualization/services/row-height.service.mjs +0 -73
- package/esm2022/virtualization/services/scroller.service.mjs +0 -109
- package/esm2022/virtualization/virtualization.component.mjs +0 -324
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from "@angular/core";
|
|
6
|
-
import { KENDO_CALENDAR } from "../directives";
|
|
7
|
-
import { CenturyViewService } from "./services/century-view.service";
|
|
8
|
-
import { DecadeViewService } from "./services/decade-view.service";
|
|
9
|
-
import { CalendarDOMService } from "./services/dom.service";
|
|
10
|
-
import { MonthViewService } from "./services/month-view.service";
|
|
11
|
-
import { YearViewService } from "./services/year-view.service";
|
|
12
|
-
import { IconsService } from "@progress/kendo-angular-icons";
|
|
13
|
-
import { PopupService } from "@progress/kendo-angular-popup";
|
|
14
|
-
import { NavigationService } from "./services/navigation.service";
|
|
15
|
-
import { ResizeBatchService } from "@progress/kendo-angular-common";
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
18
|
-
import * as i2 from "./calendar.component";
|
|
19
|
-
import * as i3 from "./templates/cell-template.directive";
|
|
20
|
-
import * as i4 from "./templates/century-cell-template.directive";
|
|
21
|
-
import * as i5 from "./templates/decade-cell-template.directive";
|
|
22
|
-
import * as i6 from "./templates/footer-template.directive";
|
|
23
|
-
import * as i7 from "./templates/header-template.directive";
|
|
24
|
-
import * as i8 from "./templates/header-title-template.directive";
|
|
25
|
-
import * as i9 from "./templates/month-cell-template.directive";
|
|
26
|
-
import * as i10 from "./templates/navigation-item-template.directive";
|
|
27
|
-
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
28
|
-
import * as i12 from "./templates/year-cell-template.directive";
|
|
29
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
30
|
-
/**
|
|
31
|
-
* Required for adding all Calendar features in NgModule-based Angular applications.
|
|
32
|
-
*
|
|
33
|
-
* The package exports:
|
|
34
|
-
* - `CellTemplateDirective`—The month cell template directive.
|
|
35
|
-
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
36
|
-
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
37
|
-
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
38
|
-
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
39
|
-
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
40
|
-
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
41
|
-
* - `NavigationItemTemplateDirective`—The navigation item template directive.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
*
|
|
45
|
-
* ```typescript
|
|
46
|
-
* import { NgModule } from '@angular/core';
|
|
47
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
48
|
-
* import { CalendarModule } from '@progress/kendo-angular-dateinputs';
|
|
49
|
-
*
|
|
50
|
-
* @NgModule({
|
|
51
|
-
* imports: [
|
|
52
|
-
* BrowserModule,
|
|
53
|
-
* CalendarModule
|
|
54
|
-
* ]
|
|
55
|
-
* })
|
|
56
|
-
* export class AppModule { }
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
export class CalendarModule {
|
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
61
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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] });
|
|
62
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarModule, providers: [
|
|
63
|
-
IconsService,
|
|
64
|
-
ResizeBatchService,
|
|
65
|
-
CalendarDOMService,
|
|
66
|
-
CenturyViewService,
|
|
67
|
-
DecadeViewService,
|
|
68
|
-
MonthViewService,
|
|
69
|
-
YearViewService,
|
|
70
|
-
PopupService,
|
|
71
|
-
NavigationService
|
|
72
|
-
], imports: [i2.CalendarComponent] });
|
|
73
|
-
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarModule, decorators: [{
|
|
75
|
-
type: NgModule,
|
|
76
|
-
args: [{
|
|
77
|
-
exports: [...KENDO_CALENDAR],
|
|
78
|
-
imports: [...KENDO_CALENDAR],
|
|
79
|
-
providers: [
|
|
80
|
-
IconsService,
|
|
81
|
-
ResizeBatchService,
|
|
82
|
-
CalendarDOMService,
|
|
83
|
-
CenturyViewService,
|
|
84
|
-
DecadeViewService,
|
|
85
|
-
MonthViewService,
|
|
86
|
-
YearViewService,
|
|
87
|
-
PopupService,
|
|
88
|
-
NavigationService
|
|
89
|
-
]
|
|
90
|
-
}]
|
|
91
|
-
}] });
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
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 { YearViewService } from './services/year-view.service';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
18
|
-
import * as i2 from "./calendar.component";
|
|
19
|
-
import * as i3 from "./templates/cell-template.directive";
|
|
20
|
-
import * as i4 from "./templates/century-cell-template.directive";
|
|
21
|
-
import * as i5 from "./templates/decade-cell-template.directive";
|
|
22
|
-
import * as i6 from "./templates/footer-template.directive";
|
|
23
|
-
import * as i7 from "./templates/header-template.directive";
|
|
24
|
-
import * as i8 from "./templates/header-title-template.directive";
|
|
25
|
-
import * as i9 from "./templates/month-cell-template.directive";
|
|
26
|
-
import * as i10 from "./templates/navigation-item-template.directive";
|
|
27
|
-
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
28
|
-
import * as i12 from "./templates/year-cell-template.directive";
|
|
29
|
-
import * as i13 from "./localization/multiview-calendar-custom-messages.component";
|
|
30
|
-
import * as i14 from "./multiview-calendar.component";
|
|
31
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
32
|
-
/**
|
|
33
|
-
* Required for adding all Calendars features in NgModule-based Angular applications.
|
|
34
|
-
*
|
|
35
|
-
* The package exports:
|
|
36
|
-
* - `CalendarModule`—The calendar module.
|
|
37
|
-
* - `MultiViewCalendarModule`—The multi-view calendar module.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import { NgModule } from '@angular/core';
|
|
43
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
44
|
-
* import { CalendarsModule } from '@progress/kendo-angular-dateinputs';
|
|
45
|
-
*
|
|
46
|
-
* @NgModule({
|
|
47
|
-
* imports: [
|
|
48
|
-
* BrowserModule,
|
|
49
|
-
* CalendarsModule
|
|
50
|
-
* ]
|
|
51
|
-
* })
|
|
52
|
-
* export class AppModule { }
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
export class CalendarsModule {
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
57
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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] });
|
|
58
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarsModule, providers: [
|
|
59
|
-
IconsService,
|
|
60
|
-
ResizeBatchService,
|
|
61
|
-
CalendarDOMService,
|
|
62
|
-
CenturyViewService,
|
|
63
|
-
DecadeViewService,
|
|
64
|
-
MonthViewService,
|
|
65
|
-
YearViewService,
|
|
66
|
-
PopupService,
|
|
67
|
-
NavigationService
|
|
68
|
-
], imports: [i2.CalendarComponent, i14.MultiViewCalendarComponent] });
|
|
69
|
-
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
71
|
-
type: NgModule,
|
|
72
|
-
args: [{
|
|
73
|
-
exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
74
|
-
imports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
75
|
-
providers: [
|
|
76
|
-
IconsService,
|
|
77
|
-
ResizeBatchService,
|
|
78
|
-
CalendarDOMService,
|
|
79
|
-
CenturyViewService,
|
|
80
|
-
DecadeViewService,
|
|
81
|
-
MonthViewService,
|
|
82
|
-
YearViewService,
|
|
83
|
-
PopupService,
|
|
84
|
-
NavigationService
|
|
85
|
-
]
|
|
86
|
-
}]
|
|
87
|
-
}] });
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input, TemplateRef } from '@angular/core';
|
|
6
|
-
import { getToday } from '../util';
|
|
7
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
-
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@progress/kendo-angular-intl";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export class FooterComponent {
|
|
16
|
-
intl;
|
|
17
|
-
showFooter = true;
|
|
18
|
-
footerTemplateRef;
|
|
19
|
-
activeViewValue;
|
|
20
|
-
currentDate;
|
|
21
|
-
getToday = getToday;
|
|
22
|
-
constructor(intl) {
|
|
23
|
-
this.intl = intl;
|
|
24
|
-
}
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", 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: `
|
|
27
|
-
@if (footerTemplateRef) {
|
|
28
|
-
<ng-template
|
|
29
|
-
[ngTemplateOutlet]="footerTemplateRef"
|
|
30
|
-
[ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
|
|
31
|
-
</ng-template>
|
|
32
|
-
} @else {
|
|
33
|
-
<button kendoButton
|
|
34
|
-
fillMode="flat"
|
|
35
|
-
themeColor="primary"
|
|
36
|
-
class="k-calendar-nav-today"
|
|
37
|
-
type="button"
|
|
38
|
-
tabindex="-1">
|
|
39
|
-
{{intl.formatDate(getToday(), 'D')}}
|
|
40
|
-
</button>
|
|
41
|
-
}
|
|
42
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FooterComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: 'kendo-calendar-footer',
|
|
48
|
-
template: `
|
|
49
|
-
@if (footerTemplateRef) {
|
|
50
|
-
<ng-template
|
|
51
|
-
[ngTemplateOutlet]="footerTemplateRef"
|
|
52
|
-
[ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
|
|
53
|
-
</ng-template>
|
|
54
|
-
} @else {
|
|
55
|
-
<button kendoButton
|
|
56
|
-
fillMode="flat"
|
|
57
|
-
themeColor="primary"
|
|
58
|
-
class="k-calendar-nav-today"
|
|
59
|
-
type="button"
|
|
60
|
-
tabindex="-1">
|
|
61
|
-
{{intl.formatDate(getToday(), 'D')}}
|
|
62
|
-
</button>
|
|
63
|
-
}
|
|
64
|
-
`,
|
|
65
|
-
standalone: true,
|
|
66
|
-
imports: [NgTemplateOutlet, ButtonComponent]
|
|
67
|
-
}]
|
|
68
|
-
}], ctorParameters: () => [{ type: i1.IntlService }], propDecorators: { showFooter: [{
|
|
69
|
-
type: HostBinding,
|
|
70
|
-
args: ['class.k-calendar-footer']
|
|
71
|
-
}], footerTemplateRef: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], activeViewValue: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], currentDate: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}] } });
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input, IterableDiffers, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class KForOfContext {
|
|
12
|
-
$implicit;
|
|
13
|
-
kForOf;
|
|
14
|
-
index;
|
|
15
|
-
count;
|
|
16
|
-
constructor($implicit, kForOf, index, count) {
|
|
17
|
-
this.$implicit = $implicit;
|
|
18
|
-
this.kForOf = kForOf;
|
|
19
|
-
this.index = index;
|
|
20
|
-
this.count = count;
|
|
21
|
-
}
|
|
22
|
-
get first() { return this.index === 0; }
|
|
23
|
-
get last() { return this.index === this.count - 1; }
|
|
24
|
-
get even() { return this.index % 2 === 0; }
|
|
25
|
-
get odd() { return !this.even; }
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
// eslint-disable-next-line
|
|
31
|
-
export class KForOf {
|
|
32
|
-
_viewContainer;
|
|
33
|
-
_template;
|
|
34
|
-
_differs;
|
|
35
|
-
kForOf;
|
|
36
|
-
kForTrackBy;
|
|
37
|
-
_differ = null;
|
|
38
|
-
constructor(_viewContainer, _template, _differs) {
|
|
39
|
-
this._viewContainer = _viewContainer;
|
|
40
|
-
this._template = _template;
|
|
41
|
-
this._differs = _differs;
|
|
42
|
-
}
|
|
43
|
-
set kForTemplate(value) {
|
|
44
|
-
if (value) {
|
|
45
|
-
this._template = value;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges(changes) {
|
|
49
|
-
if ('kForOf' in changes) {
|
|
50
|
-
const value = changes['kForOf'].currentValue;
|
|
51
|
-
if (this._differ || !value) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
try {
|
|
55
|
-
this._differ = this._differs.find(value).create(this.kForTrackBy);
|
|
56
|
-
}
|
|
57
|
-
catch (_e) {
|
|
58
|
-
throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeNameForDebugging(value)}'.`);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
ngDoCheck() {
|
|
63
|
-
if (this._differ) {
|
|
64
|
-
const changes = this._differ.diff(this.kForOf);
|
|
65
|
-
if (changes) {
|
|
66
|
-
this._applyChanges(changes);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
_applyChanges(changes) {
|
|
71
|
-
if (!isDocumentAvailable()) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
const viewContainerLength = this._viewContainer.length;
|
|
75
|
-
const dataLength = this.kForOf.length;
|
|
76
|
-
const tuples = {};
|
|
77
|
-
changes.forEachOperation((record, _, currentIndex) => {
|
|
78
|
-
if (currentIndex !== null) {
|
|
79
|
-
tuples[currentIndex] = record.item;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
for (let i = viewContainerLength; i < dataLength; i++) {
|
|
83
|
-
this._viewContainer.createEmbeddedView(this._template, new KForOfContext(null, this.kForOf, -1, -1), i);
|
|
84
|
-
}
|
|
85
|
-
for (let i = this._viewContainer.length; i > dataLength; i--) {
|
|
86
|
-
this._viewContainer.remove(i - 1);
|
|
87
|
-
}
|
|
88
|
-
for (let i = 0; i < this._viewContainer.length; i++) {
|
|
89
|
-
const view = this._viewContainer.get(i);
|
|
90
|
-
view.context.index = i;
|
|
91
|
-
view.context.count = length;
|
|
92
|
-
view.context.$implicit = tuples[i] || null;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
96
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: KForOf, isStandalone: true, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
97
|
-
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KForOf, decorators: [{
|
|
99
|
-
type: Directive,
|
|
100
|
-
args: [{
|
|
101
|
-
selector: '[kFor][kForOf]',
|
|
102
|
-
standalone: true
|
|
103
|
-
}]
|
|
104
|
-
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }], propDecorators: { kForOf: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], kForTrackBy: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], kForTemplate: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}] } });
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
export function getTypeNameForDebugging(type) {
|
|
115
|
-
return type.name || typeof type;
|
|
116
|
-
}
|