@progress/kendo-angular-dateinputs 17.0.0-develop.9 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/calendar.component.d.ts +1 -1
- 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-messages.d.ts +1 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
- package/calendar/models/orientation.d.ts +1 -1
- package/calendar/models/selection-range-end.type.d.ts +1 -1
- package/calendar/models/selection.d.ts +1 -1
- package/calendar/models/type.d.ts +1 -1
- package/calendar/models/view.type.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +1 -1
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/week-days-format.d.ts +1 -1
- package/dateinput/dateinput.component.d.ts +2 -2
- package/dateinput/localization/messages.d.ts +1 -1
- package/dateinput/models/format-placeholder.model.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +1 -1
- package/daterange/auto-correct-on.type.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +86 -2
- 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/localization/messages.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +1 -1
- package/datetimepicker/models/active-tab.type.d.ts +1 -1
- package/{esm2020 → esm2022}/calendar/calendar.component.mjs +277 -167
- package/{esm2020 → esm2022}/calendar/calendar.module.mjs +14 -14
- package/{esm2020 → esm2022}/calendar/calendars.module.mjs +14 -14
- package/{esm2020 → esm2022}/calendar/footer.component.mjs +10 -6
- package/{esm2020 → esm2022}/calendar/for.directive.mjs +13 -4
- package/{esm2020 → esm2022}/calendar/header.component.mjs +46 -29
- package/{esm2020 → esm2022}/calendar/horizontal-view-list.component.mjs +63 -40
- package/{esm2020 → esm2022}/calendar/localization/calendar-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/calendar/localization/calendar-localized-messages.directive.mjs +9 -8
- package/{esm2020/calendar/localization/multiview-calendar-messages.mjs → esm2022/calendar/localization/calendar-messages.mjs} +21 -5
- package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-localized-messages.directive.mjs +9 -8
- package/esm2022/calendar/localization/multiview-calendar-messages.mjs +45 -0
- package/{esm2020 → esm2022}/calendar/multiview-calendar.component.mjs +300 -212
- package/{esm2020 → esm2022}/calendar/multiview-calendar.module.mjs +11 -11
- package/{esm2020 → esm2022}/calendar/navigation.component.mjs +34 -15
- package/{esm2020 → esm2022}/calendar/services/bus-view.service.mjs +8 -6
- package/{esm2020 → esm2022}/calendar/services/century-view.service.mjs +15 -17
- package/{esm2020 → esm2022}/calendar/services/decade-view.service.mjs +15 -17
- package/{esm2020 → esm2022}/calendar/services/disabled-dates.service.mjs +12 -14
- package/{esm2020 → esm2022}/calendar/services/dom.service.mjs +21 -3
- package/{esm2020 → esm2022}/calendar/services/month-view.service.mjs +16 -15
- package/{esm2020 → esm2022}/calendar/services/navigation.service.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/services/scroll-sync.service.mjs +11 -3
- package/{esm2020 → esm2022}/calendar/services/selection.service.mjs +5 -3
- package/{esm2020 → esm2022}/calendar/services/weeknames.service.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/services/year-view.service.mjs +16 -15
- package/{esm2020 → esm2022}/calendar/templates/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/century-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/decade-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/header-title-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/month-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/navigation-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/weeknumber-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/templates/year-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/calendar/view-list.component.mjs +68 -37
- package/{esm2020 → esm2022}/calendar/view.component.mjs +50 -24
- package/{esm2020 → esm2022}/common/picker.service.mjs +7 -6
- package/{esm2020 → esm2022}/dateinput/dateinput.component.mjs +282 -231
- package/{esm2020 → esm2022}/dateinput/dateinput.module.mjs +6 -6
- package/{esm2020 → esm2022}/dateinput/localization/dateinput-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/dateinput/localization/dateinput-localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/dateinput/localization/messages.mjs +15 -3
- package/{esm2020 → esm2022}/dateinputs.module.mjs +22 -22
- package/{esm2020 → esm2022}/datepicker/datepicker.component.mjs +403 -282
- package/{esm2020 → esm2022}/datepicker/datepicker.module.mjs +16 -16
- package/{esm2020 → esm2022}/datepicker/localization/datepicker-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/datepicker/localization/datepicker-localized-messages.directive.mjs +9 -8
- package/esm2022/datepicker/localization/messages.mjs +57 -0
- package/{esm2020 → esm2022}/daterange/date-range-end-input.directive.mjs +38 -28
- package/{esm2020 → esm2022}/daterange/date-range-input.mjs +19 -13
- package/{esm2020 → esm2022}/daterange/date-range-popup-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/daterange/date-range-popup.component.mjs +324 -87
- package/{esm2020 → esm2022}/daterange/date-range-selection.directive.mjs +41 -36
- package/{esm2020 → esm2022}/daterange/date-range-start-input.directive.mjs +40 -29
- package/{esm2020 → esm2022}/daterange/date-range.component.mjs +31 -14
- package/{esm2020 → esm2022}/daterange/date-range.module.mjs +16 -16
- package/{esm2020 → esm2022}/daterange/date-range.service.mjs +34 -33
- package/{esm2020 → esm2022}/daterange/localization/daterange-popup-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/daterange/localization/daterange-popup-localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/daterange/localization/messages.mjs +19 -3
- package/{esm2020 → esm2022}/datetimepicker/datetimepicker.component.mjs +390 -292
- package/{esm2020 → esm2022}/datetimepicker/datetimepicker.module.mjs +22 -22
- package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/datetimepicker/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/datetimepicker/localization/messages.mjs +147 -0
- package/{esm2020 → esm2022}/index.mjs +0 -1
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-event.mjs +2 -3
- package/esm2022/timepicker/localization/messages.mjs +99 -0
- package/{esm2020 → esm2022}/timepicker/localization/timepicker-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/timepicker/localization/timepicker-localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/timepicker/localization/timeselector-custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/timepicker/localization/timeselector-localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/timepicker/services/dayperiod.service.mjs +7 -3
- package/{esm2020 → esm2022}/timepicker/services/dom.service.mjs +7 -3
- package/{esm2020 → esm2022}/timepicker/services/hours.service.mjs +10 -5
- package/{esm2020 → esm2022}/timepicker/services/milliseconds.service.mjs +9 -4
- package/{esm2020 → esm2022}/timepicker/services/minutes.service.mjs +9 -4
- package/{esm2020 → esm2022}/timepicker/services/seconds.service.mjs +9 -4
- package/{esm2020 → esm2022}/timepicker/timelist.component.mjs +45 -27
- package/{esm2020 → esm2022}/timepicker/timepicker.component.mjs +301 -219
- package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +14 -14
- package/{esm2020 → esm2022}/timepicker/timeselector.component.mjs +96 -73
- package/{esm2020 → esm2022}/virtualization/services/row-height.service.mjs +5 -2
- package/{esm2020 → esm2022}/virtualization/services/scroller.service.mjs +14 -3
- package/{esm2020 → esm2022}/virtualization/virtualization.component.mjs +42 -28
- package/{fesm2020 → fesm2022}/progress-kendo-angular-dateinputs.mjs +3758 -2455
- package/index.d.ts +0 -1
- package/package.json +20 -26
- package/schematics/ngAdd/index.js +1 -1
- package/timepicker/localization/messages.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +2 -1
- package/timepicker/timeselector.component.d.ts +1 -1
- package/util.d.ts +1 -1
- package/virtualization/services/scroller.service.d.ts +2 -2
- package/virtualization/virtualization.component.d.ts +1 -1
- package/common/adaptive.module.d.ts +0 -18
- package/esm2020/calendar/localization/calendar-messages.mjs +0 -29
- package/esm2020/common/adaptive.module.mjs +0 -44
- package/esm2020/datepicker/localization/messages.mjs +0 -33
- package/esm2020/datetimepicker/localization/messages.mjs +0 -63
- package/esm2020/timepicker/localization/messages.mjs +0 -47
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +0 -19188
- /package/{esm2020 → esm2022}/calendar/models/cell-context.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/keydown.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/navigation-action.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/row-length-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/scrollable.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/selection-range-end.type.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/selection-range.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/selection.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/type.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/view-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/view.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/models/view.type.mjs +0 -0
- /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/week-days-format.mjs +0 -0
- /package/{esm2020 → esm2022}/common/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/dateinput/arrow.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/dateinput/models/format-placeholder.model.mjs +0 -0
- /package/{esm2020 → esm2022}/dateinput/models/format-settings.model.mjs +0 -0
- /package/{esm2020 → esm2022}/dateinput/models/incremental-steps.model.mjs +0 -0
- /package/{esm2020 → esm2022}/daterange/auto-correct-on.type.mjs +0 -0
- /package/{esm2020 → esm2022}/datetimepicker/models/active-tab.type.mjs +0 -0
- /package/{esm2020 → esm2022}/defaults.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/popup-settings.model.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-dateinputs.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/models/incremental-steps.model.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/models/list-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/models/list-service-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/models/list-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/models/time-part.default.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/util.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/disabled-date.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/disabled-dates-range.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/incomplete-date.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/max.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/min.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/time-range.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/virtualization/models/scrollable.interface.mjs +0 -0
|
@@ -38,29 +38,29 @@ import * as i12 from "../calendar/templates/year-cell-template.directive";
|
|
|
38
38
|
* definition for the DateTimePicker component.
|
|
39
39
|
*/
|
|
40
40
|
export class DateTimePickerModule {
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, imports: [i1.DateTimePickerCustomMessagesComponent, i2.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.DateTimePickerCustomMessagesComponent, i2.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
|
|
43
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
44
|
+
// CalendarModule providers
|
|
45
|
+
IconsService,
|
|
46
|
+
ResizeBatchService,
|
|
47
|
+
CalendarDOMService,
|
|
48
|
+
CenturyViewService,
|
|
49
|
+
DecadeViewService,
|
|
50
|
+
MonthViewService,
|
|
51
|
+
YearViewService,
|
|
52
|
+
PopupService,
|
|
53
|
+
NavigationService,
|
|
54
|
+
// TimePickerModule providers
|
|
55
|
+
TimePickerDOMService,
|
|
56
|
+
HoursService,
|
|
57
|
+
MinutesService,
|
|
58
|
+
SecondsService,
|
|
59
|
+
MillisecondsService,
|
|
60
|
+
DayPeriodService,
|
|
61
|
+
], imports: [i2.DateTimePickerComponent] });
|
|
41
62
|
}
|
|
42
|
-
|
|
43
|
-
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, imports: [i1.DateTimePickerCustomMessagesComponent, i2.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.DateTimePickerCustomMessagesComponent, i2.DateTimePickerComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
|
|
44
|
-
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
45
|
-
// CalendarModule providers
|
|
46
|
-
IconsService,
|
|
47
|
-
ResizeBatchService,
|
|
48
|
-
CalendarDOMService,
|
|
49
|
-
CenturyViewService,
|
|
50
|
-
DecadeViewService,
|
|
51
|
-
MonthViewService,
|
|
52
|
-
YearViewService,
|
|
53
|
-
PopupService,
|
|
54
|
-
NavigationService,
|
|
55
|
-
// TimePickerModule providers
|
|
56
|
-
TimePickerDOMService,
|
|
57
|
-
HoursService,
|
|
58
|
-
MinutesService,
|
|
59
|
-
SecondsService,
|
|
60
|
-
MillisecondsService,
|
|
61
|
-
DayPeriodService,
|
|
62
|
-
], imports: [i1.DateTimePickerCustomMessagesComponent, i2.DateTimePickerComponent] });
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
exports: [...KENDO_DATETIMEPICKER],
|
package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs
RENAMED
|
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
12
|
*/
|
|
13
13
|
export class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
@@ -18,15 +19,15 @@ export class DateTimePickerCustomMessagesComponent extends DateTimePickerMessage
|
|
|
18
19
|
get override() {
|
|
19
20
|
return true;
|
|
20
21
|
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateTimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datetimepicker-messages", providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: DateTimePickerMessages,
|
|
26
|
+
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
27
|
+
}
|
|
28
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
21
29
|
}
|
|
22
|
-
|
|
23
|
-
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datetimepicker-messages", providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: DateTimePickerMessages,
|
|
26
|
-
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
27
|
-
}
|
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
30
31
|
type: Component,
|
|
31
32
|
args: [{
|
|
32
33
|
providers: [
|
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: DateTimePickerMessages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: DateTimePickerMessages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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 } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class DateTimePickerMessages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The title of the **Toggle** button of the DateTimePicker.
|
|
14
|
+
*/
|
|
15
|
+
toggle;
|
|
16
|
+
/**
|
|
17
|
+
* The text of the **Date** tab in the popup header of the DateTimePicker.
|
|
18
|
+
*/
|
|
19
|
+
dateTab;
|
|
20
|
+
/**
|
|
21
|
+
* The label of the **Date** tab in the popup header of the DateTimePicker.
|
|
22
|
+
*/
|
|
23
|
+
dateTabLabel;
|
|
24
|
+
/**
|
|
25
|
+
* The text of the **Time** tab in the popup header of the DateTimePicker.
|
|
26
|
+
*/
|
|
27
|
+
timeTab;
|
|
28
|
+
/**
|
|
29
|
+
* The label of the **Time** tab in the popup header of the DateTimePicker.
|
|
30
|
+
*/
|
|
31
|
+
timeTabLabel;
|
|
32
|
+
/**
|
|
33
|
+
* The text of the **Accept** button in the popup footer of the DateTimePicker.
|
|
34
|
+
*/
|
|
35
|
+
accept;
|
|
36
|
+
/**
|
|
37
|
+
* The label of the **Accept** button in the popup footer of the DateTimePicker.
|
|
38
|
+
*/
|
|
39
|
+
acceptLabel;
|
|
40
|
+
/**
|
|
41
|
+
* The text of the **Cancel** button in the popup footer of the DateTimePicker.
|
|
42
|
+
*/
|
|
43
|
+
cancel;
|
|
44
|
+
/**
|
|
45
|
+
* The label of the **Cancel** button in the popup footer of the DateTimePicker.
|
|
46
|
+
*/
|
|
47
|
+
cancelLabel;
|
|
48
|
+
/**
|
|
49
|
+
* The **Today** button text in the header of the Calendar.
|
|
50
|
+
*/
|
|
51
|
+
today;
|
|
52
|
+
/**
|
|
53
|
+
* The text of the **Now** button in the popup header of the TimePicker.
|
|
54
|
+
*/
|
|
55
|
+
now;
|
|
56
|
+
/**
|
|
57
|
+
* The label of the **Now** button in the popup header of the TimePicker.
|
|
58
|
+
*/
|
|
59
|
+
nowLabel;
|
|
60
|
+
/**
|
|
61
|
+
* The title of the **Prev** button in the header of the Classic Calendar.
|
|
62
|
+
*/
|
|
63
|
+
prevButtonTitle;
|
|
64
|
+
/**
|
|
65
|
+
* The title of the **Next** button in the header of the Classic Calendar.
|
|
66
|
+
*/
|
|
67
|
+
nextButtonTitle;
|
|
68
|
+
/**
|
|
69
|
+
* The title of the **Parent View** button in the header of the Calendar.
|
|
70
|
+
*/
|
|
71
|
+
parentViewButtonTitle;
|
|
72
|
+
/**
|
|
73
|
+
* The label of the **Hour** part in the TimePicker.
|
|
74
|
+
*/
|
|
75
|
+
hour;
|
|
76
|
+
/**
|
|
77
|
+
* The label of the **Minute** part in the TimePicker.
|
|
78
|
+
*/
|
|
79
|
+
minute;
|
|
80
|
+
/**
|
|
81
|
+
* The label of the **Second** part in the TimePicker.
|
|
82
|
+
*/
|
|
83
|
+
second;
|
|
84
|
+
/**
|
|
85
|
+
* The label of the **Millisecond** part in the TimePicker.
|
|
86
|
+
*/
|
|
87
|
+
millisecond;
|
|
88
|
+
/**
|
|
89
|
+
* The label of the **Dayperiod** part in the TimePicker.
|
|
90
|
+
*/
|
|
91
|
+
dayperiod;
|
|
92
|
+
/**
|
|
93
|
+
* The title of the **Clear** button of the DateTimePicker.
|
|
94
|
+
*/
|
|
95
|
+
clearTitle;
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
97
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateTimePickerMessages, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
98
|
+
}
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
100
|
+
type: Directive,
|
|
101
|
+
args: [{
|
|
102
|
+
// eslint-disable-next-line
|
|
103
|
+
selector: 'kendo-datetimepicker-messages-base'
|
|
104
|
+
}]
|
|
105
|
+
}], propDecorators: { toggle: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], dateTab: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], dateTabLabel: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], timeTab: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], timeTabLabel: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], accept: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], acceptLabel: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], cancel: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], cancelLabel: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], today: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], now: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], nowLabel: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], prevButtonTitle: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], nextButtonTitle: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], parentViewButtonTitle: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], hour: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], minute: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], second: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], millisecond: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], dayperiod: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], clearTitle: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}] } });
|
|
@@ -74,6 +74,5 @@ export { LocalizedMessagesDirective } from './datetimepicker/localization/locali
|
|
|
74
74
|
export { DateTimePickerCustomMessagesComponent } from './datetimepicker/localization/datetimepicker-custom-messages.component';
|
|
75
75
|
export { DateRangePopupCustomMessagesComponent } from './daterange/localization/daterange-popup-custom-messages.component';
|
|
76
76
|
export { DateRangePopupLocalizedMessagesDirective } from './daterange/localization/daterange-popup-localized-messages.directive';
|
|
77
|
-
export { AdaptiveModule } from './common/adaptive.module';
|
|
78
77
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
79
78
|
export * from './directives';
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '17.0.0
|
|
12
|
+
publishDate: 1731414029,
|
|
13
|
+
version: '17.0.0',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* A preventable event instance which is triggered by the `open` and `close` events.
|
|
7
7
|
*/
|
|
8
8
|
export class PreventableEvent {
|
|
9
|
+
prevented = false;
|
|
9
10
|
/** @hidden */
|
|
10
|
-
constructor() {
|
|
11
|
-
this.prevented = false;
|
|
12
|
-
}
|
|
11
|
+
constructor() { }
|
|
13
12
|
/**
|
|
14
13
|
* Prevents the default action for a specified event.
|
|
15
14
|
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 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 } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class TimePickerMessages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The text of the **Accept** button in the popup footer of the TimeList.
|
|
14
|
+
*/
|
|
15
|
+
accept;
|
|
16
|
+
/**
|
|
17
|
+
* The label of the **Accept** button in the popup footer of the TimeList.
|
|
18
|
+
*/
|
|
19
|
+
acceptLabel;
|
|
20
|
+
/**
|
|
21
|
+
* The text of the **Cancel** button in the popup footer of the TimeList.
|
|
22
|
+
*/
|
|
23
|
+
cancel;
|
|
24
|
+
/**
|
|
25
|
+
* The label of the **Cancel** button in the popup footer of the TimeList.
|
|
26
|
+
*/
|
|
27
|
+
cancelLabel;
|
|
28
|
+
/**
|
|
29
|
+
* The text of the **Now** button in the popup header of the TimeList.
|
|
30
|
+
*/
|
|
31
|
+
now;
|
|
32
|
+
/**
|
|
33
|
+
* The label of the **Now** button in the popup header of the TimeList.
|
|
34
|
+
*/
|
|
35
|
+
nowLabel;
|
|
36
|
+
/**
|
|
37
|
+
* The title of the **Toggle** button of the TimePicker.
|
|
38
|
+
*/
|
|
39
|
+
toggle;
|
|
40
|
+
/**
|
|
41
|
+
* The label of the **Hour** part in the TimePicker.
|
|
42
|
+
*/
|
|
43
|
+
hour;
|
|
44
|
+
/**
|
|
45
|
+
* The label of the **Minute** part in the TimePicker.
|
|
46
|
+
*/
|
|
47
|
+
minute;
|
|
48
|
+
/**
|
|
49
|
+
* The label of the **Second** part in the TimePicker.
|
|
50
|
+
*/
|
|
51
|
+
second;
|
|
52
|
+
/**
|
|
53
|
+
* The label of the **Millisecond** part in the TimePicker.
|
|
54
|
+
*/
|
|
55
|
+
millisecond;
|
|
56
|
+
/**
|
|
57
|
+
* The label of the **Dayperiod** part in the TimePicker.
|
|
58
|
+
*/
|
|
59
|
+
dayperiod;
|
|
60
|
+
/**
|
|
61
|
+
* The title of the **Clear** button of the TimePicker.
|
|
62
|
+
*/
|
|
63
|
+
clearTitle;
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimePickerMessages, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
66
|
+
}
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
68
|
+
type: Directive,
|
|
69
|
+
args: [{
|
|
70
|
+
// eslint-disable-next-line
|
|
71
|
+
selector: 'kendo-timepicker-messages-base'
|
|
72
|
+
}]
|
|
73
|
+
}], propDecorators: { accept: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], acceptLabel: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], cancel: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], cancelLabel: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], now: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], nowLabel: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], toggle: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], hour: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], minute: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], second: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], millisecond: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], dayperiod: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], clearTitle: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}] } });
|
package/{esm2020 → esm2022}/timepicker/localization/timepicker-custom-messages.component.mjs
RENAMED
|
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
12
|
*/
|
|
13
13
|
export class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
@@ -18,15 +19,15 @@ export class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
|
18
19
|
get override() {
|
|
19
20
|
return true;
|
|
20
21
|
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-timepicker-messages", providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: TimePickerMessages,
|
|
26
|
+
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
27
|
+
}
|
|
28
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
21
29
|
}
|
|
22
|
-
|
|
23
|
-
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-timepicker-messages", providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: TimePickerMessages,
|
|
26
|
-
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
27
|
-
}
|
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
30
31
|
type: Component,
|
|
31
32
|
args: [{
|
|
32
33
|
providers: [
|
package/{esm2020 → esm2022}/timepicker/localization/timepicker-localized-messages.directive.mjs
RENAMED
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: TimePickerMessages,
|
|
23
|
+
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: TimePickerMessages,
|
|
23
|
-
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
package/{esm2020 → esm2022}/timepicker/localization/timeselector-custom-messages.component.mjs
RENAMED
|
@@ -13,6 +13,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
13
13
|
* Custom component messages override default component messages.
|
|
14
14
|
*/
|
|
15
15
|
export class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
16
|
+
service;
|
|
16
17
|
constructor(service) {
|
|
17
18
|
super();
|
|
18
19
|
this.service = service;
|
|
@@ -20,15 +21,15 @@ export class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
|
20
21
|
get override() {
|
|
21
22
|
return true;
|
|
22
23
|
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeSelectorCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimeSelectorCustomMessagesComponent, isStandalone: true, selector: "kendo-timeselector-messages", providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: TimePickerMessages,
|
|
28
|
+
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
29
|
+
}
|
|
30
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorCustomMessagesComponent, isStandalone: true, selector: "kendo-timeselector-messages", providers: [
|
|
26
|
-
{
|
|
27
|
-
provide: TimePickerMessages,
|
|
28
|
-
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
29
|
-
}
|
|
30
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
32
33
|
type: Component,
|
|
33
34
|
args: [{
|
|
34
35
|
providers: [
|
package/{esm2020 → esm2022}/timepicker/localization/timeselector-localized-messages.directive.mjs
RENAMED
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimeSelectorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: TimePickerMessages,
|
|
23
|
+
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: TimePickerMessages,
|
|
23
|
-
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -20,6 +20,10 @@ const inReverseRange = (value, min, max) => ((!min && !max) || value >= min || v
|
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
|
22
22
|
export class DayPeriodService {
|
|
23
|
+
intl;
|
|
24
|
+
min;
|
|
25
|
+
max;
|
|
26
|
+
part;
|
|
23
27
|
constructor(intl) {
|
|
24
28
|
this.intl = intl;
|
|
25
29
|
}
|
|
@@ -116,10 +120,10 @@ export class DayPeriodService {
|
|
|
116
120
|
Math.max(minHour, maxHour)
|
|
117
121
|
];
|
|
118
122
|
}
|
|
123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
124
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayPeriodService, providedIn: 'root' });
|
|
119
125
|
}
|
|
120
|
-
|
|
121
|
-
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, providedIn: 'root' });
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
123
127
|
type: Injectable,
|
|
124
128
|
args: [{
|
|
125
129
|
providedIn: 'root'
|
|
@@ -40,6 +40,10 @@ const timeListWrapper = (isAdaptiveEnabled = false, windowSize, isDateTimePicker
|
|
|
40
40
|
* @hidden
|
|
41
41
|
*/
|
|
42
42
|
export class TimePickerDOMService {
|
|
43
|
+
itemHeight;
|
|
44
|
+
timeListHeight;
|
|
45
|
+
isAdaptiveEnabled;
|
|
46
|
+
isDateTimePicker;
|
|
43
47
|
get windowSize() {
|
|
44
48
|
return windowSize();
|
|
45
49
|
}
|
|
@@ -74,10 +78,10 @@ export class TimePickerDOMService {
|
|
|
74
78
|
}
|
|
75
79
|
return (element.nativeElement || element) === document.activeElement;
|
|
76
80
|
}
|
|
81
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
82
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerDOMService, providedIn: 'root' });
|
|
77
83
|
}
|
|
78
|
-
|
|
79
|
-
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, providedIn: 'root' });
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
81
85
|
type: Injectable,
|
|
82
86
|
args: [{
|
|
83
87
|
providedIn: 'root'
|
|
@@ -24,10 +24,15 @@ const limitUp = limit(HOURS_IN_DAY - 1);
|
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
26
|
export class HoursService {
|
|
27
|
+
intl;
|
|
28
|
+
boundRange = false;
|
|
29
|
+
insertUndividedMax = false;
|
|
30
|
+
min;
|
|
31
|
+
max;
|
|
32
|
+
step;
|
|
33
|
+
toListItem;
|
|
27
34
|
constructor(intl) {
|
|
28
35
|
this.intl = intl;
|
|
29
|
-
this.boundRange = false;
|
|
30
|
-
this.insertUndividedMax = false;
|
|
31
36
|
}
|
|
32
37
|
apply(value, candidate) {
|
|
33
38
|
return setHours(value, candidate.getHours());
|
|
@@ -114,10 +119,10 @@ export class HoursService {
|
|
|
114
119
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
115
120
|
return [min.getHours(), max.getHours()];
|
|
116
121
|
}
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
123
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HoursService, providedIn: 'root' });
|
|
117
124
|
}
|
|
118
|
-
|
|
119
|
-
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, providedIn: 'root' });
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, decorators: [{
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HoursService, decorators: [{
|
|
121
126
|
type: Injectable,
|
|
122
127
|
args: [{
|
|
123
128
|
providedIn: 'root'
|
|
@@ -27,9 +27,14 @@ const limitUp = limit(MILLISECONDS_IN_SECOND - 1);
|
|
|
27
27
|
* @hidden
|
|
28
28
|
*/
|
|
29
29
|
export class MillisecondsService {
|
|
30
|
+
intl;
|
|
31
|
+
toListItem;
|
|
32
|
+
min;
|
|
33
|
+
max;
|
|
34
|
+
step;
|
|
35
|
+
insertUndividedMax = false;
|
|
30
36
|
constructor(intl) {
|
|
31
37
|
this.intl = intl;
|
|
32
|
-
this.insertUndividedMax = false;
|
|
33
38
|
}
|
|
34
39
|
apply(value, candidate) {
|
|
35
40
|
return setMilliseconds(value, candidate.getMilliseconds());
|
|
@@ -115,10 +120,10 @@ export class MillisecondsService {
|
|
|
115
120
|
const [min, max] = this.limitRange(this.min, this.max, value);
|
|
116
121
|
return [min.getMilliseconds(), max.getMilliseconds()];
|
|
117
122
|
}
|
|
123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
124
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MillisecondsService, providedIn: 'root' });
|
|
118
125
|
}
|
|
119
|
-
|
|
120
|
-
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, providedIn: 'root' });
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
122
127
|
type: Injectable,
|
|
123
128
|
args: [{
|
|
124
129
|
providedIn: 'root'
|